Skip to content

Instantly share code, notes, and snippets.

@VineetReynolds
Created December 21, 2016 09: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 VineetReynolds/c109809b60ead73055266010ffce04aa to your computer and use it in GitHub Desktop.
Save VineetReynolds/c109809b60ead73055266010ffce04aa to your computer and use it in GitHub Desktop.
failed to compile tested package feature:
WORK=/var/folders/b0/3v0rtks95fq_8p681jy91q540000gn/T/go-build081828163
# github.com/golang
./nonauthorized_test.go:75: cannot use "github.com/goadesign/goa/client".HTTPClientDoer(http.DefaultClient) (type "github.com/goadesign/goa/client".Doer) as type "github.com/almighty/almighty-core/vendor/github.com/goadesign/goa/client".Doer in argument to "github.com/almighty/almighty-core/client".New:
"github.com/goadesign/goa/client".Doer does not implement "github.com/almighty/almighty-core/vendor/github.com/goadesign/goa/client".Doer (wrong type for Do method)
have Do("golang.org/x/net/context".Context, *http.Request) (*http.Response, error)
want Do("github.com/almighty/almighty-core/vendor/golang.org/x/net/context".Context, *http.Request) (*http.Response, error)
./nonauthorized_test.go:170: cannot use "github.com/goadesign/goa/client".HTTPClientDoer(http.DefaultClient) (type "github.com/goadesign/goa/client".Doer) as type "github.com/almighty/almighty-core/vendor/github.com/goadesign/goa/client".Doer in argument to "github.com/almighty/almighty-core/client".New:
"github.com/goadesign/goa/client".Doer does not implement "github.com/almighty/almighty-core/vendor/github.com/goadesign/goa/client".Doer (wrong type for Do method)
have Do("golang.org/x/net/context".Context, *http.Request) (*http.Response, error)
want Do("github.com/almighty/almighty-core/vendor/golang.org/x/net/context".Context, *http.Request) (*http.Response, error)
./status_test.go:20: api redeclared in this block
previous declaration at ./nonauthorized_test.go:38
./status_test.go:27: savedToken redeclared in this block
previous declaration at ./nonauthorized_test.go:55
./status_test.go:29: (*api).newScenario redeclared in this block
previous declaration at ./nonauthorized_test.go:71
./status_test.go:37: createPayload redeclared in this block
previous declaration at ./nonauthorized_test.go:80
./status_test.go:49: (*api).iSendRequestTo redeclared in this block
previous declaration at ./nonauthorized_test.go:94
./status_test.go:71: (*api).theResponseCodeShouldBe redeclared in this block
previous declaration at ./nonauthorized_test.go:122
./status_test.go:78: (*api).theResponseShouldContainFields redeclared in this block
previous declaration at ./nonauthorized_test.go:130
./status_test.go:126: FeatureContext redeclared in this block
previous declaration at ./nonauthorized_test.go:254
./nonauthorized_test.go:170: too many errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment