upgrade to go1.22 #2364
Annotations
1 error and 1 warning
Analyze (go)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/2.16.4-v2.16.4/x64/codeql/go/tools/autobuild.sh with arguments .
Exit code 1 and error was:
2024/03/16 17:58:33 Autobuilder was built with go1.22.0, environment has go1.21.8
2024/03/16 17:58:33 LGTM_SRC is /home/runner/work/release/release
2024/03/16 17:58:33 Found no go.work files in the workspace; looking for go.mod files...
2024/03/16 17:58:33 Found 2 go.mod file(s).
go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
2024/03/16 17:58:33 Running /usr/bin/go [go mod tidy -e] failed, continuing anyway: exit status 1
2024/03/16 17:58:33 Failed to run `go mod tidy -e` in .
2024/03/16 17:58:33 Makefile found.
2024/03/16 17:58:33 Trying build command make []
2024/03/16 17:58:33 Warning: go list command failed, output below:
stdout:
stderr:
go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
2024/03/16 17:58:33 Running extractor command '/opt/hostedtoolcache/CodeQL/2.16.4-v2.16.4/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'.
2024/03/16 17:58:33 Build flags: ''; patterns: './...'
2024/03/16 17:58:33 Running packages.Load.
2024/03/16 17:58:33 Error running go tooling: err: exit status 1: stderr: go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
2024/03/16 17:58:33 Extraction failed for .: exit status 1
go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
2024/03/16 17:58:33 Running /usr/bin/go [go mod tidy -e] failed, continuing anyway: exit status 1
2024/03/16 17:58:33 Failed to run `go mod tidy -e` in images/build/go-runner
2024/03/16 17:58:33 Makefile found.
2024/03/16 17:58:33 Trying build command make []
2024/03/16 17:58:33 Warning: go list command failed, output below:
stdout:
stderr:
go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
2024/03/16 17:58:33 Running extractor command '/opt/hostedtoolcache/CodeQL/2.16.4-v2.16.4/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory 'images/build/go-runner'.
2024/03/16 17:58:33 Build flags: ''; patterns: './...'
2024/03/16 17:58:33 Running packages.Load.
2024/03/16 17:58:33 Error running go tooling: err: exit status 1: stderr: go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
2024/03/16 17:58:33 Extraction failed for images/build/go-runner: exit status 1
2024/03/16 17:58:33 Extraction failed for all discovered Go projects.
|
Analyze (go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a, github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|