nixbot

builds

succeeded go2nix-nix-plugin-eval-test checks.aarch64-linux.go2nix-nix-plugin-eval-test · build #34 · raw

1elastic-arm-fbce5e1b: building 55aw0l3n0k5cwq3rlnghv28j0lk6rskm-go2nix-nix-plugin-eval-test.drv2{3 "goVersion": "1.25",4 "hasDrvName": true,5 "hasImports": true,6 "hasLocalDir": true,7 "hasLocalImports": true,8 "hasModKey": true,9 "hasReplMap": true,10 "hasSubdir": true,11 "hasThirdPartyImports": true,12 "localPkgCount": 1,13 "modulePath": "github.com/numtide/go2nix-torture",14 "pkgCount": 242,15 "testPkgCount": 016}17=== Case 2: derivation-backed input warns then realises (IFD allowed) ===18warning: resolveGoPackages: realising derivation '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-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.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 295 ms (attempt 1/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 578 ms (attempt 2/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 1326 ms (attempt 3/5)22warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 2310 ms (attempt 4/5)23warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org24error:25 … while calling the 'resolveGoPackages' builtin26 at «string»:2:5:27 1|28 2| builtins.resolveGoPackages {29 | ^30 3| src = "${derivation {3132 error: `sandbox-build-dir` must not contain the storeDir33OK: warning surfaced for derivation-backed src34=== Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) ===35warning: resolveGoPackages: realising derivation '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-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.36error:37 … while calling the 'resolveGoPackages' builtin38 at «string»:2:5:39 1|40 2| builtins.resolveGoPackages {41 | ^42 3| src = "${derivation {4344 error: cannot build '/build/nix/store/zcrm29spp8y6xsj8249cipqrxw2pbpjq-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled45OK: Nix's IFD gate still applies46=== Case 4: a go named by the expression is ignored, never run ===47warning: resolveGoPackages: the 'go' attribute is ignored; the plugin's built-in Go toolchain is used48OK: go ignored with a warning49=== Case 5: subPackages entries are patterns, never go list flags ===50error:51 … while calling the 'resolveGoPackages' builtin52 at «string»:1:1:53 1| builtins.resolveGoPackages { src = "/build/torture-project"; subPackages = [ "-export" "-toolexec" "/build/planted" "." ]; }54 | ^5556 error: resolveGoPackages: resolveGoPackages: package errors:57 - -export: malformed import path "-export": leading dash58 - -toolexec: malformed import path "-toolexec": leading dash59 - /build/planted: directory ../planted outside main module or its selected dependencies60 Hint: your GOMODCACHE may be stale. Run 'go mod download' to populate it.61OK: leading-dash entry rejected as a pattern