nixbot

builds

succeeded go2nix-nix-plugin-eval-test checks.x86_64-linux.go2nix-nix-plugin-eval-test · build #4 · raw

1{2 "goVersion": "1.25",3 "hasDrvName": true,4 "hasImports": true,5 "hasLocalDir": true,6 "hasLocalImports": true,7 "hasModKey": true,8 "hasReplMap": true,9 "hasSubdir": true,10 "hasThirdPartyImports": true,11 "localPkgCount": 1,12 "modulePath": "github.com/numtide/go2nix-torture",13 "pkgCount": 242,14 "testPkgCount": 015}16=== Case 2: derivation-backed input warns then realises (IFD allowed) ===17warning: resolveGoPackages: realising derivation '/build/nix/store/ykk4djglcmi7g1zl6i8776avm80mzjbr-drv-src.drv^out' at eval time (IFD). For IFD-free evaluation, use builtins.fetchTarball/fetchGit for 'src' instead of pkgs.fetchFromGitHub. See go2nix docs: builder-api.md#src.18warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 348 ms (attempt 1/5)19warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 645 ms (attempt 2/5)20warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 1336 ms (attempt 3/5)21warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 2279 ms (attempt 4/5)22warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org23error:24 … while calling the 'resolveGoPackages' builtin25 at «string»:2:5:26 1|27 2| builtins.resolveGoPackages {28 | ^29 3| src = "${derivation {3031 error: `sandbox-build-dir` must not contain the storeDir32OK: warning surfaced for derivation-backed src33=== Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) ===34warning: resolveGoPackages: realising derivation '/build/nix/store/ykk4djglcmi7g1zl6i8776avm80mzjbr-drv-src.drv^out' at eval time (IFD). For IFD-free evaluation, use builtins.fetchTarball/fetchGit for 'src' instead of pkgs.fetchFromGitHub. See go2nix docs: builder-api.md#src.35error:36 … while calling the 'resolveGoPackages' builtin37 at «string»:2:5:38 1|39 2| builtins.resolveGoPackages {40 | ^41 3| src = "${derivation {4243 error: cannot build '/build/nix/store/ykk4djglcmi7g1zl6i8776avm80mzjbr-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled44OK: Nix's IFD gate still applies45=== Case 4: a go named by the expression is ignored, never run ===46warning: resolveGoPackages: the 'go' attribute is ignored; the plugin's built-in Go toolchain is used47OK: go ignored with a warning48=== Case 5: subPackages entries are patterns, never go list flags ===49error:50 … while calling the 'resolveGoPackages' builtin51 at «string»:1:1:52 1| builtins.resolveGoPackages { src = "/build/torture-project"; subPackages = [ "-export" "-toolexec" "/build/planted" "." ]; }53 | ^5455 error: resolveGoPackages: resolveGoPackages: package errors:56 - -export: malformed import path "-export": leading dash57 - -toolexec: malformed import path "-toolexec": leading dash58 - /build/planted: directory ../planted outside main module or its selected dependencies59 Hint: your GOMODCACHE may be stale. Run 'go mod download' to populate it.60OK: leading-dash entry rejected as a pattern