I think the key part of the help you are showing is
when in module mode. This will only happen when you are working on code outside of GOPATH or if you have set the
GO111MODULE=on environment variable so I think you have this set in your local environment but not the build server.
More information about enabling module support is here: