We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.14.3/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/09/08 21:36:51 Autobuilder was built with go1.20.7, environment has go1.20.7
2023/09/08 21:36:51 LGTM_SRC is /home/runner/work/kubelet-summary-exporter/kubelet-summary-exporter
2023/09/08 21:36:51 Found go.mod, enabling go modules
go: errors parsing go.mod:
/home/runner/work/kubelet-summary-exporter/kubelet-summary-exporter/go.mod:5: unknown directive: toolchain
2023/09/08 21:36:51 Running /usr/bin/go failed, continuing anyway: exit status 1
2023/09/08 21:36:51 Failed to run `go mod tidy -e`
2023/09/08 21:36:51 Import path is 'github.com/salesforce/kubelet-summary-exporter'
2023/09/08 21:36:51 Makefile found.
2023/09/08 21:36:51 Trying build command make []
go: errors parsing go.mod:
/home/runner/work/kubelet-summary-exporter/kubelet-summary-exporter/go.mod:5: unknown directive: toolchain
make: *** [Makefile:11: install] Error 1
2023/09/08 21:36:51 Running /usr/bin/make failed, continuing anyway: exit status 2
2023/09/08 21:36:51 Build failed, continuing to install dependencies.
2023/09/08 21:36:51 Installing dependencies using `go get -v ./...` in `.`.
go: errors parsing go.mod:
/home/runner/work/kubelet-summary-exporter/kubelet-summary-exporter/go.mod:5: unknown directive: toolchain
2023/09/08 21:36:51 Running /usr/bin/go failed, continuing anyway: exit status 1
2023/09/08 21:36:51 Running extractor command '/opt/hostedtoolcache/CodeQL/2.14.3/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'.
2023/09/08 21:36:51 Build flags: ''; patterns: './...'
2023/09/08 21:36:51 Running packages.Load.
2023/09/08 21:36:51 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod:
/home/runner/work/kubelet-summary-exporter/kubelet-summary-exporter/go.mod:5: unknown directive: toolchain
2023/09/08 21:36:51 Extraction failed: exit status 1