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.15.1/x64/codeql/go/tools/autobuild.sh with arguments .
Exit code 1 and error was:
2023/10/26 23:46:00 Autobuilder was built with go1.21.1, environment has go1.20.10
2023/10/26 23:46:00 LGTM_SRC is /home/runner/work/fulcio/fulcio
2023/10/26 23:46:00 Found go.mod, enabling go modules
go: errors parsing go.mod:
/home/runner/work/fulcio/fulcio/go.mod:5: unknown directive: toolchain
2023/10/26 23:46:00 Running /usr/bin/go failed, continuing anyway: exit status 1
2023/10/26 23:46:00 Failed to run `go mod tidy -e`
2023/10/26 23:46:00 Import path is 'github.com/sigstore/fulcio'
2023/10/26 23:46:00 Makefile found.
2023/10/26 23:46:00 Trying build command make []
go: downloading google.golang.org/protobuf v1.31.0
go: downloading google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
go: downloading google.golang.org/grpc v1.58.3
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0
go: downloading github.com/golang/glog v1.1.0
go: downloading golang.org/x/text v0.13.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97
go: downloading github.com/googleapis/api-linter v1.59.0
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/jhump/protoreflect v1.15.3
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/spf13/pflag v1.0.5
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/bmatcuk/doublestar/v4 v4.6.0
go: downloading github.com/bufbuild/protocompile v0.6.0
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading bitbucket.org/creachadair/stringset v0.0.11
go: downloading github.com/stoewer/go-strcase v1.3.0
go: downloading github.com/gertd/go-pluralize v0.2.1
go: downloading golang.org/x/sync v0.3.0
go: downloading cloud.google.com/go/longrunning v0.5.2
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13
go: downloading golang.org/x/net v0.17.0
go: downloading golang.org/x/sys v0.13.0
/usr/bin/bash: line 1: protoc: command not found
make: *** [Makefile:59: pkg/generated/protobuf/%.go] Error 127
2023/10/26 23:46:58 Running /usr/bin/make failed, continuing anyway: exit status 2
2023/10/26 23:46:58 Build failed, continuing to install dependencies.
2023/10/26 23:46:58 Installing dependencies using `go get -v ./...` in `.`.
go: errors parsing go.mod:
/home/runner/work/fulcio/fulcio/go.mod:5: unknown directive: toolchain
2023/10/26 23:46:58 Running /usr/bin/go failed, continuing anyway: exit status 1
2023/10/26 23:46:58 Running extractor command '/opt/hostedtoolcache/CodeQL/2.15.1/x64/codeql/go/tools/linux64/go-extractor [./...]' from directory '.'.
2023/10/26 23:46:59 Build flags: ''; patterns: './...'
2023/10/26 23:46:59 Running packages.Load.
2023/10/26 23:46:59 Error running go tooling: err: exit status 1: stderr: go: errors parsing go.mod:
/home/runner/work/fulcio/fulcio/go.mod:5: unknown directive: toolchain
2023/10/26 23:46:59 Extraction failed: exit status 1