these 5 derivations will be built: /nix/store/d49zw74m0i08grp5x5bd0clvp4d302q2-anyhow-1.0.104.drv /nix/store/bdmqdsh7m1r7niwl24ajwp3xip1q471s-cargo-vendor-dir.drv /nix/store/rkmzcr30wxzlnc98frkrwga5yh8297xd-go2nix-nix-plugin-core-0.1.0.drv /nix/store/ivfs7p4zd28dzg7djarvdknwm00s4ysa-go2nix-nix-plugin-0.1.0.drv /nix/store/d2ja4r7qpq7x3bscvfjl9x7w2jv4imdd-go2nix-nix-plugin-eval-test.drv these 82 paths will be fetched (676.4 MiB download, 2.9 GiB unpacked): /nix/store/qcirwg5rxnijaa0zs04f92i1craafnj8-auditable-cargo-1.95.0 /nix/store/ksig1z5jvwx0wfy8d2d8kxh3cxgnab2n-base64-0.22.1 /nix/store/m4523822gxqnhjxqr0h0ciqli66wra5p-bitflags-2.11.0 /nix/store/ckilq6rdgygiggd8536xhkpyqq0s39ch-block-buffer-0.10.4 /nix/store/z480b23kymbmrijrl49246mrzyphli15-cargo-1.95.0 /nix/store/35899xz5nby0wwvvlgvqlwsg7sl4y9jc-cargo-auditable-0.7.2 /nix/store/a6yk8ks6psxcdcagxjx53wqajcaf5ny6-cargo-bootstrap-1.95.0 /nix/store/17fzacfmy6b6zmia8rrx937mh7fl0azn-cargo-build-hook.sh /nix/store/v0dl78cq5yf3ikfacvn4987vwk83hskc-cargo-check-hook.sh /nix/store/zdl4qpv8cz7swbwr4phsi2ycinkj356r-cargo-install-hook.sh /nix/store/0kkppa57hwc4kqip4xv6g4h8crvxcl0a-cargo-setup-hook.sh /nix/store/jyk1pf4al1v1bzpsp4iagvqgdp515ghb-cfg-if-1.0.4 /nix/store/r9941n32g4wyvggz2703dlplbdq8a6rd-cmake-4.1.2 /nix/store/w92nh4dmrggq0bsig3xh5pgxsb2y1r2p-cpufeatures-0.2.17 /nix/store/3rszjh9w694hcfwhriyv0lyv3c30v2xd-crossbeam-deque-0.8.6 /nix/store/a614psjy4vrih86d8nkxy2q8sc13gs41-crossbeam-epoch-0.9.18 /nix/store/38b1aj6h8idvwvrwsrlj9c3ndrixlp90-crossbeam-utils-0.8.21 /nix/store/75xvx5x4k77mqr4x7hwg8mgj0ih37l32-crypto-common-0.1.7 /nix/store/z27nyp7sk8zhfxp6anmnc2im1v09i6a1-curl-8.20.0 /nix/store/f1xaj9ajbismv1ki6y8l6jv9cg02rna3-digest-0.10.7 /nix/store/qnag8vs9xhg0s5k73x9bf1npxb4r9dwi-either-1.15.0 /nix/store/yvm2753aikbszw8bd6gc172ic8ibivsl-equivalent-1.0.2 /nix/store/qswmpyh4j4aw2hzi49pc6rd1c3rb3q5k-errno-0.3.14 /nix/store/d6j5cifzkwjlimawmjhywqx9l6bk43q6-expand-response-params /nix/store/7fxzgxr2b4rprz586prj0hzrbsdlscl2-fastrand-2.3.0 /nix/store/gyh0bw63flxyay77q4jlqr9q8sls1zim-foldhash-0.1.5 /nix/store/9b13f1rjhrlc0amxh9zk0b5k6jvagf9x-generic-array-0.14.7 /nix/store/sg1ijzhjg1d6aary4i5adbjggc1pzmri-getrandom-0.4.2 /nix/store/yfly87xym9s3mw8nr7pv0wljl2h7llkz-hashbrown-0.15.5 /nix/store/jdknb72rbvvfpsxgxqj1771vqhj0n4qr-hashbrown-0.16.1 /nix/store/1cirf9xcjkhf0jy1b6c9czi86jmqpiiz-heck-0.5.0 /nix/store/zmba7rc9kbrszpc64i7xvgwp2nsck50n-id-arena-2.3.0 /nix/store/cwkkss28zzrhahiv87xv633z9mqvm4gx-indexmap-2.13.0 /nix/store/n7iv6m46q8r5pm20yb2il5xf1cry10ib-itoa-1.0.18 /nix/store/qdxrh2d6mc9d9v7k74zs70zm91h8h0id-leb128fmt-0.1.0 /nix/store/0y6jx44ia5kkhvzlm2kv7vqb6zz2gxg7-libc-0.2.183 /nix/store/a06iq4al6nhlidkmh1ys6kibp50q4j5h-linux-raw-sys-0.12.1 /nix/store/ldcshpa3cspn8jfr4k1m05j4d4vz36wb-llvm-21.1.8-lib /nix/store/skl45vgklj0vfp6gwabf03fskc72dyzr-log-0.4.29 /nix/store/mjphc47znw5ak7yj7f8zzrfkdbn7y7mh-memchr-2.8.0 /nix/store/l7q2gp0a3966vq3rywhvzz0ylvxgpj86-once_cell-1.21.4 /nix/store/8i2h8b6nykwi6rj3ya5x4sysljg8zmg4-pkg-config-0.29.2 /nix/store/1m05k7xgfnw6jc21xxk5681ni3ar97wf-pkg-config-wrapper-0.29.2 /nix/store/gljzig505kvwmqspjy28f25r18q4wkin-prettyplease-0.2.37 /nix/store/601k4lw9gdmirnwdlw2rjw5izm521yal-proc-macro2-1.0.106 /nix/store/6jnzh0ghanbqqq0ca7wsjs1xjqrvpx8m-quote-1.0.45 /nix/store/kl47pm0jipx5bmkw25ndnrrdq472qbrr-r-efi-6.0.0 /nix/store/v5zjy26764sqrn82qg2nm8rhp306rvk7-rayon-1.11.0 /nix/store/baxq0q90pi4my162w2dlwkpf4ybln3l9-rayon-core-1.13.0 /nix/store/qmc2phn2pbimq55hmj0v8r02f6ld90fb-rhash-1.4.6 /nix/store/yhmi70ln28n1j6wn82h61b8r8q4g562i-rustc-1.95.0 /nix/store/ig3dxi9sbg0jnkid4s673mnz4kkbfwa4-rustc-bootstrap-1.95.0 /nix/store/aal0xbgd8lv1iij5jbvia44si07w0vh8-rustc-bootstrap-wrapper-1.95.0 /nix/store/wnhmqix7bippbbzasj29qiyb422g9asg-rustc-wrapper-1.95.0 /nix/store/0sk0swpar8s6rxlwfjrqhxvxizyqlj5x-rustix-1.1.4 /nix/store/jadqf7hqwhskilb1xhxczb1cc1d8d7qn-semver-1.0.27 /nix/store/ld3p4mqipa2ff2d4n6p9rq6im7zzjvxs-serde-1.0.228 /nix/store/kyrlqhm4apg4kr5ppmjbdm1cpqslp4cj-serde_core-1.0.228 /nix/store/a83j2xpngxfxq4j2hsj7cy1r79j8gn3s-serde_derive-1.0.228 /nix/store/49nypabjqv1f1picv9j3l2kmiw6p355v-serde_json-1.0.149 /nix/store/7m9qb4dn8wqrhhjzqfyxw83yx3gf6ncq-sha2-0.10.9 /nix/store/2ldzf66d7g4px9ax4p4gf9z7w24hs4fp-syn-2.0.117 /nix/store/jirkrba81iz3w67lfrdy63zzyfxdhy5y-tempfile-3.27.0 /nix/store/1qyip45x93bs39qm2vja7rc7h5r39cgy-torture-project-modules-0-unstable-go-modules /nix/store/8zdz1pc8br8zcgvm7nz6z6rs9li0n9j0-typenum-1.19.0 /nix/store/b4x0rdhmllrscgzlpd9nbd0ixzqj7zz3-unicode-ident-1.0.24 /nix/store/sgylmm57hflw6fy6cfzal6hrnqm6as79-unicode-xid-0.2.6 /nix/store/2zy7p47fhxvwn4827slcmqvj3r4sf2w5-version_check-0.9.5 /nix/store/2w4rilmnj5nlkqkhlz8pmb5n4fpw13fn-wasip2-1.0.2+wasi-0.2.9 /nix/store/07bm01kw03bslq97mixr1phsvm46rz0v-wasip3-0.4.0+wasi-0.3.0-rc-2026-01-06 /nix/store/p0nkcr7smkhancs4dnszr36bq918x4dy-wasm-encoder-0.244.0 /nix/store/3d5273vgrhsfnxhrd5z6iw939lygl7jp-wasm-metadata-0.244.0 /nix/store/6218mql5gcz9j98van0qsml0cs7kwl3k-wasmparser-0.244.0 /nix/store/qcbshdfnbs1g1iknf7cvb1418fw7995k-windows-link-0.2.1 /nix/store/3f3b6ppg7kzgqa0yimpcdrwax06wk81b-windows-sys-0.61.2 /nix/store/455s8yvhq6yz9m0qqa7h3gglwrfz45ar-wit-bindgen-0.51.0 /nix/store/f20flnd9iayjg06a7f8swn6gky3ihxkj-wit-bindgen-core-0.51.0 /nix/store/i2ix6yh5p6q6wk6y4v9kl5p3sqvs5s47-wit-bindgen-rust-0.51.0 /nix/store/qa8gh5rc6af57a1lkblqsg7svmy0pwiz-wit-bindgen-rust-macro-0.51.0 /nix/store/3f7r80ypa5flrnbrc58p4hzi1qi54x0z-wit-component-0.244.0 /nix/store/p1cms1z436grr7d5m8hcd48n3n3cx7is-wit-parser-0.244.0 /nix/store/x3azr6n5m7fg6db17hcf17wb57ild705-zmij-1.0.21 building '/nix/store/d2ja4r7qpq7x3bscvfjl9x7w2jv4imdd-go2nix-nix-plugin-eval-test.drv' go2nix-nix-plugin-eval-test> { go2nix-nix-plugin-eval-test> "goVersion": "1.25", go2nix-nix-plugin-eval-test> "hasDrvName": true, go2nix-nix-plugin-eval-test> "hasImports": true, go2nix-nix-plugin-eval-test> "hasLocalDir": true, go2nix-nix-plugin-eval-test> "hasLocalImports": true, go2nix-nix-plugin-eval-test> "hasModKey": true, go2nix-nix-plugin-eval-test> "hasReplMap": true, go2nix-nix-plugin-eval-test> "hasSubdir": true, go2nix-nix-plugin-eval-test> "hasThirdPartyImports": true, go2nix-nix-plugin-eval-test> "localPkgCount": 1, go2nix-nix-plugin-eval-test> "modulePath": "github.com/numtide/go2nix-torture", go2nix-nix-plugin-eval-test> "pkgCount": 242, go2nix-nix-plugin-eval-test> "testPkgCount": 0 go2nix-nix-plugin-eval-test> } go2nix-nix-plugin-eval-test> === Case 2: derivation-backed input warns then realises (IFD allowed) === go2nix-nix-plugin-eval-test> warning: 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. go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 273 ms (attempt 1/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 685 ms (attempt 2/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 1365 ms (attempt 3/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 2091 ms (attempt 4/5) go2nix-nix-plugin-eval-test> warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org go2nix-nix-plugin-eval-test> error: go2nix-nix-plugin-eval-test> … while calling the 'resolveGoPackages' builtin go2nix-nix-plugin-eval-test> at «string»:2:5: go2nix-nix-plugin-eval-test> 1| go2nix-nix-plugin-eval-test> 2| builtins.resolveGoPackages { go2nix-nix-plugin-eval-test> | ^ go2nix-nix-plugin-eval-test> 3| src = "${derivation { go2nix-nix-plugin-eval-test> go2nix-nix-plugin-eval-test> error: `sandbox-build-dir` must not contain the storeDir go2nix-nix-plugin-eval-test> OK: warning surfaced for derivation-backed src go2nix-nix-plugin-eval-test> === Case 3: derivation-backed input under IFD=false → IFDError (Nix gate) === go2nix-nix-plugin-eval-test> warning: 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. go2nix-nix-plugin-eval-test> error: go2nix-nix-plugin-eval-test> … while calling the 'resolveGoPackages' builtin go2nix-nix-plugin-eval-test> at «string»:2:5: go2nix-nix-plugin-eval-test> 1| go2nix-nix-plugin-eval-test> 2| builtins.resolveGoPackages { go2nix-nix-plugin-eval-test> | ^ go2nix-nix-plugin-eval-test> 3| src = "${derivation { go2nix-nix-plugin-eval-test> go2nix-nix-plugin-eval-test> error: cannot build '/build/nix/store/ykk4djglcmi7g1zl6i8776avm80mzjbr-drv-src.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled go2nix-nix-plugin-eval-test> OK: Nix's IFD gate still applies go2nix-nix-plugin-eval-test> === Case 4: a go named by the expression is ignored, never run === go2nix-nix-plugin-eval-test> warning: resolveGoPackages: the 'go' attribute is ignored; the plugin's built-in Go toolchain is used go2nix-nix-plugin-eval-test> OK: go ignored with a warning go2nix-nix-plugin-eval-test> === Case 5: subPackages entries are patterns, never go list flags === go2nix-nix-plugin-eval-test> error: go2nix-nix-plugin-eval-test> … while calling the 'resolveGoPackages' builtin go2nix-nix-plugin-eval-test> at «string»:1:1: go2nix-nix-plugin-eval-test> 1| builtins.resolveGoPackages { src = "/build/torture-project"; subPackages = [ "-export" "-toolexec" "/build/planted" "." ]; } go2nix-nix-plugin-eval-test> | ^ go2nix-nix-plugin-eval-test> go2nix-nix-plugin-eval-test> error: resolveGoPackages: resolveGoPackages: package errors: go2nix-nix-plugin-eval-test> - -export: malformed import path "-export": leading dash go2nix-nix-plugin-eval-test> - -toolexec: malformed import path "-toolexec": leading dash go2nix-nix-plugin-eval-test> - /build/planted: directory ../planted outside main module or its selected dependencies go2nix-nix-plugin-eval-test> Hint: your GOMODCACHE may be stale. Run 'go mod download' to populate it. go2nix-nix-plugin-eval-test> OK: leading-dash entry rejected as a pattern upload niks3: ok