these 2 derivations will be built: /nix/store/g76rjv96d226b2dg677dbvrw0bszdbil-cargo-vendor-dir.drv /nix/store/8nl5ragmj69gfqrzysq0p48xsqg95psa-formatelf-tests-0.2.2.drv building '/nix/store/8nl5ragmj69gfqrzysq0p48xsqg95psa-formatelf-tests-0.2.2.drv' formatelf-tests-0.2.2> tribuchet: building on eliza formatelf-tests-0.2.2> Running phase: unpackPhase formatelf-tests-0.2.2> unpacking source archive /nix/store/mlbhcn6897frdks6z4ffd1f5zh812pqz-d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source formatelf-tests-0.2.2> source root is d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source formatelf-tests-0.2.2> Executing cargoSetupPostUnpackHook formatelf-tests-0.2.2> Finished cargoSetupPostUnpackHook formatelf-tests-0.2.2> Running phase: patchPhase formatelf-tests-0.2.2> Executing cargoSetupPostPatchHook formatelf-tests-0.2.2> Validating consistency between /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock formatelf-tests-0.2.2> Finished cargoSetupPostPatchHook formatelf-tests-0.2.2> Running phase: updateAutotoolsGnuConfigScriptsPhase formatelf-tests-0.2.2> Running phase: configurePhase formatelf-tests-0.2.2> Running phase: buildPhase formatelf-tests-0.2.2> Executing cargoBuildHook formatelf-tests-0.2.2> cargoBuildHook flags: -j 24 --target aarch64-unknown-linux-gnu --offline --profile release formatelf-tests-0.2.2> Compiling proc-macro2 v1.0.106 formatelf-tests-0.2.2> Compiling libc v0.2.186 formatelf-tests-0.2.2> Compiling quote v1.0.46 formatelf-tests-0.2.2> Compiling unicode-ident v1.0.24 formatelf-tests-0.2.2> Compiling getrandom v0.3.4 formatelf-tests-0.2.2> Compiling rustix v1.1.4 formatelf-tests-0.2.2> Compiling thiserror v2.0.18 formatelf-tests-0.2.2> Compiling linux-raw-sys v0.12.1 formatelf-tests-0.2.2> Compiling cfg-if v1.0.4 formatelf-tests-0.2.2> Compiling bitflags v2.13.0 formatelf-tests-0.2.2> Compiling object v0.36.7 formatelf-tests-0.2.2> Compiling memchr v2.8.2 formatelf-tests-0.2.2> Compiling once_cell v1.21.4 formatelf-tests-0.2.2> Compiling fastrand v2.4.1 formatelf-tests-0.2.2> Compiling lexopt v0.3.2 formatelf-tests-0.2.2> Compiling syn v2.0.118 formatelf-tests-0.2.2> Compiling memmap2 v0.9.11 formatelf-tests-0.2.2> Compiling tempfile v3.27.0 formatelf-tests-0.2.2> Compiling thiserror-impl v2.0.18 formatelf-tests-0.2.2> Compiling formatelf v0.2.2 (/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source) formatelf-tests-0.2.2> Finished `release` profile [optimized] target(s) in 7.29s formatelf-tests-0.2.2> Finished cargoBuildHook formatelf-tests-0.2.2> Running phase: checkPhase formatelf-tests-0.2.2> Executing cargoCheckHook formatelf-tests-0.2.2> cargoCheckHook flags: -j 24 --profile release --target aarch64-unknown-linux-gnu --offline -- formatelf-tests-0.2.2> Compiling getrandom v0.3.4 formatelf-tests-0.2.2> Compiling rustix v1.1.4 formatelf-tests-0.2.2> Compiling cfg-if v1.0.4 formatelf-tests-0.2.2> Compiling bitflags v2.13.0 formatelf-tests-0.2.2> Compiling linux-raw-sys v0.12.1 formatelf-tests-0.2.2> Compiling zerocopy v0.8.52 formatelf-tests-0.2.2> Compiling autocfg v1.5.1 formatelf-tests-0.2.2> Compiling anstyle v1.0.14 formatelf-tests-0.2.2> Compiling clap_lex v1.1.0 formatelf-tests-0.2.2> Compiling libc v0.2.186 formatelf-tests-0.2.2> Compiling fastrand v2.4.1 formatelf-tests-0.2.2> Compiling once_cell v1.21.4 formatelf-tests-0.2.2> Compiling memchr v2.8.2 formatelf-tests-0.2.2> Compiling condtype v1.3.0 formatelf-tests-0.2.2> Compiling regex-syntax v0.8.11 formatelf-tests-0.2.2> Compiling lexopt v0.3.2 formatelf-tests-0.2.2> Compiling unarray v0.1.4 formatelf-tests-0.2.2> Compiling regex-lite v0.1.9 formatelf-tests-0.2.2> Compiling syn v2.0.118 formatelf-tests-0.2.2> Compiling num-traits v0.2.19 formatelf-tests-0.2.2> Compiling object v0.36.7 formatelf-tests-0.2.2> Compiling memmap2 v0.9.11 formatelf-tests-0.2.2> Compiling rand_core v0.9.5 formatelf-tests-0.2.2> Compiling rand v0.9.4 formatelf-tests-0.2.2> Compiling rand_xorshift v0.4.0 formatelf-tests-0.2.2> Compiling thiserror-impl v2.0.18 formatelf-tests-0.2.2> Compiling divan-macros v0.1.21 formatelf-tests-0.2.2> Compiling tempfile v3.27.0 formatelf-tests-0.2.2> Compiling terminal_size v0.4.4 formatelf-tests-0.2.2> Compiling clap_builder v4.6.0 formatelf-tests-0.2.2> Compiling thiserror v2.0.18 formatelf-tests-0.2.2> Compiling formatelf v0.2.2 (/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source) formatelf-tests-0.2.2> Compiling ppv-lite86 v0.2.21 formatelf-tests-0.2.2> Compiling clap v4.6.1 formatelf-tests-0.2.2> Compiling divan v0.1.21 formatelf-tests-0.2.2> Compiling rand_chacha v0.9.0 formatelf-tests-0.2.2> Compiling proptest v1.11.0 formatelf-tests-0.2.2> Finished `release` profile [optimized] target(s) in 12.61s formatelf-tests-0.2.2> Running unittests src/lib.rs (target/aarch64-unknown-linux-gnu/release/deps/formatelf-71be4e6d4466efdf) formatelf-tests-0.2.2> formatelf-tests-0.2.2> running 22 tests formatelf-tests-0.2.2> test autoformatelf::tests::dlopen_json_empty_when_absent ... ok formatelf-tests-0.2.2> test autoformatelf::tests::dlopen_json_groups_alternatives ... ok formatelf-tests-0.2.2> test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok formatelf-tests-0.2.2> test cli::tests::help_and_version ... ok formatelf-tests-0.2.2> test cli::tests::page_size_rejects_zero ... ok formatelf-tests-0.2.2> test cli::tests::replace_needed_takes_two_values ... ok formatelf-tests-0.2.2> test codec::tests::elf32_rejects_oversized_offset ... ok formatelf-tests-0.2.2> test codec::tests::reads_phdr_at_unaligned_offset ... ok formatelf-tests-0.2.2> test codec::tests::extended_counts_use_section0_escapes ... ok formatelf-tests-0.2.2> test cli::tests::at_file_indirection ... ok formatelf-tests-0.2.2> test ops::tests::execstack_char_reflects_pf_x ... ok formatelf-tests-0.2.2> test cli::tests::preserves_operation_order ... ok formatelf-tests-0.2.2> test ops::tests::os_abi_table_is_consistent ... ok formatelf-tests-0.2.2> test ops::tests::with_execstack_toggles_only_pf_x ... ok formatelf-tests-0.2.2> test autoformatelf::tests::collect_files_is_sorted ... ok formatelf-tests-0.2.2> test parser::tests::vaddr_to_off_handles_address_overflow ... ok formatelf-tests-0.2.2> test ir::codec_tests::u32_roundtrips ... ok formatelf-tests-0.2.2> test ir::codec_tests::u16_roundtrips ... ok formatelf-tests-0.2.2> test ir::codec_tests::u64_roundtrips ... ok formatelf-tests-0.2.2> test rpath::tests::drops_absolute_when_rejected ... ok formatelf-tests-0.2.2> test rpath::tests::keeps_all_nonempty_when_accepted ... ok formatelf-tests-0.2.2> test autoformatelf::tests::par_map_keeps_input_order ... ok formatelf-tests-0.2.2> formatelf-tests-0.2.2> test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s formatelf-tests-0.2.2> formatelf-tests-0.2.2> Running tests/autoformatelf.rs (target/aarch64-unknown-linux-gnu/release/deps/autoformatelf-7a1a38640b165c92) formatelf-tests-0.2.2> formatelf-tests-0.2.2> running 3 tests formatelf-tests-0.2.2> auto-formatelf: libc.so.6 not found, wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.2> auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.2> auto-formatelf: libpthread.so.0 not found, wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.2> auto-formatelf: auto-formatelf could not satisfy all dependencies; add them to --libs or pass --ignore-missing formatelf-tests-0.2.2> test auto_formatelf_sets_interpreter_and_rpath ... ok formatelf-tests-0.2.2> auto-formatelf: ignoring missing libc.so.6 wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.2> auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.2> auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app formatelf-tests-0.2.2> test auto_formatelf_reports_unresolved_dependencies ... ok formatelf-tests-0.2.2> test auto_formatelf_resolves_duplicate_libraries_in_search_order ... ok formatelf-tests-0.2.2> formatelf-tests-0.2.2> test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s formatelf-tests-0.2.2> formatelf-tests-0.2.2> Running tests/bun_template.rs (target/aarch64-unknown-linux-gnu/release/deps/bun_template-6f13e8fd71b75f62) formatelf-tests-0.2.2> formatelf-tests-0.2.2> running 1 test formatelf-tests-0.2.2> test patched_bun_template_still_compiles_and_runs ... ok formatelf-tests-0.2.2> formatelf-tests-0.2.2> test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s formatelf-tests-0.2.2> formatelf-tests-0.2.2> Running tests/codec_roundtrip.rs (target/aarch64-unknown-linux-gnu/release/deps/codec_roundtrip-ac7b382e6db2c931) formatelf-tests-0.2.2> formatelf-tests-0.2.2> running 1 test formatelf-tests-0.2.2> test roundtrip_all_fixtures ... ok formatelf-tests-0.2.2> formatelf-tests-0.2.2> test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s formatelf-tests-0.2.2> formatelf-tests-0.2.2> Running tests/cross_exec.rs (target/aarch64-unknown-linux-gnu/release/deps/cross_exec-dd3db472661599f7) formatelf-tests-0.2.2> formatelf-tests-0.2.2> running 2 tests formatelf-tests-0.2.2> test aarch64_little_endian ... ok formatelf-tests-0.2.2> test ppc64_big_endian ... ok formatelf-tests-0.2.2> formatelf-tests-0.2.2> test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s formatelf-tests-0.2.2> formatelf-tests-0.2.2> Running tests/entry_stub.rs (target/aarch64-unknown-linux-gnu/release/deps/entry_stub-3b2ebd552048eb8e) formatelf-tests-0.2.2> formatelf-tests-0.2.2> running 5 tests formatelf-tests-0.2.2> formatelf: entry stub must be longer than its 16-byte header formatelf-tests-0.2.2> test rejects_short_stub ... ok formatelf-tests-0.2.2> formatelf: entry stub must be longer than its 16-byte header formatelf-tests-0.2.2> test non_pie_executable ... FAILED formatelf-tests-0.2.2> test keeps_overlay_at_the_file_end ... ok formatelf-tests-0.2.2> test bun_template_prepend_layout ... ok formatelf-tests-0.2.2> test pie_executable ... ok formatelf-tests-0.2.2> formatelf-tests-0.2.2> failures: formatelf-tests-0.2.2> formatelf-tests-0.2.2> ---- non_pie_executable stdout ---- formatelf-tests-0.2.2> formatelf-tests-0.2.2> thread 'non_pie_executable' (2261) panicked at tests/entry_stub.rs:38:5: formatelf-tests-0.2.2> patch ["--set-entry-stub", "/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/entry_stub.bin"] failed formatelf-tests-0.2.2> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace formatelf-tests-0.2.2> formatelf-tests-0.2.2> formatelf-tests-0.2.2> failures: formatelf-tests-0.2.2> non_pie_executable formatelf-tests-0.2.2> formatelf-tests-0.2.2> test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s formatelf-tests-0.2.2> formatelf-tests-0.2.2> error: test failed, to rerun pass `--test entry_stub` error: Cannot build '/nix/store/8nl5ragmj69gfqrzysq0p48xsqg95psa-formatelf-tests-0.2.2.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/4vbbhsg48nshkr1f9n6wyg16jgwrhsv3-formatelf-tests-0.2.2 Last 25 log lines: > > running 5 tests > formatelf: entry stub must be longer than its 16-byte header > test rejects_short_stub ... ok > formatelf: entry stub must be longer than its 16-byte header > test non_pie_executable ... FAILED > test keeps_overlay_at_the_file_end ... ok > test bun_template_prepend_layout ... ok > test pie_executable ... ok > > failures: > > ---- non_pie_executable stdout ---- > > thread 'non_pie_executable' (2261) panicked at tests/entry_stub.rs:38:5: > patch ["--set-entry-stub", "/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/entry_stub.bin"] failed > note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace > > > failures: > non_pie_executable > > test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s > > error: test failed, to rerun pass `--test entry_stub` For full logs, run: nix log /nix/store/8nl5ragmj69gfqrzysq0p48xsqg95psa-formatelf-tests-0.2.2.drv