nixbot

builds

failed golangci-lint checks.aarch64-linux.golangci-lint · build #41 · raw

1elastic-arm-23d67df9: building 1f1wygjh616dp5xpd1a8dfsdwbw1zijs-golangci-lint.drv
unpackPhase
2unpacking source archive /nix/store/m16j0bviird5rcv09cmrf7h2m3vk25zq-source3source root is source
buildPhase
4WARN The linter 'wsl' is deprecated (since v2.2.0) due to: new major version. Replaced by wsl_v5. 5WARN [linter] `allow-multiline-assign` is deprecated and always allowed in wsl >= v5 6WARN Suggested new configuration:7linters:8 enable:9 - wsl_v510 settings:11 wsl_v5:12 allow-first-in-block: true13 allow-whole-block: false14 branch-max-lines: 2 15ERRO Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: inconsistent vendoring in /build/source:16 github.com/cli/oauth@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt17 github.com/cli/oauth@v1.2.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod1819 To ignore the vendor directory, use -mod=readonly or -mod=mod.20 To sync the vendor directory, run:21 go mod vendor