The gapicgen/genbot build is currently broken (log) and may continue to encounter the type of error shown below until we have dropped support for older versions of Go (< 1.17 ?). Until then, we should consider including the go version flags suggested below in our builds as needed.
[cloud.google.com/go/accessapproval/apiv1](http://cloud.google.com/go/accessapproval/apiv1) imports
[google.golang.org/grpc/codes](https://www.google.com/url?q=http://google.golang.org/grpc/codes&sa=D) tested by
[google.golang.org/grpc/codes.test](https://www.google.com/url?q=http://google.golang.org/grpc/codes.test&sa=D) imports
[google.golang.org/genproto/googleapis/rpc/code](https://www.google.com/url?q=http://google.golang.org/genproto/googleapis/rpc/code&sa=D) loaded from [google.golang.org/genproto@v0.0.0-20220920201722-2b89144ce006](https://www.google.com/url?q=http://google.golang.org/genproto@v0.0.0-20220920201722-2b89144ce006&sa=D),
but go 1.16 would select v0.0.0-20220926220553-6981cbe3cfce
To upgrade to the versions selected by go 1.16:
go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
[https://golang.org/doc/modules/pruning](https://www.google.com/url?q=https://golang.org/doc/modules/pruning&sa=D)
error generating gapics (may need to check logs for more errors): exit status 1
exit status 1
The
gapicgen/genbot
build is currently broken (log) and may continue to encounter the type of error shown below until we have dropped support for older versions of Go (< 1.17 ?). Until then, we should consider including the go version flags suggested below in our builds as needed.