this derivation will be built: /nix/store/dkmva614f1yzg113cwpyh6278qgq62yl-formatelf-tests-0.2.1.drv building '/nix/store/dkmva614f1yzg113cwpyh6278qgq62yl-formatelf-tests-0.2.1.drv' formatelf-tests-0.2.1> tribuchet: building on jamie formatelf-tests-0.2.1> Running phase: unpackPhase formatelf-tests-0.2.1> unpacking source archive /nix/store/d5kjw2rhva11j8cfgybhkndka8x336al-5jdkyhwh6i7rvyr1w4013x07nzalah9h-source formatelf-tests-0.2.1> source root is 5jdkyhwh6i7rvyr1w4013x07nzalah9h-source formatelf-tests-0.2.1> Executing cargoSetupPostUnpackHook formatelf-tests-0.2.1> Finished cargoSetupPostUnpackHook formatelf-tests-0.2.1> Running phase: patchPhase formatelf-tests-0.2.1> Executing cargoSetupPostPatchHook formatelf-tests-0.2.1> Validating consistency between /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock formatelf-tests-0.2.1> Finished cargoSetupPostPatchHook formatelf-tests-0.2.1> Running phase: updateAutotoolsGnuConfigScriptsPhase formatelf-tests-0.2.1> Running phase: configurePhase formatelf-tests-0.2.1> Running phase: buildPhase formatelf-tests-0.2.1> Executing cargoBuildHook formatelf-tests-0.2.1> cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release formatelf-tests-0.2.1> Compiling proc-macro2 v1.0.106 formatelf-tests-0.2.1> Compiling unicode-ident v1.0.24 formatelf-tests-0.2.1> Compiling quote v1.0.46 formatelf-tests-0.2.1> Compiling libc v0.2.186 formatelf-tests-0.2.1> Compiling getrandom v0.3.4 formatelf-tests-0.2.1> Compiling rustix v1.1.4 formatelf-tests-0.2.1> Compiling linux-raw-sys v0.12.1 formatelf-tests-0.2.1> Compiling bitflags v2.13.0 formatelf-tests-0.2.1> Compiling object v0.36.7 formatelf-tests-0.2.1> Compiling thiserror v2.0.18 formatelf-tests-0.2.1> Compiling cfg-if v1.0.4 formatelf-tests-0.2.1> Compiling memchr v2.8.2 formatelf-tests-0.2.1> Compiling once_cell v1.21.4 formatelf-tests-0.2.1> Compiling fastrand v2.4.1 formatelf-tests-0.2.1> Compiling lexopt v0.3.2 formatelf-tests-0.2.1> Compiling syn v2.0.118 formatelf-tests-0.2.1> Compiling memmap2 v0.9.11 formatelf-tests-0.2.1> Compiling tempfile v3.27.0 formatelf-tests-0.2.1> Compiling thiserror-impl v2.0.18 formatelf-tests-0.2.1> Compiling formatelf v0.2.1 (/build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source) formatelf-tests-0.2.1> Finished `release` profile [optimized] target(s) in 7.06s formatelf-tests-0.2.1> Finished cargoBuildHook formatelf-tests-0.2.1> Running phase: checkPhase formatelf-tests-0.2.1> Executing cargoCheckHook formatelf-tests-0.2.1> cargoCheckHook flags: -j 24 --profile release --target x86_64-unknown-linux-gnu --offline -- formatelf-tests-0.2.1> Compiling getrandom v0.3.4 formatelf-tests-0.2.1> Compiling rustix v1.1.4 formatelf-tests-0.2.1> Compiling libc v0.2.186 formatelf-tests-0.2.1> Compiling cfg-if v1.0.4 formatelf-tests-0.2.1> Compiling bitflags v2.13.0 formatelf-tests-0.2.1> Compiling linux-raw-sys v0.12.1 formatelf-tests-0.2.1> Compiling zerocopy v0.8.52 formatelf-tests-0.2.1> Compiling autocfg v1.5.1 formatelf-tests-0.2.1> Compiling anstyle v1.0.14 formatelf-tests-0.2.1> Compiling clap_lex v1.1.0 formatelf-tests-0.2.1> Compiling once_cell v1.21.4 formatelf-tests-0.2.1> Compiling fastrand v2.4.1 formatelf-tests-0.2.1> Compiling memchr v2.8.2 formatelf-tests-0.2.1> Compiling lexopt v0.3.2 formatelf-tests-0.2.1> Compiling condtype v1.3.0 formatelf-tests-0.2.1> Compiling unarray v0.1.4 formatelf-tests-0.2.1> Compiling regex-syntax v0.8.11 formatelf-tests-0.2.1> Compiling regex-lite v0.1.9 formatelf-tests-0.2.1> Compiling syn v2.0.118 formatelf-tests-0.2.1> Compiling num-traits v0.2.19 formatelf-tests-0.2.1> Compiling object v0.36.7 formatelf-tests-0.2.1> Compiling memmap2 v0.9.11 formatelf-tests-0.2.1> Compiling rand_core v0.9.5 formatelf-tests-0.2.1> Compiling rand v0.9.4 formatelf-tests-0.2.1> Compiling rand_xorshift v0.4.0 formatelf-tests-0.2.1> Compiling thiserror-impl v2.0.18 formatelf-tests-0.2.1> Compiling divan-macros v0.1.21 formatelf-tests-0.2.1> Compiling tempfile v3.27.0 formatelf-tests-0.2.1> Compiling terminal_size v0.4.4 formatelf-tests-0.2.1> Compiling clap_builder v4.6.0 formatelf-tests-0.2.1> Compiling thiserror v2.0.18 formatelf-tests-0.2.1> Compiling formatelf v0.2.1 (/build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source) formatelf-tests-0.2.1> Compiling ppv-lite86 v0.2.21 formatelf-tests-0.2.1> Compiling rand_chacha v0.9.0 formatelf-tests-0.2.1> Compiling clap v4.6.1 formatelf-tests-0.2.1> Compiling divan v0.1.21 formatelf-tests-0.2.1> Compiling proptest v1.11.0 formatelf-tests-0.2.1> Finished `release` profile [optimized] target(s) in 9.97s formatelf-tests-0.2.1> Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/formatelf-e3cd34700c6cbe27) formatelf-tests-0.2.1> formatelf-tests-0.2.1> running 22 tests formatelf-tests-0.2.1> test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok formatelf-tests-0.2.1> test autoformatelf::tests::dlopen_json_empty_when_absent ... ok formatelf-tests-0.2.1> test autoformatelf::tests::dlopen_json_groups_alternatives ... ok formatelf-tests-0.2.1> test cli::tests::help_and_version ... ok formatelf-tests-0.2.1> test cli::tests::page_size_rejects_zero ... ok formatelf-tests-0.2.1> test cli::tests::replace_needed_takes_two_values ... ok formatelf-tests-0.2.1> test codec::tests::extended_counts_use_section0_escapes ... ok formatelf-tests-0.2.1> test codec::tests::reads_phdr_at_unaligned_offset ... ok formatelf-tests-0.2.1> test codec::tests::elf32_rejects_oversized_offset ... ok formatelf-tests-0.2.1> test cli::tests::at_file_indirection ... ok formatelf-tests-0.2.1> test autoformatelf::tests::collect_files_is_sorted ... ok formatelf-tests-0.2.1> test parser::tests::vaddr_to_off_handles_address_overflow ... ok formatelf-tests-0.2.1> test ops::tests::with_execstack_toggles_only_pf_x ... ok formatelf-tests-0.2.1> test cli::tests::preserves_operation_order ... ok formatelf-tests-0.2.1> test ir::codec_tests::u16_roundtrips ... ok formatelf-tests-0.2.1> test ir::codec_tests::u32_roundtrips ... ok formatelf-tests-0.2.1> test ir::codec_tests::u64_roundtrips ... ok formatelf-tests-0.2.1> test ops::tests::execstack_char_reflects_pf_x ... ok formatelf-tests-0.2.1> test ops::tests::os_abi_table_is_consistent ... ok formatelf-tests-0.2.1> test rpath::tests::keeps_all_nonempty_when_accepted ... ok formatelf-tests-0.2.1> test rpath::tests::drops_absolute_when_rejected ... ok formatelf-tests-0.2.1> test autoformatelf::tests::par_map_keeps_input_order ... ok formatelf-tests-0.2.1> formatelf-tests-0.2.1> test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s formatelf-tests-0.2.1> formatelf-tests-0.2.1> Running tests/autoformatelf.rs (target/x86_64-unknown-linux-gnu/release/deps/autoformatelf-7a688e1dae726859) formatelf-tests-0.2.1> formatelf-tests-0.2.1> running 3 tests formatelf-tests-0.2.1> auto-formatelf: libc.so.6 not found, wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.1> auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.1> auto-formatelf: libpthread.so.0 not found, wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.1> auto-formatelf: auto-formatelf could not satisfy all dependencies; add them to --libs or pass --ignore-missing formatelf-tests-0.2.1> test auto_formatelf_sets_interpreter_and_rpath ... ok formatelf-tests-0.2.1> test auto_formatelf_resolves_duplicate_libraries_in_search_order ... FAILED formatelf-tests-0.2.1> auto-formatelf: ignoring missing libc.so.6 wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.1> auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.1> auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.1> test auto_formatelf_reports_unresolved_dependencies ... ok formatelf-tests-0.2.1> formatelf-tests-0.2.1> failures: formatelf-tests-0.2.1> formatelf-tests-0.2.1> ---- auto_formatelf_resolves_duplicate_libraries_in_search_order stdout ---- formatelf-tests-0.2.1> formatelf-tests-0.2.1> thread 'auto_formatelf_resolves_duplicate_libraries_in_search_order' (2168) panicked at tests/autoformatelf.rs:87:34: formatelf-tests-0.2.1> called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" } formatelf-tests-0.2.1> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace formatelf-tests-0.2.1> formatelf-tests-0.2.1> formatelf-tests-0.2.1> failures: formatelf-tests-0.2.1> auto_formatelf_resolves_duplicate_libraries_in_search_order formatelf-tests-0.2.1> formatelf-tests-0.2.1> test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s formatelf-tests-0.2.1> formatelf-tests-0.2.1> error: test failed, to rerun pass `--test autoformatelf` error: Cannot build '/nix/store/dkmva614f1yzg113cwpyh6278qgq62yl-formatelf-tests-0.2.1.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/qivqz70nb5jxv67axnl59m5wa22jyza1-formatelf-tests-0.2.1 Last 25 log lines: > auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app > auto-formatelf: libpthread.so.0 not found, wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app > auto-formatelf: auto-formatelf could not satisfy all dependencies; add them to --libs or pass --ignore-missing > test auto_formatelf_sets_interpreter_and_rpath ... ok > test auto_formatelf_resolves_duplicate_libraries_in_search_order ... FAILED > auto-formatelf: ignoring missing libc.so.6 wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app > auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app > auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/5jdkyhwh6i7rvyr1w4013x07nzalah9h-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app > test auto_formatelf_reports_unresolved_dependencies ... ok > > failures: > > ---- auto_formatelf_resolves_duplicate_libraries_in_search_order stdout ---- > > thread 'auto_formatelf_resolves_duplicate_libraries_in_search_order' (2168) panicked at tests/autoformatelf.rs:87:34: > called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" } > note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace > > > failures: > auto_formatelf_resolves_duplicate_libraries_in_search_order > > test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s > > error: test failed, to rerun pass `--test autoformatelf` For full logs, run: nix log /nix/store/dkmva614f1yzg113cwpyh6278qgq62yl-formatelf-tests-0.2.1.drv