DiagnosticsError codes
M0106 go.mod not tidy
go.mod or go.sum lists modules the build does not need, or lacks ones it does.
M0105 known vulnerability
The program calls code of a module version with a known vulnerability (from the Go vulnerability database).
M0107 cross build failure
The module builds for this platform but not for another one it is checked for: a file with a build tag or a platform name is missing a function or uses one that does not exist there.