Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

vet error: set declared but not used #309

Open
eclipseo opened this issue May 8, 2019 · 1 comment
Open

vet error: set declared but not used #309

eclipseo opened this issue May 8, 2019 · 1 comment
Assignees

Comments

@eclipseo
Copy link

eclipseo commented May 8, 2019

Go 1.12.2, on Fedora Rawhide, x86_64, opengcs v0.3.9:

Testing    in: /builddir/build/BUILD/opengcs-0.3.9/_build/src
         PATH: /builddir/build/BUILD/opengcs-0.3.9/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/opengcs-0.3.9/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/Microsoft/opengcs/version=0.3.9 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/Microsoft/opengcs
github.com/Microsoft/opengcs/service/gcs/bridge
# github.com/Microsoft/opengcs/service/gcs/bridge
vet: ./bridge_unit_test.go:149:6: set declared but not used
FAIL	github.com/Microsoft/opengcs/service/gcs/bridge [build failed]
@eclipseo
Copy link
Author

eclipseo commented May 8, 2019

Testing    in: /builddir/build/BUILD/opengcs-0.3.9/_build/src
         PATH: /builddir/build/BUILD/opengcs-0.3.9/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/opengcs-0.3.9/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/Microsoft/opengcs/version=0.3.9 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/Microsoft/opengcs
github.com/Microsoft/opengcs/service/gcs/core/gcs
# github.com/Microsoft/opengcs/service/gcs/core/gcs
vet: ./gcs_test.go:754:6: pid declared but not used
FAIL	github.com/Microsoft/opengcs/service/gcs/core/gcs [build failed]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants