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 4, 2024
1 parent 5dc2a47 commit c29d4c5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions -excavator_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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...
../local/pkg/mod/golang.org/[email protected]/src/runtime/time.go:174:17: cannot range over 3 (untyped int constant)
-: This application uses version go1.21 of the source-processing packages but runs version go1.22 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
../local/pkg/mod/golang.org/[email protected]/src/reflect/iter.go:67:19: cannot range over v.Len() (value of type int)
../local/pkg/mod/golang.org/[email protected]/src/reflect/iter.go:75:19: cannot range over v.Len() (value of type int)
../local/pkg/mod/golang.org/[email protected]/src/reflect/iter.go:131:19: cannot range over v.Len() (value of type int)
../local/pkg/mod/golang.org/[email protected]/src/reflect/iter.go:139:19: cannot range over v.Len() (value of type int)
../local/pkg/mod/golang.org/[email protected]/src/reflect/type.go:2320:19: cannot range over num (variable of type int)
-: This application uses version go1.21 of the source-processing packages but runs version go1.22 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
../local/pkg/mod/golang.org/[email protected]/src/slices/iter.go:50:17: cannot range over seq (variable of type iter.Seq[E])
-: This application uses version go1.21 of the source-processing packages but runs version go1.22 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
../local/pkg/mod/golang.org/[email protected]/src/unique/clone.go:76:12: cannot range over atyp.Len (variable of type uintptr)
-: This application uses version go1.21 of the source-processing packages but runs version go1.22 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
../local/pkg/mod/golang.org/[email protected]/src/maps/iter.go:51:20: cannot range over seq (variable of type iter.Seq2[K, V])
-: This application uses version go1.21 of the source-processing packages but runs version go1.22 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
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.

Check failure on line 3 in excavator_fail/excavator_fail.go

View workflow job for this annotation

GitHub Actions / Verify

expected declaration, found This
Remove this file if debugging locally.

0 comments on commit c29d4c5

Please sign in to comment.