this derivation will be built: /nix/store/yb8d9pn1lc73lllvd2bh0fs1hqqixp9z-golangci-lint.drv building '/nix/store/yb8d9pn1lc73lllvd2bh0fs1hqqixp9z-golangci-lint.drv' golangci-lint> tribuchet: building on mac02 golangci-lint> Running phase: unpackPhase golangci-lint> unpacking source archive /nix/store/gmk05vilr8yah1p6y5yaff2ywvcsas84-source golangci-lint> source root is source golangci-lint> Running phase: patchPhase golangci-lint> Running phase: updateAutotoolsGnuConfigScriptsPhase golangci-lint> Running phase: configurePhase golangci-lint> Running phase: buildPhase golangci-lint> level=error msg="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 /private/var/tb/1/scratch/259c5871bff0ba52/build/source:\n\tgithub.com/ProtonMail/go-crypto@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/ProtonMail/go-crypto@v1.4.1: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod\n\n\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo mod vendor\n" error: Cannot build '/nix/store/yb8d9pn1lc73lllvd2bh0fs1hqqixp9z-golangci-lint.drv'. Reason: builder failed with exit code 3. Output paths: /nix/store/fk079hnwgliq9q5pfx1w55z4pvxpkb6v-golangci-lint Last 9 log lines: > tribuchet: building on mac02 > Running phase: unpackPhase > unpacking source archive /nix/store/gmk05vilr8yah1p6y5yaff2ywvcsas84-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > level=error msg="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 /private/var/tb/1/scratch/259c5871bff0ba52/build/source:\n\tgithub.com/ProtonMail/go-crypto@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt\n\tgithub.com/ProtonMail/go-crypto@v1.4.1: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod\n\n\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo mod vendor\n" For full logs, run: nix log /nix/store/yb8d9pn1lc73lllvd2bh0fs1hqqixp9z-golangci-lint.drv