|
| 1 | +package fail |
| 2 | + |
| 3 | +fail |
| 4 | + |
| 5 | +/* |
| 6 | +This is a non-compiling file that has been added to explicitly ensure that CI fails. |
| 7 | +It also contains the command that caused the failure and its output. |
| 8 | +Remove this file if debugging locally. |
| 9 | +
|
| 10 | +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. |
| 11 | +
|
| 12 | +Command that caused error: |
| 13 | +./godelw lint compiles |
| 14 | +
|
| 15 | +Output: |
| 16 | +server/handler/base.go:53:65: cannot use pr.GetBase().GetRepo() (value of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PreparePRContext |
| 17 | +server/handler/base.go:72:46: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to NewCrossOrgMembershipContext |
| 18 | +server/handler/base.go:73:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to pull.NewGitHubContext |
| 19 | +server/handler/base.go:82:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to b.ConfigFetcher.ConfigForRepositoryBranch |
| 20 | +server/handler/base.go:85:13: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in struct literal |
| 21 | +server/handler/check_run.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 22 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 23 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 24 | +server/handler/check_run.go:51:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext |
| 25 | +server/handler/cross_org.go:66:51: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to pull.NewGitHubMembershipContext |
| 26 | +server/handler/details.go:144:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to checkUserPermissions |
| 27 | +server/handler/details.go:164:58: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in argument to h.PreparePRContext |
| 28 | +server/handler/details.go:169:11: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal |
| 29 | +server/handler/details.go:180:16: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal |
| 30 | +server/handler/fetcher.go:47:39: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v79/github".Client value in argument to cf.Loader.LoadConfig |
| 31 | +server/handler/installation.go:53:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".InstallationEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".InstallationEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 32 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 33 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 34 | +server/handler/installation.go:63:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".InstallationRepositoriesEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".InstallationRepositoriesEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 35 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 36 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 37 | +server/handler/installation.go:74:38: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to h.postRepoInstallationStatus |
| 38 | +server/handler/issue_comment.go:48:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".IssueCommentEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".IssueCommentEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 39 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 40 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 41 | +server/handler/issue_comment.go:65:57: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in argument to h.PreparePRContext |
| 42 | +server/handler/issue_comment.go:71:11: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal |
| 43 | +server/handler/merge_group.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".MergeGroupEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".MergeGroupEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 44 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 45 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 46 | +server/handler/merge_group.go:63:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch |
| 47 | +server/handler/merge_group.go:77:28: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to PostStatus |
| 48 | +server/handler/merge_group.go:83:29: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to PostStatus |
| 49 | +server/handler/pull_request.go:42:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 50 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 51 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 52 | +server/handler/pull_request_review.go:52:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".PullRequestReviewEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".PullRequestReviewEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 53 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 54 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 55 | +server/handler/simulate.go:82:52: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in argument to h.PreparePRContext |
| 56 | +server/handler/simulate.go:92:11: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal |
| 57 | +server/handler/simulate.go:152:46: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to NewCrossOrgMembershipContext |
| 58 | +server/handler/simulate.go:153:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to pull.NewGitHubContext |
| 59 | +server/handler/simulate.go:162:66: cannot use client (variable of type *"github.com/google/go-github/v79/github".Client) as *"github.com/google/go-github/v75/github".Client value in argument to h.ConfigFetcher.ConfigForRepositoryBranch |
| 60 | +server/handler/status.go:61:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 61 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 62 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 63 | +server/handler/status.go:68:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext |
| 64 | +server/handler/status.go:99:84: cannot use status (variable of type *"github.com/google/go-github/v75/github".RepoStatus) as "github.com/google/go-github/v79/github".RepoStatus value in argument to client.Repositories.CreateStatus |
| 65 | +server/handler/status.go:108:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".StatusEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".StatusEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 66 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 67 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 68 | +server/handler/status.go:115:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext |
| 69 | +server/handler/status.go:124:3: cannot use &github.ListOptions{…} (value of type *"github.com/google/go-github/v75/github".ListOptions) as *"github.com/google/go-github/v79/github".ListOptions value in argument to client.PullRequests.ListPullRequestsWithCommit |
| 70 | +server/handler/status.go:139:13: cannot use pr (variable of type *"github.com/google/go-github/v79/github".PullRequest) as *"github.com/google/go-github/v75/github".PullRequest value in struct literal |
| 71 | +server/handler/workflow_run.go:51:57: cannot use &event (value of type *"github.com/google/go-github/v75/github".WorkflowRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v75/github".WorkflowRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation) |
| 72 | + have GetInstallation() *"github.com/google/go-github/v75/github".Installation |
| 73 | + want GetInstallation() *"github.com/google/go-github/v79/github".Installation |
| 74 | +server/handler/workflow_run.go:53:67: cannot use repo (variable of type *"github.com/google/go-github/v75/github".Repository) as *"github.com/google/go-github/v79/github".Repository value in argument to githubapp.PrepareRepoContext |
| 75 | +39 issues: |
| 76 | +* compiles: 39 |
| 77 | +
|
| 78 | +*/ |
0 commit comments