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.5/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and error was: 2023/09/23 02:19:01 Autobuilder was built with go1.20.7, environment has go1.20.8
2023/09/23 02:19:01 LGTM_SRC is /home/runner/work/liqo/liqo
2023/09/23 02:19:01 Found go.mod, enabling go modules
go: errors parsing go.mod:
/home/runner/work/liqo/liqo/go.mod:3: invalid go version '1.21.0': must match format 1.23
2023/09/23 02:19:01 Running /usr/bin/go failed, continuing anyway: exit status 1
2023/09/23 02:19:01 Failed to run `go mod tidy -e`
2023/09/23 02:19:01 Import path is 'github.com/liqotech/liqo'
2023/09/23 02:19:01 Makefile found.
2023/09/23 02:19:01 Trying build command make []
go: downloading sigs.k8s.io/controller-tools v0.13.0
go: downloading github.com/spf13/cobra v1.7.0
go: downloading github.com/gobuffalo/flect v1.0.2
go: downloading k8s.io/apiextensions-apiserver v0.28.0
go: downloading k8s.io/apimachinery v0.28.0
go: downloading golang.org/x/tools v0.12.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/fatih/color v1.15.0
go: downloading k8s.io/api v0.28.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading k8s.io/utils v0.0.0-20230406110748-d93618cff8a2
go: downloading github.com/google/gofuzz v1.2.0
go: downloading k8s.io/klog/v2 v2.100.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.17
go: downloading golang.org/x/sys v0.11.0
go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/go-logr/logr v1.2.4
go: downloading github.com/json-iterator/go v1.1.12
go: downloading golang.org/x/mod v0.12.0
go: downloading golang.org/x/net v0.14.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading golang.org/x/text v0.12.0
Error: load packages in root "/home/runner/work/liqo/liqo/apis": err: exit status 1: stderr: go: errors parsing go.mod:
/home/runner/work/liqo/liqo/go.mod:3: invalid go version '1.21.0': must match format 1.23
Usage:
controller-gen [flags]
Examples:
# Generate RBAC manifests and crds for all types under apis/,
# outputting crds to /tmp/crds and everything else to stdout
controller-gen rbac:roleName=<role name> crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
# Generate deepcopy/runtime.Object implementations for a particular file
controller-gen object paths=./apis/v1beta1/some_types.go
# Generate OpenAPI v3 schemas for API packages and merge them into existing CRD manifests
controller-gen schemapatch:manifests=./manifests output:dir=./manifests paths=./pkg/apis/...
# Run all the generators for a given project
controller-gen paths=./apis/...
# Explain the markers for generating CRDs, and their arguments
controller-gen crd -ww
Flags:
-h, --detailed-help count print out more detailed help
(up to -hhh for the most detailed output, or -hhhh for json output)
--help print out usage and a summary of options
--version show version
-w, --which-markers count print out all markers available with the requested generators
(up to -www for the most detailed output, or -wwww for json output)
Options
generators
+webhook[:headerFile=<string>][,year=<string>] package generates (partial) {Mutating,Validating}WebhookConfiguration objects.
+schemapatch[:generateEmbeddedObjectMeta=<bool>],manifests=<string>[,ma