Skip to content

Instantly share code, notes, and snippets.

@majormoses
Created December 15, 2016 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save majormoses/a02045af0099fe201975ed293f9178a0 to your computer and use it in GitHub Desktop.
Save majormoses/a02045af0099fe201975ed293f9178a0 to your computer and use it in GitHub Desktop.
Issues compiling v0.8.1
$ git checkout v0.8.1
Note: checking out 'v0.8.1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at a54c347... v0.8.1
$ make
==> Checking that code complies with gofmt requirements...
==> Checking AWS provider for unchecked errors...
==> NOTE: at this time we only look for uncheck errors in the AWS package
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/15 15:24:31 Generated command/internal_plugin_list.go
TF_ACC= go test $(go list ./... | grep -v '/terraform/vendor/' | grep -v '/builtin/bins/') -timeout=30s -parallel=4
ok github.com/hashicorp/terraform 0.011s
ok github.com/hashicorp/terraform/builtin/providers/archive 0.035s
ok github.com/hashicorp/terraform/builtin/providers/atlas 0.009s
ok github.com/hashicorp/terraform/builtin/providers/aws 1.622s
ok github.com/hashicorp/terraform/builtin/providers/azure 0.030s
ok github.com/hashicorp/terraform/builtin/providers/azurerm 6.448s
ok github.com/hashicorp/terraform/builtin/providers/bitbucket 0.006s
ok github.com/hashicorp/terraform/builtin/providers/chef 0.006s
ok github.com/hashicorp/terraform/builtin/providers/clc 0.006s
ok github.com/hashicorp/terraform/builtin/providers/cloudflare 0.029s
ok github.com/hashicorp/terraform/builtin/providers/cloudstack 0.010s
ok github.com/hashicorp/terraform/builtin/providers/cobbler 0.050s
ok github.com/hashicorp/terraform/builtin/providers/consul 0.026s
ok github.com/hashicorp/terraform/builtin/providers/datadog 0.018s
ok github.com/hashicorp/terraform/builtin/providers/digitalocean 0.017s
ok github.com/hashicorp/terraform/builtin/providers/dme 0.017s
ok github.com/hashicorp/terraform/builtin/providers/dnsimple 0.040s
ok github.com/hashicorp/terraform/builtin/providers/docker 0.040s
ok github.com/hashicorp/terraform/builtin/providers/dyn 0.021s
ok github.com/hashicorp/terraform/builtin/providers/external 0.334s
? github.com/hashicorp/terraform/builtin/providers/external/test-programs/tf-acc-external-data-source [no test files]
ok github.com/hashicorp/terraform/builtin/providers/fastly 0.018s
ok github.com/hashicorp/terraform/builtin/providers/github 0.038s
ok github.com/hashicorp/terraform/builtin/providers/google 0.032s
ok github.com/hashicorp/terraform/builtin/providers/grafana 0.032s
ok github.com/hashicorp/terraform/builtin/providers/heroku 0.031s
ok github.com/hashicorp/terraform/builtin/providers/icinga2 0.008s
ok github.com/hashicorp/terraform/builtin/providers/influxdb 0.014s
ok github.com/hashicorp/terraform/builtin/providers/librato 0.030s
ok github.com/hashicorp/terraform/builtin/providers/logentries 0.007s
? github.com/hashicorp/terraform/builtin/providers/logentries/expect [no test files]
ok github.com/hashicorp/terraform/builtin/providers/mailgun 0.033s
ok github.com/hashicorp/terraform/builtin/providers/mysql 0.014s
ok github.com/hashicorp/terraform/builtin/providers/nomad 0.008s
ok github.com/hashicorp/terraform/builtin/providers/null 0.006s
ok github.com/hashicorp/terraform/builtin/providers/openstack 0.018s
ok github.com/hashicorp/terraform/builtin/providers/packet 0.008s
ok github.com/hashicorp/terraform/builtin/providers/pagerduty 0.009s
ok github.com/hashicorp/terraform/builtin/providers/postgresql 0.007s
ok github.com/hashicorp/terraform/builtin/providers/powerdns 0.014s
ok github.com/hashicorp/terraform/builtin/providers/rabbitmq 0.028s
ok github.com/hashicorp/terraform/builtin/providers/rancher 0.016s
ok github.com/hashicorp/terraform/builtin/providers/random 0.012s
ok github.com/hashicorp/terraform/builtin/providers/rundeck 0.050s
ok github.com/hashicorp/terraform/builtin/providers/scaleway 0.007s
ok github.com/hashicorp/terraform/builtin/providers/softlayer 0.006s
ok github.com/hashicorp/terraform/builtin/providers/statuscake 0.012s
ok github.com/hashicorp/terraform/builtin/providers/template 0.194s
ok github.com/hashicorp/terraform/builtin/providers/terraform 0.049s
ok github.com/hashicorp/terraform/builtin/providers/test 0.500s
ok github.com/hashicorp/terraform/builtin/providers/tls 0.014s
ok github.com/hashicorp/terraform/builtin/providers/triton 0.006s
ok github.com/hashicorp/terraform/builtin/providers/ultradns 0.006s
ok github.com/hashicorp/terraform/builtin/providers/vault 0.006s
ok github.com/hashicorp/terraform/builtin/providers/vcd 0.005s
ok github.com/hashicorp/terraform/builtin/providers/vsphere 0.030s
ok github.com/hashicorp/terraform/builtin/provisioners/chef 0.013s
ok github.com/hashicorp/terraform/builtin/provisioners/file 0.032s
ok github.com/hashicorp/terraform/builtin/provisioners/local-exec 0.048s
ok github.com/hashicorp/terraform/builtin/provisioners/remote-exec 0.006s
ok github.com/hashicorp/terraform/command 0.582s
ok github.com/hashicorp/terraform/communicator 0.025s
ok github.com/hashicorp/terraform/communicator/remote 0.003s
ok github.com/hashicorp/terraform/communicator/shared 0.013s
ok github.com/hashicorp/terraform/communicator/ssh 0.024s
ok github.com/hashicorp/terraform/communicator/winrm 0.035s
ok github.com/hashicorp/terraform/config 0.093s
ok github.com/hashicorp/terraform/config/module 0.036s
ok github.com/hashicorp/terraform/dag 0.006s
ok github.com/hashicorp/terraform/digraph 0.019s
ok github.com/hashicorp/terraform/flatmap 0.020s
? github.com/hashicorp/terraform/helper/acctest [no test files]
ok github.com/hashicorp/terraform/helper/config 0.026s
? github.com/hashicorp/terraform/helper/copy [no test files]
ok github.com/hashicorp/terraform/helper/diff 0.009s
? github.com/hashicorp/terraform/helper/encryption [no test files]
ok github.com/hashicorp/terraform/helper/experiment 0.038s
ok github.com/hashicorp/terraform/helper/hashcode 0.004s
? github.com/hashicorp/terraform/helper/hilmapstructure [no test files]
? github.com/hashicorp/terraform/helper/logging [no test files]
ok github.com/hashicorp/terraform/helper/mutexkv 0.080s
ok github.com/hashicorp/terraform/helper/pathorcontents 0.006s
ok github.com/hashicorp/terraform/helper/resource 1.945s
ok github.com/hashicorp/terraform/helper/schema 0.049s
ok github.com/hashicorp/terraform/helper/shadow 0.225s
ok github.com/hashicorp/terraform/helper/signalwrapper 0.041s
ok github.com/hashicorp/terraform/helper/validation 0.006s
ok github.com/hashicorp/terraform/helper/variables 0.034s
? github.com/hashicorp/terraform/helper/wrappedreadline [no test files]
? github.com/hashicorp/terraform/helper/wrappedstreams [no test files]
ok github.com/hashicorp/terraform/plugin 0.067s
ok github.com/hashicorp/terraform/repl 0.023s
ok github.com/hashicorp/terraform/scripts 0.995s
ok github.com/hashicorp/terraform/state 0.019s
ok github.com/hashicorp/terraform/state/remote 1.233s
ok github.com/hashicorp/terraform/terraform 2.050s
go tool vet -all .
panic: inconsistent import:
func errors.New(text string) error
previously imported as:
func errors.New(text string) error
[recovered]
panic: inconsistent import:
func errors.New(text string) error
previously imported as:
func errors.New(text string) error
goroutine 1 [running]:
panic(0x674b20, 0xc4241d9680)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
go/types.(*Checker).handleBailout(0xc4200bb340, 0xc4200c93d8)
/usr/local/go/src/go/types/check.go:213 +0xae
panic(0x674b20, 0xc4241d9680)
/usr/local/go/src/runtime/panic.go:458 +0x243
go/internal/gcimporter.(*importer).declare(0xc422789040, 0x7f6180, 0xc42186bdb0)
/usr/local/go/src/go/internal/gcimporter/bimport.go:175 +0x17c
go/internal/gcimporter.(*importer).obj(0xc422789040, 0xfffffffffffffffb)
/usr/local/go/src/go/internal/gcimporter/bimport.go:203 +0x4a2
go/internal/gcimporter.BImportData(0xc420011080, 0xc4241ea000, 0xb54, 0xe00, 0xc421d30131, 0x6, 0x0, 0x6, 0x10, 0x10)
/usr/local/go/src/go/internal/gcimporter/bimport.go:88 +0x390
go/internal/gcimporter.Import(0xc420011080, 0xc421d30131, 0x6, 0xc420f1f7d0, 0x15, 0xc4201d0820, 0x0, 0x0)
/usr/local/go/src/go/internal/gcimporter/gcimporter.go:166 +0x551
go/importer.gcimports.ImportFrom(0xc420011080, 0xc421d30131, 0x6, 0xc420f1f7d0, 0x15, 0x0, 0x0, 0x1, 0x0)
/usr/local/go/src/go/importer/importer.go:70 +0x67
go/types.(*Checker).collectObjects(0xc4200bb340)
/usr/local/go/src/go/types/resolver.go:191 +0x826
go/types.(*Checker).checkFiles(0xc4200bb340, 0xc423b42000, 0x260, 0x400, 0x0, 0x0)
/usr/local/go/src/go/types/check.go:225 +0xaa
go/types.(*Checker).Files(0xc4200bb340, 0xc423b42000, 0x260, 0x400, 0xc4241de7b0, 0xc4200c9450)
/usr/local/go/src/go/types/check.go:218 +0x49
go/types.(*Config).Check(0xc4241dd380, 0xc421d30100, 0x3, 0xc422614980, 0xc423b42000, 0x260, 0x400, 0xc42186b1d0, 0x40, 0xc4200001a0, ...)
/usr/local/go/src/go/types/api.go:344 +0x1a3
main.(*Package).check(0xc4213f07e0, 0xc422614980, 0xc423b42000, 0x260, 0x400, 0x0, 0xc42419f380)
/usr/local/go/src/cmd/vet/types.go:76 +0x370
main.doPackage(0xc421da7800, 0x15, 0xc421a66900, 0x260, 0x290, 0x0, 0x0)
/usr/local/go/src/cmd/vet/main.go:336 +0x999
main.doPackageDir(0xc421da7800, 0x15)
/usr/local/go/src/cmd/vet/main.go:284 +0x606
main.visit(0xc421da7800, 0x15, 0x7f54a0, 0xc421e35930, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/vet/main.go:371 +0xf3
path/filepath.walk(0xc421da7800, 0x15, 0x7f54a0, 0xc421e35930, 0x6f79a0, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:351 +0x81
path/filepath.walk(0xc42224cec0, 0x11, 0x7f54a0, 0xc42225a820, 0x6f79a0, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:376 +0x344
path/filepath.walk(0x7ffcf3eb89bf, 0x8, 0x7f54a0, 0xc42015c5b0, 0x6f79a0, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:376 +0x344
path/filepath.Walk(0x7ffcf3eb89bf, 0x8, 0x6f79a0, 0x0, 0x0)
/usr/local/go/src/path/filepath/path.go:398 +0xd5
main.walkDir(0x7ffcf3eb89bf, 0x8)
/usr/local/go/src/cmd/vet/main.go:386 +0x41
main.main()
/usr/local/go/src/cmd/vet/main.go:240 +0x2cb
Vet found suspicious constructs. Please check the reported constructs
and fix them if necessary before submitting the code for review.
Makefile:77: recipe for target 'vet' failed
make: *** [vet] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment