these 2 derivations will be built: /nix/store/0a87xqjszq24bxzzr7glr0wj71a3qxjp-go2nix-nix-plugin-0.1.0.drv /nix/store/jvrr2q5zsa5iq3xjfk76x0is3sbxkf1z-go2nix-nix-plugin-eval-test.drv building '/nix/store/0a87xqjszq24bxzzr7glr0wj71a3qxjp-go2nix-nix-plugin-0.1.0.drv' on 'grpc://farm.numtide.com:50051?connect-timeout=23&system=aarch64-darwin&token-file=/run/nix-farm-client/farm-token' building '/nix/store/0a87xqjszq24bxzzr7glr0wj71a3qxjp-go2nix-nix-plugin-0.1.0.drv' on farm.numtide.com:50051 go2nix-nix-plugin-0.1.0> mac02: building 0a87xqjszq24bxzzr7glr0wj71a3qxjp-go2nix-nix-plugin-0.1.0.drv go2nix-nix-plugin-0.1.0> Running phase: unpackPhase go2nix-nix-plugin-0.1.0> unpacking source archive /nix/store/ivpmx3ja1gji4kkcndxhjlqw3g3f6i35-plugin go2nix-nix-plugin-0.1.0> source root is plugin go2nix-nix-plugin-0.1.0> Running phase: patchPhase go2nix-nix-plugin-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase go2nix-nix-plugin-0.1.0> Running phase: configurePhase go2nix-nix-plugin-0.1.0> cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/share/doc/go2nix-nix-plugin -DCMAKE_INSTALL_INFODIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/lib -DCMAKE_STRIP=/nix/store/l32bv33wqwkj2l1y8dp5x6h9r3q9im77-clang-wrapper-21.1.8/bin/strip -DCMAKE_RANLIB=/nix/store/l32bv33wqwkj2l1y8dp5x6h9r3q9im77-clang-wrapper-21.1.8/bin/ranlib -DCMAKE_AR=/nix/store/l32bv33wqwkj2l1y8dp5x6h9r3q9im77-clang-wrapper-21.1.8/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0 -DRUST_LIB_DIR=/nix/store/6aiy397zmrgah3b7x047k88hn85rrv1i-go2nix-nix-plugin-core-0.1.0/lib go2nix-nix-plugin-0.1.0> -- The C compiler identification is Clang 21.1.8 go2nix-nix-plugin-0.1.0> -- The CXX compiler identification is Clang 21.1.8 go2nix-nix-plugin-0.1.0> -- Detecting C compiler ABI info go2nix-nix-plugin-0.1.0> -- Detecting C compiler ABI info - done go2nix-nix-plugin-0.1.0> -- Check for working C compiler: /nix/store/l32bv33wqwkj2l1y8dp5x6h9r3q9im77-clang-wrapper-21.1.8/bin/clang - skipped go2nix-nix-plugin-0.1.0> -- Detecting C compile features go2nix-nix-plugin-0.1.0> -- Detecting C compile features - done go2nix-nix-plugin-0.1.0> -- Detecting CXX compiler ABI info go2nix-nix-plugin-0.1.0> -- Detecting CXX compiler ABI info - done go2nix-nix-plugin-0.1.0> -- Check for working CXX compiler: /nix/store/l32bv33wqwkj2l1y8dp5x6h9r3q9im77-clang-wrapper-21.1.8/bin/clang++ - skipped go2nix-nix-plugin-0.1.0> -- Detecting CXX compile features go2nix-nix-plugin-0.1.0> -- Detecting CXX compile features - done go2nix-nix-plugin-0.1.0> -- Found PkgConfig: /nix/store/lzrwr375jqhhbca116kja96xf1md83l8-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") go2nix-nix-plugin-0.1.0> -- Checking for modules 'nix-expr>=2.34;nix-store>=2.34' go2nix-nix-plugin-0.1.0> -- Found nix-expr, version 2.34.7+1 go2nix-nix-plugin-0.1.0> -- Found nix-store, version 2.34.7+1 go2nix-nix-plugin-0.1.0> Package libblake3 was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libblake3.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libblake3', required by 'nix-util', not found go2nix-nix-plugin-0.1.0> Package libblake3 was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libblake3.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libblake3', required by 'nix-util', not found go2nix-nix-plugin-0.1.0> Package libblake3 was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libblake3.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libblake3', required by 'nix-util', not found go2nix-nix-plugin-0.1.0> Package libblake3 was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libblake3.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libblake3', required by 'nix-util', not found go2nix-nix-plugin-0.1.0> -- Found nlohmann_json: /nix/store/82x006gfmrvjdl2vnpswjmhhvjbdbg7c-nlohmann_json-3.12.0/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.12.0") go2nix-nix-plugin-0.1.0> -- Configuring done (5.3s) go2nix-nix-plugin-0.1.0> -- Generating done (0.0s) go2nix-nix-plugin-0.1.0> CMake Warning: go2nix-nix-plugin-0.1.0> Manually-specified variables were not used by the project: go2nix-nix-plugin-0.1.0> go2nix-nix-plugin-0.1.0> BUILD_TESTING go2nix-nix-plugin-0.1.0> CMAKE_EXPORT_NO_PACKAGE_REGISTRY go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_BINDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_DOCDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_INCLUDEDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_INFODIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_LIBDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_LIBEXECDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_LOCALEDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_MANDIR go2nix-nix-plugin-0.1.0> CMAKE_INSTALL_SBINDIR go2nix-nix-plugin-0.1.0> go2nix-nix-plugin-0.1.0> go2nix-nix-plugin-0.1.0> -- Build files have been written to: /nix/var/nix/builds/nix-14784-551914820/plugin/build go2nix-nix-plugin-0.1.0> cmake: enabled parallel building go2nix-nix-plugin-0.1.0> cmake: enabled parallel installing go2nix-nix-plugin-0.1.0> Running phase: buildPhase go2nix-nix-plugin-0.1.0> build flags: -j10 SHELL=/nix/store/55976waa157aqb1ncbwm6b8sa64b6m3h-bash-5.3p9/bin/bash go2nix-nix-plugin-0.1.0> [ 50%] Building CXX object CMakeFiles/go2nix_plugin.dir/resolveGoPackages.cc.o go2nix-nix-plugin-0.1.0> [100%] Linking CXX shared module libgo2nix_plugin.so go2nix-nix-plugin-0.1.0> [100%] Built target go2nix_plugin go2nix-nix-plugin-0.1.0> Running phase: installPhase go2nix-nix-plugin-0.1.0> install flags: -j10 SHELL=/nix/store/55976waa157aqb1ncbwm6b8sa64b6m3h-bash-5.3p9/bin/bash install go2nix-nix-plugin-0.1.0> [100%] Built target go2nix_plugin go2nix-nix-plugin-0.1.0> Install the project... go2nix-nix-plugin-0.1.0> -- Install configuration: "Release" go2nix-nix-plugin-0.1.0> -- Installing: /nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/lib/nix/plugins/libgo2nix_plugin.so go2nix-nix-plugin-0.1.0> Running phase: fixupPhase go2nix-nix-plugin-0.1.0> checking for references to /nix/var/nix/builds/nix-14784-551914820/ in /nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0... go2nix-nix-plugin-0.1.0> patching script interpreter paths in /nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0 go2nix-nix-plugin-0.1.0> stripping (with command strip and flags -S) in /nix/store/9rwyxmj40x8jdm8m1v7zk2nbqzyn6dpk-go2nix-nix-plugin-0.1.0/lib building '/nix/store/jvrr2q5zsa5iq3xjfk76x0is3sbxkf1z-go2nix-nix-plugin-eval-test.drv' on 'grpc://farm.numtide.com:50051?connect-timeout=20&system=aarch64-darwin&token-file=/run/nix-farm-client/farm-token' building '/nix/store/jvrr2q5zsa5iq3xjfk76x0is3sbxkf1z-go2nix-nix-plugin-eval-test.drv' on farm.numtide.com:50051 go2nix-nix-plugin-eval-test> mac02: building jvrr2q5zsa5iq3xjfk76x0is3sbxkf1z-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 '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-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> disabling binary cache 'https://hetzner-cache.numtide.com' for 60 seconds go2nix-nix-plugin-eval-test> warning: 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.crt go2nix-nix-plugin-eval-test> disabling binary cache 'https://cache.numtide.com' for 60 seconds go2nix-nix-plugin-eval-test> warning: 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.crt go2nix-nix-plugin-eval-test> building '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-drv-src.drv'... go2nix-nix-plugin-eval-test> sh: mkdir: command not found 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 '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-drv-src.drv'. go2nix-nix-plugin-eval-test> Reason: builder failed with exit code 127. go2nix-nix-plugin-eval-test> Output paths: go2nix-nix-plugin-eval-test> /nix/var/nix/builds/nix-15304-1447774291/nix/store/h1kp9vaa6aga5ynk47wmdry0x8a6krsy-drv-src 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 '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-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 '/nix/var/nix/builds/nix-15304-1447774291/nix/store/v7vj7fhwfn37sb9f3912rdh72ghh3zl9-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 = "/nix/var/nix/builds/nix-15304-1447774291/torture-project"; subPackages = [ "-export" "-toolexec" "/nix/var/nix/builds/nix-15304-1447774291/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> - /nix/var/nix/builds/nix-15304-1447774291/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