gobusybox has issues resolving modules, e.g. when building containerd:
20:50:51 INFO Build environment: GOARCH=amd64 GOOS=linux GOPATH=/home/dama/go CGO_ENABLED=0 GO111MODULE= GOROOT=/home/dama/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.26.2.linux-amd64 PATH=/home/dama/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.26.2.linux-amd64/bin
20:50:51 WARN You are not using one of the recommended Go versions (have = go1.26.2, recommended = [go1.20 go1.21 go1.22]).
Some packages may not compile.
Go to https://golang.org/doc/install to find out how to install a newer version of Go,
or use https://godoc.org/golang.org/dl/go1.20 to install an additional version of Go.
20:50:58 ERROR Preserving temp dir due to busybox build error
20:50:58 INFO Keeping temp dir /tmp/u-root2758998734
20:50:58 ERROR mkuimage error: error building: gobusybox build failed: collecting and putting dependencies in place failed: writing package google.golang.org/genproto/googleapis/rpc/status failed: /home/dama/go/pkg/mod/github.com/containerd/ttrpc@v1.2.8/request.pb.go:10:2: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules:
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 (/home/dama/go/pkg/mod/google.golang.org/genproto@v0.0.0-20230410155749-daa745c078e1/googleapis/rpc/status)
google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 (/home/dama/go/pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20260401024825-9d38bb4040a9/status)
exit status 1
gobusybox has issues resolving modules, e.g. when building containerd: