go2nix-nix-plugin-eval-test
checks.aarch64-darwin.go2nix-nix-plugin-eval-test
· build #3
· 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 '/nix/var/nix/builds/nix-37595-3026821708/nix/store/h25hrw3nz2qy4aza7ccfk6l0sw492d0f-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.18disabling binary cache 'https://hetzner-cache.numtide.com' for 60 seconds19warning: unable to download 'https://hetzner-cache.numtide.com/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt20disabling binary cache 'https://cache.numtide.com' for 60 seconds21warning: unable to download 'https://cache.numtide.com/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt22building '/nix/var/nix/builds/nix-37595-3026821708/nix/store/h25hrw3nz2qy4aza7ccfk6l0sw492d0f-drv-src.drv'...23sh: mkdir: command not found24error:25 … while calling the 'resolveGoPackages' builtin26 at «string»:2:5:27 1|28 2| builtins.resolveGoPackages {29 | ^30 3| src = "${derivation {3132 error: Cannot build '/nix/var/nix/builds/nix-37595-3026821708/nix/store/h25hrw3nz2qy4aza7ccfk6l0sw492d0f-drv-src.drv'.33 Reason: builder failed with exit code 127.34 Output paths:35 /nix/var/nix/builds/nix-37595-3026821708/nix/store/ckvfjca7zxrpswxlf51pyc0i9i994j3w-drv-src36OK: warning surfaced for derivation-backed src37=== Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) ===38warning: resolveGoPackages: realising derivation '/nix/var/nix/builds/nix-37595-3026821708/nix/store/h25hrw3nz2qy4aza7ccfk6l0sw492d0f-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.39error:40 … while calling the 'resolveGoPackages' builtin41 at «string»:2:5:42 1|43 2| builtins.resolveGoPackages {44 | ^45 3| src = "${derivation {4647 error: cannot build '/nix/var/nix/builds/nix-37595-3026821708/nix/store/h25hrw3nz2qy4aza7ccfk6l0sw492d0f-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled48OK: Nix's IFD gate still applies49=== Case 4: a go named by the expression is ignored, never run ===50warning: resolveGoPackages: the 'go' attribute is ignored; the plugin's built-in Go toolchain is used51OK: go ignored with a warning52=== Case 5: subPackages entries are patterns, never go list flags ===53error:54 … while calling the 'resolveGoPackages' builtin55 at «string»:1:1:56 1| builtins.resolveGoPackages { src = "/nix/var/nix/builds/nix-37595-3026821708/torture-project"; subPackages = [ "-export" "-toolexec" "/nix/var/nix/builds/nix-37595-3026821708/planted" "." ]; }57 | ^5859 error: resolveGoPackages: resolveGoPackages: package errors:60 - -export: malformed import path "-export": leading dash61 - -toolexec: malformed import path "-toolexec": leading dash62 - /nix/var/nix/builds/nix-37595-3026821708/planted: directory ../planted outside main module or its selected dependencies63 Hint: your GOMODCACHE may be stale. Run 'go mod download' to populate it.64OK: leading-dash entry rejected as a pattern