The error must be elsewhere in the go infrastructure, possibly in the dh go addon (dh-golang) which generates "go test" for dh_auto_test.
This doesn't seem to be a bug in the package. It just declares "vet" as
a cli.Command in build.go.