Skip to content

Commit

Permalink
Excavator: Manage go module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Oct 15, 2023
1 parent cc7b045 commit 1db0aba
Show file tree
Hide file tree
Showing 169 changed files with 57,819 additions and 10 deletions.
71 changes: 71 additions & 0 deletions -excavator_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
go mod operation failed. This may mean that there are legitimate dependency issues with the "go.mod" definition in the repository and the updates performed by the gomod check. This branch can be cloned locally to debug the issue.

Command that caused error:
./godelw check compiles

Output:
Running compiles...
server/handler/base.go:77:81: cannot use tokenClient (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to bulldozer.NewGitHubMerger
server/handler/check_run.go:43:57: cannot use &event (value of type *"github.com/google/go-github/v55/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v55/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v55/github".Installation
want GetInstallation() *"github.com/google/go-github/v56/github".Installation
server/handler/check_run.go:45:67: cannot use repo (variable of type *"github.com/google/go-github/v55/github".Repository) as *"github.com/google/go-github/v56/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/check_run.go:74:36: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.NewGithubContext
server/handler/check_run.go:74:44: cannot use fullPR (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to pull.NewGithubContext
server/handler/check_run.go:76:42: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.FetchConfigForPR
server/handler/check_run.go:76:50: cannot use fullPR (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/check_run.go:85:78: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.UpdatePullRequest
server/handler/check_run.go:93:48: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.ProcessPullRequest
server/handler/check_run.go:93:64: cannot use fullPR (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.ProcessPullRequest
server/handler/fetcher.go:50:38: cannot use client (variable of type *"github.com/google/go-github/v55/github".Client) as *"github.com/google/go-github/v56/github".Client value in argument to cf.loader.LoadConfig
server/handler/issue_comment.go:45:57: cannot use &event (value of type *"github.com/google/go-github/v55/github".IssueCommentEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v55/github".IssueCommentEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v55/github".Installation
want GetInstallation() *"github.com/google/go-github/v56/github".Installation
server/handler/issue_comment.go:46:65: cannot use repo (variable of type *"github.com/google/go-github/v55/github".Repository) as *"github.com/google/go-github/v56/github".Repository value in argument to githubapp.PreparePRContext
server/handler/issue_comment.go:59:35: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.NewGithubContext
server/handler/issue_comment.go:59:43: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to pull.NewGithubContext
server/handler/issue_comment.go:61:41: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.FetchConfigForPR
server/handler/issue_comment.go:61:49: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/issue_comment.go:65:47: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.ProcessPullRequest
server/handler/issue_comment.go:65:63: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.ProcessPullRequest
server/handler/pull_request.go:45:57: cannot use &event (value of type *"github.com/google/go-github/v55/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v55/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v55/github".Installation
want GetInstallation() *"github.com/google/go-github/v56/github".Installation
server/handler/pull_request.go:46:65: cannot use repo (variable of type *"github.com/google/go-github/v55/github".Repository) as *"github.com/google/go-github/v56/github".Repository value in argument to githubapp.PreparePRContext
server/handler/pull_request.go:64:35: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.NewGithubContext
server/handler/pull_request.go:64:43: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to pull.NewGithubContext
server/handler/pull_request.go:66:41: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.FetchConfigForPR
server/handler/pull_request.go:66:49: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/pull_request.go:76:78: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.UpdatePullRequest
server/handler/pull_request.go:76:94: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.UpdatePullRequest
server/handler/pull_request.go:87:47: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.ProcessPullRequest
server/handler/pull_request.go:87:63: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.ProcessPullRequest
server/handler/pull_request_review.go:45:57: cannot use &event (value of type *"github.com/google/go-github/v55/github".PullRequestReviewEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v55/github".PullRequestReviewEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v55/github".Installation
want GetInstallation() *"github.com/google/go-github/v56/github".Installation
server/handler/pull_request_review.go:46:65: cannot use repo (variable of type *"github.com/google/go-github/v55/github".Repository) as *"github.com/google/go-github/v56/github".Repository value in argument to githubapp.PreparePRContext
server/handler/pull_request_review.go:59:35: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.NewGithubContext
server/handler/pull_request_review.go:59:43: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to pull.NewGithubContext
server/handler/pull_request_review.go:61:41: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.FetchConfigForPR
server/handler/pull_request_review.go:61:49: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.FetchConfigForPR
server/handler/pull_request_review.go:65:47: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.ProcessPullRequest
server/handler/pull_request_review.go:65:63: cannot use pr (variable of type *"github.com/google/go-github/v56/github".PullRequest) as *"github.com/google/go-github/v55/github".PullRequest value in argument to h.ProcessPullRequest
server/handler/push.go:44:57: cannot use &event (value of type *"github.com/google/go-github/v55/github".PushEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v55/github".PushEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v55/github".Installation
want GetInstallation() *"github.com/google/go-github/v56/github".Installation
server/handler/push.go:55:67: cannot use ghRepo (variable of type *"github.com/google/go-github/v55/github".Repository) as *"github.com/google/go-github/v56/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/push.go:69:51: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.ListOpenPullRequestsForRef
server/handler/push.go:79:36: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.FetchConfig
server/handler/push.go:88:36: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.NewGithubContext
server/handler/push.go:89:70: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.UpdatePullRequest
server/handler/status.go:47:57: cannot use &event (value of type *"github.com/google/go-github/v55/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v55/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v55/github".Installation
want GetInstallation() *"github.com/google/go-github/v56/github".Installation
server/handler/status.go:48:67: cannot use repo (variable of type *"github.com/google/go-github/v55/github".Repository) as *"github.com/google/go-github/v56/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/status.go:62:51: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.ListOpenPullRequestsForSHA
server/handler/status.go:73:36: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to pull.NewGithubContext
server/handler/status.go:75:42: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.FetchConfigForPR
server/handler/status.go:84:78: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.UpdatePullRequest
server/handler/status.go:92:68: cannot use client (variable of type *"github.com/google/go-github/v56/github".Client) as *"github.com/google/go-github/v55/github".Client value in argument to h.ProcessPullRequest
Finished compiles
Check(s) produced output: [compiles]
4 changes: 4 additions & 0 deletions excavator_fail/excavator_fail.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package fail

This is a non-compiling file that has been added to explicitly ensure that CI fails.
Remove this file if debugging locally.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/google/go-github/v55 v55.0.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/palantir/go-baseapp v0.5.2
github.com/palantir/go-githubapp v0.19.0
github.com/palantir/go-githubapp v0.20.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.31.0
github.com/spf13/cobra v1.7.0
Expand All @@ -27,6 +27,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-github/v56 v56.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/golang-lru v0.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-github/v55 v55.0.0 h1:4pp/1tNMB9X/LuAhs5i0KQAE40NmiR/y6prLNb9x9cg=
github.com/google/go-github/v55 v55.0.0/go.mod h1:JLahOTA1DnXzhxEymmFF5PP2tSS9JVNj68mSZNDwskA=
github.com/google/go-github/v56 v56.0.0 h1:TysL7dMa/r7wsQi44BjqlwaHvwlFlqkK8CtBWCX3gb4=
github.com/google/go-github/v56 v56.0.0/go.mod h1:D8cdcX98YWJvi7TLo7zM4/h8ZTx6u6fwGEkCdisopo0=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
Expand All @@ -55,8 +57,8 @@ github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APP
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/palantir/go-baseapp v0.5.2 h1:b1ukx7AXo2/E4NkUvTFlW+185uwCcifzd2XzLrG4oS8=
github.com/palantir/go-baseapp v0.5.2/go.mod h1:uijQMPfmgV69oiMu2jkskum/4HiYuEP/gzrnphD+/Co=
github.com/palantir/go-githubapp v0.19.0 h1:I1U+dMFrnmu4hxxkZybHUD5+EPqqzMkThPzUbuIUFbw=
github.com/palantir/go-githubapp v0.19.0/go.mod h1:IOg1JkjhB6KM2zPq032Nkv9NcToIiuzfW70yWzHdZnE=
github.com/palantir/go-githubapp v0.20.0 h1:fgvcFYOTHCx8YNrVTE/8ONhDhcBswNgEmgGnjM79CL4=
github.com/palantir/go-githubapp v0.20.0/go.mod h1:Vhumhj2TblPkv5poIXnTKWpk1ejCQOdc674yvfdCtN4=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down
Loading

0 comments on commit 1db0aba

Please sign in to comment.