acelyc111 opened a new issue, #1296:
URL: https://github.com/apache/incubator-pegasus/issues/1296

   The error shows:
   ```
     Running [/home/runner/golangci-lint-1.29.0-linux-amd64/golangci-lint run 
--out-format=github-actions --path-prefix=./admin-cli] in 
[/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli] ...
     level=warning msg="[runner] Can't run linter goanalysis_metalinter: 
bodyclose: failed prerequisites: 
[[email protected]/apache/incubator-pegasus/admin-cli/util: analysis skipped: 
errors in package: 
[/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:23:2:
 could not import fmt 
(/opt/hostedtoolcache/go/1.18.9/x64/src/fmt/errors.go:7:8: could not import 
errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could not 
import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool)))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:24:2:
 could not import reflect 
(/opt/hostedtoolcache/go/1.18.9/x64/src/reflect/abi.go:8:2: could not import 
internal/abi (/opt/hostedtoolcache/go/1.18.9/x6
 4/src/internal/abi/abi.go:8:2: could not import internal/goarch (-: could not 
load export data: cannot import \"internal/goarch\" (unknown iexport format 
version 2), export data is newer version - update tool))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:25:2:
 could not import sort 
(/opt/hostedtoolcache/go/1.18.9/x64/src/sort/slice_go113.go:10:8: could not 
import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:[26](https://github.com/apache/incubator-pegasus/actions/runs/3694633499/jobs/6256052995#step:3:28):2:
 could not import strconv 
(/opt/hostedtoolcache/go/1.18.9/x64/src/strconv/atof.go:13:8: could not import 
math (/opt/hostedt
 oolcache/go/1.18.9/x64/src/math/exp_amd64.go:9:8: could not import 
internal/cpu (-: could not load export data: cannot import \"internal/cpu\" 
(unknown iexport format version 2), export data is newer version - update 
tool))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:[27](https://github.com/apache/incubator-pegasus/actions/runs/3694633499/jobs/6256052995#step:3:29):2:
 could not import strings 
(/opt/hostedtoolcache/go/1.18.9/x64/src/strings/builder.go:8:2: could not 
import unicode/utf8 (-: could not load export data: cannot import 
\"unicode/utf8\" (unknown iexport format version 2), export data is newer 
version - update tool)) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:28:2:
 could not import time 
(/opt/hostedtoolcache/go/1.18.9/x64/src/time/format.go:7:8: could not import 
errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could not 
import internal/reflectlite (/opt/hostedtoolcache/go/1
 .18.9/x64/src/internal/reflectlite/swapper.go:8:2: could not import 
internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool)))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:30:2:
 could not import github.com/apache/incubator-pegasus/go-client/idl/base 
(/home/runner/go/pkg/mod/github.com/apache/incubator-pegasus/[email protected]/idl/base/blob.go:23:2:
 could not import fmt 
(/opt/hostedtoolcache/go/1.18.9/x64/src/fmt/errors.go:7:8: could not import 
errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could not 
import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool))))) /home/runn
 
er/work/incubator-pegasus/incubator-pegasus/admin-cli/util/http_client.go:23:2: 
could not import context 
(/opt/hostedtoolcache/go/1.18.9/x64/src/context/context.go:51:2: could not 
import errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could 
not import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool)))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/http_client.go:25:2:
 could not import sync 
(/opt/hostedtoolcache/go/1.18.9/x64/src/sync/cond.go:8:2: could not import 
sync/atomic (/opt/hostedtoolcache/go/1.18.9/x64/src/sync/atomic/value.go:17:4: 
undeclared name: any)) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/http_client.go:28:2:
 could not import github.com/go-resty/resty/v2 (/home/runner/go/pkg/
 mod/github.com/go-resty/resty/[email protected]/client.go:8:2: could not import bytes 
(/opt/hostedtoolcache/go/1.18.9/x64/src/bytes/buffer.go:10:2: could not import 
errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could not 
import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool))))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/pegasus_node.go:24:2:
 could not import net 
(/opt/hostedtoolcache/go/1.18.9/x64/src/net/addrselect.go:11:8: could not 
import sort (/opt/hostedtoolcache/go/1.18.9/x64/src/sort/slice_go113.go:10:8: 
could not import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch
 \" (unknown iexport format version 2), export data is newer version - update 
tool)))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/pegasus_node.go:29:2:
 could not import github.com/apache/incubator-pegasus/go-client/session 
(/home/runner/go/pkg/mod/github.com/apache/incubator-pegasus/[email protected]/session/addr.go:23:2:
 could not import fmt 
(/opt/hostedtoolcache/go/1.18.9/x64/src/fmt/errors.go:7:8: could not import 
errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could not 
import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool))))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/pegasus_node.go:30:2:
 could not import github.com/pegasus-kv/collector/aggregate (/home/ru
 
nner/go/pkg/mod/github.com/pegasus-kv/[email protected]/aggregate/aggregator.go:4:2:
 could not import fmt 
(/opt/hostedtoolcache/go/1.18.9/x64/src/fmt/errors.go:7:8: could not import 
errors (/opt/hostedtoolcache/go/1.18.9/x64/src/errors/wrap.go:8:2: could not 
import internal/reflectlite 
(/opt/hostedtoolcache/go/1.18.9/x64/src/internal/reflectlite/swapper.go:8:2: 
could not import internal/goarch (-: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool))))) 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/common_utils.go:66:2:
 missing return 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/http_client.go:70:15:
 undeclared name: resty 
/home/runner/work/incubator-pegasus/incubator-pegasus/admin-cli/util/http_client.go:28:2:
 \"github.com/go-resty/resty/v2\" imported but not used]]"
     level=warning msg="[runner] Can't run linter unused: buildir: failed to 
load package goarch: could not load export data: cannot import 
\"internal/goarch\" (unknown iexport format version 2), export data is newer 
version - update tool"
     level=error msg="Running error: buildir: failed to load package goarch: 
could not load export data: cannot import \"internal/goarch\" (unknown iexport 
format version 2), export data is newer version - update tool"
     
     Error: golangci-lint exit with code 3
     Ran golangci-lint in 
212[28](https://github.com/apache/incubator-pegasus/actions/runs/3694633499/jobs/6256052995#step:3:30)ms
   ```
   
   Link: 
https://github.com/apache/incubator-pegasus/actions/runs/3694633499/jobs/6256052995


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to