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 Sep 17, 2024
1 parent 5ee4b2d commit 2a85552
Show file tree
Hide file tree
Showing 175 changed files with 62,604 additions and 10 deletions.
67 changes: 67 additions & 0 deletions -excavator_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
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:53:65: cannot use pr.GetBase().GetRepo() (value of type *"github.com/google/go-github/v63/github".Repository) as *"github.com/google/go-github/v65/github".Repository value in argument to githubapp.PreparePRContext
server/handler/base.go:72:46: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to NewCrossOrgMembershipContext
server/handler/base.go:73:66: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to pull.NewGitHubContext
server/handler/base.go:82:66: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to b.ConfigFetcher.ConfigForRepositoryBranch
server/handler/base.go:85:13: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in struct literal
server/handler/check_run.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/check_run.go:51:67: cannot use repo (variable of type *"github.com/google/go-github/v63/github".Repository) as *"github.com/google/go-github/v65/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/cross_org.go:66:51: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to pull.NewGitHubMembershipContext
server/handler/details.go:144:66: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to checkUserPermissions
server/handler/details.go:164:58: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in argument to h.PreparePRContext
server/handler/details.go:169:11: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in struct literal
server/handler/details.go:180:16: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in struct literal
server/handler/fetcher.go:41:38: cannot use client (variable of type *"github.com/google/go-github/v63/github".Client) as *"github.com/google/go-github/v65/github".Client value in argument to cf.Loader.LoadConfig
server/handler/installation.go:53:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".InstallationEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".InstallationEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/installation.go:63:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".InstallationRepositoriesEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".InstallationRepositoriesEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/installation.go:74:38: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to h.postRepoInstallationStatus
server/handler/issue_comment.go:48:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".IssueCommentEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".IssueCommentEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/issue_comment.go:65:57: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in argument to h.PreparePRContext
server/handler/issue_comment.go:71:11: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in struct literal
server/handler/merge_group.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".MergeGroupEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".MergeGroupEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/merge_group.go:63:66: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch
server/handler/merge_group.go:77:28: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to PostStatus
server/handler/pull_request.go:42:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/pull_request_review.go:52:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".PullRequestReviewEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".PullRequestReviewEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/simulate.go:82:52: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in argument to h.PreparePRContext
server/handler/simulate.go:92:11: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in struct literal
server/handler/simulate.go:147:46: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to NewCrossOrgMembershipContext
server/handler/simulate.go:148:66: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to pull.NewGitHubContext
server/handler/simulate.go:157:66: cannot use client (variable of type *"github.com/google/go-github/v65/github".Client) as *"github.com/google/go-github/v63/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch
server/handler/status.go:61:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/status.go:68:67: cannot use repo (variable of type *"github.com/google/go-github/v63/github".Repository) as *"github.com/google/go-github/v65/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/status.go:99:84: cannot use status (variable of type *"github.com/google/go-github/v63/github".RepoStatus) as *"github.com/google/go-github/v65/github".RepoStatus value in argument to client.Repositories.CreateStatus
server/handler/status.go:108:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/status.go:115:67: cannot use repo (variable of type *"github.com/google/go-github/v63/github".Repository) as *"github.com/google/go-github/v65/github".Repository value in argument to githubapp.PrepareRepoContext
server/handler/status.go:124:3: cannot use &github.ListOptions{…} (value of type *"github.com/google/go-github/v63/github".ListOptions) as *"github.com/google/go-github/v65/github".ListOptions value in argument to client.PullRequests.ListPullRequestsWithCommit
server/handler/status.go:139:13: cannot use pr (variable of type *"github.com/google/go-github/v65/github".PullRequest) as *"github.com/google/go-github/v63/github".PullRequest value in struct literal
server/handler/workflow_run.go:50:57: cannot use &event (value of type *"github.com/google/go-github/v63/github".WorkflowRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v63/github".WorkflowRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
have GetInstallation() *"github.com/google/go-github/v63/github".Installation
want GetInstallation() *"github.com/google/go-github/v65/github".Installation
server/handler/workflow_run.go:52:67: cannot use repo (variable of type *"github.com/google/go-github/v63/github".Repository) as *"github.com/google/go-github/v65/github".Repository value in argument to githubapp.PrepareRepoContext
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 @@ -13,7 +13,7 @@ require (
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/hashicorp/golang-lru v1.0.2
github.com/palantir/go-baseapp v0.5.2
github.com/palantir/go-githubapp v0.27.0
github.com/palantir/go-githubapp v0.29.0
github.com/pkg/errors v0.9.1
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
github.com/rs/zerolog v1.33.0
Expand All @@ -35,6 +35,7 @@ require (
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-github/v62 v62.0.0 // indirect
github.com/google/go-github/v65 v65.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ github.com/google/go-github/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwM
github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4=
github.com/google/go-github/v63 v63.0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE=
github.com/google/go-github/v63 v63.0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA=
github.com/google/go-github/v65 v65.0.0 h1:pQ7BmO3DZivvFk92geC0jB0q2m3gyn8vnYPgV7GSLhQ=
github.com/google/go-github/v65 v65.0.0/go.mod h1:DvrqWo5hvsdhJvHd4WyVF9ttANN3BniqjP8uTFMNb60=
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 @@ -67,8 +69,8 @@ github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zk
github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
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.27.0 h1:YTSnLElOVOSSFOqCiAyc1wpZMQjGmMvjas0W/F9W4Jk=
github.com/palantir/go-githubapp v0.27.0/go.mod h1:yi9WLdjHkIfeZMetaZyCFJLcxocmrYdd+e5BJTfkimI=
github.com/palantir/go-githubapp v0.29.0 h1:A+qVkCFLv0G+rKzirTC69A7ahocDSP7M5YF+ggcKxjw=
github.com/palantir/go-githubapp v0.29.0/go.mod h1:kW5/8apPtr10wTEtlp0yIyzU37Sfd6f3nD4iyqZA7ao=
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 2a85552

Please sign in to comment.