these 2 derivations will be built: /nix/store/dzkj31cj70phfm9dm16rfjscrl1lb9xy-go2nix-nix-plugin-0.1.0.drv /nix/store/nhqmnc0xlkylvsqlvv8r36h63ixd9dzw-go2nix-nix-plugin-eval-test.drv warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user building '/nix/store/dzkj31cj70phfm9dm16rfjscrl1lb9xy-go2nix-nix-plugin-0.1.0.drv' on farm.numtide.com:50051 go2nix-nix-plugin-0.1.0> attached to the build already running on this worker go2nix-nix-plugin-0.1.0> bld1: building dzkj31cj70phfm9dm16rfjscrl1lb9xy-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/yi7bc3sn0xxi00j62amb5y1yhm8n3kmc-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/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/share/doc/go2nix-nix-plugin -DCMAKE_INSTALL_INFODIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/lib -DCMAKE_STRIP=/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin/ranlib -DCMAKE_AR=/nix/store/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0 -DRUST_LIB_DIR=/nix/store/0265ynqfr34gas5by48hwr2qjwynaj2s-go2nix-nix-plugin-core-0.1.0/lib go2nix-nix-plugin-0.1.0> -- The C compiler identification is GNU 15.2.0 go2nix-nix-plugin-0.1.0> -- The CXX compiler identification is GNU 15.2.0 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/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin/gcc - 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/788mx070y81zjlg5ipcl0cra3afviw9k-gcc-wrapper-15.2.0/bin/g++ - 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/1m05k7xgfnw6jc21xxk5681ni3ar97wf-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 go2nix-nix-plugin-0.1.0> -- Found nix-store, version 2.34.7 go2nix-nix-plugin-0.1.0> Package libcrypto was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libcrypto.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libcrypto', required by 'libarchive', not found go2nix-nix-plugin-0.1.0> Package libcrypto was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libcrypto.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libcrypto', required by 'libarchive', not found go2nix-nix-plugin-0.1.0> Package libcrypto was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libcrypto.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libcrypto', required by 'libarchive', not found go2nix-nix-plugin-0.1.0> Package libcrypto was not found in the pkg-config search path. go2nix-nix-plugin-0.1.0> Perhaps you should add the directory containing `libcrypto.pc' go2nix-nix-plugin-0.1.0> to the PKG_CONFIG_PATH environment variable go2nix-nix-plugin-0.1.0> Package 'libcrypto', required by 'libarchive', not found go2nix-nix-plugin-0.1.0> -- Found nlohmann_json: /nix/store/5i4vlg770yqgglhm2i80kz6nvckd30yl-nlohmann_json-3.12.0/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.12.0") go2nix-nix-plugin-0.1.0> -- Performing Test NIX_PRIMOP_HAS_IMPL go2nix-nix-plugin-0.1.0> -- Performing Test NIX_PRIMOP_HAS_IMPL - Success go2nix-nix-plugin-0.1.0> -- Performing Test NIX_HAS_ENSURE_LAZY_PATH_COPIED go2nix-nix-plugin-0.1.0> -- Performing Test NIX_HAS_ENSURE_LAZY_PATH_COPIED - Failed go2nix-nix-plugin-0.1.0> -- Configuring done (9.2s) 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: /build/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: -j4 SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-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: -j4 SHELL=/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-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/q468266mk4p4bwvdv8hkmng945dzcnpi-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> shrinking RPATHs of ELF executables and libraries in /nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0 go2nix-nix-plugin-0.1.0> shrinking /nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/lib/nix/plugins/libgo2nix_plugin.so go2nix-nix-plugin-0.1.0> checking for references to /build/ in /nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0... go2nix-nix-plugin-0.1.0> patching script interpreter paths in /nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0 go2nix-nix-plugin-0.1.0> stripping (with command strip and flags -S -p) in /nix/store/q468266mk4p4bwvdv8hkmng945dzcnpi-go2nix-nix-plugin-0.1.0/lib building '/nix/store/nhqmnc0xlkylvsqlvv8r36h63ixd9dzw-go2nix-nix-plugin-eval-test.drv' on farm.numtide.com:50051 go2nix-nix-plugin-eval-test> bld1: building nhqmnc0xlkylvsqlvv8r36h63ixd9dzw-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 263 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 692 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 1039 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 2112 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