tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/z9kk67x121w2dcqfazr4fvn9gx5zwvda-iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source source root is iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release Compiling proc-macro2 v1.0.106 Compiling libc v0.2.186 Compiling unicode-ident v1.0.24 Compiling quote v1.0.46 Compiling rustix v1.1.4 Compiling getrandom v0.3.4 Compiling cfg-if v1.0.4 Compiling thiserror v2.0.18 Compiling object v0.36.7 Compiling linux-raw-sys v0.12.1 Compiling bitflags v2.13.0 Compiling once_cell v1.21.4 Compiling fastrand v2.4.1 Compiling memchr v2.8.2 Compiling lexopt v0.3.2 Compiling syn v2.0.118 Compiling memmap2 v0.9.11 Compiling tempfile v3.27.0 Compiling thiserror-impl v2.0.18 Compiling formatelf v0.1.0 (/build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source) Finished `release` profile [optimized] target(s) in 7.39s Finished cargoBuildHook Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 24 --profile release --target x86_64-unknown-linux-gnu --offline -- Compiling getrandom v0.3.4 Compiling rustix v1.1.4 Compiling libc v0.2.186 Compiling cfg-if v1.0.4 Compiling bitflags v2.13.0 Compiling linux-raw-sys v0.12.1 Compiling zerocopy v0.8.52 Compiling autocfg v1.5.1 Compiling anstyle v1.0.14 Compiling clap_lex v1.1.0 Compiling memchr v2.8.2 Compiling once_cell v1.21.4 Compiling fastrand v2.4.1 Compiling condtype v1.3.0 Compiling regex-syntax v0.8.11 Compiling lexopt v0.3.2 Compiling regex-lite v0.1.9 Compiling unarray v0.1.4 Compiling syn v2.0.118 Compiling num-traits v0.2.19 Compiling object v0.36.7 Compiling memmap2 v0.9.11 Compiling rand_core v0.9.5 Compiling rand v0.9.4 Compiling rand_xorshift v0.4.0 Compiling thiserror-impl v2.0.18 Compiling divan-macros v0.1.21 Compiling terminal_size v0.4.4 Compiling tempfile v3.27.0 Compiling clap_builder v4.6.0 Compiling ppv-lite86 v0.2.21 Compiling thiserror v2.0.18 Compiling formatelf v0.1.0 (/build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source) Compiling clap v4.6.1 Compiling rand_chacha v0.9.0 Compiling divan v0.1.21 Compiling proptest v1.11.0 Finished `release` profile [optimized] target(s) in 10.05s Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/formatelf-bf8d4eddb200bf89) running 19 tests test autoformatelf::tests::dlopen_json_groups_alternatives ... ok test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok test autoformatelf::tests::dlopen_json_empty_when_absent ... ok test cli::tests::help_and_version ... ok test cli::tests::replace_needed_takes_two_values ... ok test cli::tests::page_size_rejects_zero ... ok test cli::tests::preserves_operation_order ... ok test cli::tests::at_file_indirection ... ok test ops::tests::execstack_char_reflects_pf_x ... ok test ops::tests::with_execstack_toggles_only_pf_x ... ok test parser::tests::vaddr_to_off_handles_address_overflow ... ok test ops::tests::os_abi_table_is_consistent ... ok test codec::tests::extended_counts_use_section0_escapes ... ok test codec::tests::elf32_rejects_oversized_offset ... ok test ir::codec_tests::u16_roundtrips ... ok test ir::codec_tests::u64_roundtrips ... ok test ir::codec_tests::u32_roundtrips ... ok test rpath::tests::drops_absolute_when_rejected ... ok test rpath::tests::keeps_all_nonempty_when_accepted ... ok test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/autoformatelf.rs (target/x86_64-unknown-linux-gnu/release/deps/autoformatelf-6cdf71c7293012b7) running 2 tests auto-formatelf: libc.so.6 not found, wanted by /build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: libpthread.so.0 not found, wanted by /build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-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 auto-formatelf: ignoring missing libc.so.6 wanted by /build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-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/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/iwj3b7sr2wak8hzf2c0kyqlq29wpa5aa-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app test auto_formatelf_reports_unresolved_dependencies ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s Running tests/bun_template.rs (target/x86_64-unknown-linux-gnu/release/deps/bun_template-ef4573fe83f0ab1a) running 1 test test patched_bun_template_still_compiles_and_runs ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Running tests/codec_roundtrip.rs (target/x86_64-unknown-linux-gnu/release/deps/codec_roundtrip-1166e7cd411aad9f) running 1 test test roundtrip_all_fixtures ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running tests/cross_exec.rs (target/x86_64-unknown-linux-gnu/release/deps/cross_exec-7d4b1796aa6fa48f) running 2 tests test ppc64_big_endian ... ok test aarch64_little_endian ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/fuzz_parse.rs (target/x86_64-unknown-linux-gnu/release/deps/fuzz_parse-2864481697319103) running 4 tests test huge_section_count_is_rejected ... ok test verify_does_not_overflow_on_huge_segment ... ok test parse_never_panics_on_arbitrary_bytes ... ok test parse_survives_corrupted_fixtures ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Running tests/mutating_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/mutating_ops-dabf2c48b087664a) running 28 tests test add_debug_tag_inserts_exactly_one ... ok test adds_gnu_stack_segment_when_absent ... ok test print_interpreter_works_without_section_headers ... ok test relayout_without_pt_phdr ... ok test print_needed_works_without_section_headers ... ok test set_os_abi_changes_ident ... ok test no_default_lib_sets_flag ... ok test mips_remove_needed_fixes_rld_map_rel ... ok test clear_symbol_version_matches_reference ... ok test set_soname_on_shared_object ... ok test set_rpath_on_non_pie_executable ... ok test remove_rpath_clears_runpath_keeps_needed ... ok test execstack_set_then_clear ... ok formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it test mips_relayout_fixes_arch_specific_fields ... ok formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it test replace_needed_changes_entry ... ok test rename_dynamic_symbols_matches_reference ... ok test build_resolution_cache_records_unresolvable_hint ... ok test add_rpath_appends_to_existing ... ok test set_interpreter_grows_and_runs ... ok formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it test force_rpath_uses_dt_rpath_tag ... ok formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it test shrink_rpath_drops_useless_dirs ... ok test no_clobber_appends_a_fresh_region ... ok test add_then_remove_needed_round_trips ... ok test set_rpath_grows_and_stays_loadable ... ok test build_resolution_cache_refreshes_in_place ... ok test build_resolution_cache_joins_multiple_dirs ... ok test build_resolution_cache_matches_reference ... ok test repeated_patching_reuses_the_appended_region ... ok test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s Running tests/overlay_relayout.rs (target/x86_64-unknown-linux-gnu/release/deps/overlay_relayout-f73a5de4b6f9ca01) running 3 tests test a_file_without_an_overlay_still_appends ... ok test a_compiled_bun_trailer_stays_at_the_file_end ... ok test an_overlay_stays_at_the_file_end ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running tests/print_diff.rs (target/x86_64-unknown-linux-gnu/release/deps/print_diff-faf67dcd78528cec) running 1 test test print_ops_match_c_patchelf ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s Running tests/prop_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/prop_ops-e0b1fe89baaa57bc) running 8 tests test clear_symbol_version_is_idempotent ... ok formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it test flag_ops_are_idempotent ... ok formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it formatelf: warning: no room below the base address to preserve the overlay at the file end; appending past it test replace_needed_roundtrip ... ok test set_soname_applies_and_is_idempotent ... ok test set_rpath_applies_and_is_idempotent ... ok test add_then_remove_needed_restores_list ... ok test remove_rpath_clears_and_is_idempotent ... ok test set_interpreter_applies_and_is_idempotent ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.50s Running tests/serialize_identity.rs (target/x86_64-unknown-linux-gnu/release/deps/serialize_identity-233e0a8b8b3feffd) running 1 test test identity_roundtrip ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running tests/trailing_overlay.rs (target/x86_64-unknown-linux-gnu/release/deps/trailing_overlay-d5d733e410fcf63c) running 1 test test identity_preserves_trailing_overlay ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/unpatchable.rs (target/x86_64-unknown-linux-gnu/release/deps/unpatchable-b089a9407b3037fe) running 2 tests formatelf: no .dynamic section formatelf: test static_pascal ... cannot find section .dynstrok test stripped_section_less ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests formatelf running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Finished cargoCheckHook Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/prlsr7bhihmm3kacylg8sw48lj3caijw-formatelf-tests-0.1.0 checking for references to /build/ in /nix/store/prlsr7bhihmm3kacylg8sw48lj3caijw-formatelf-tests-0.1.0... patching script interpreter paths in /nix/store/prlsr7bhihmm3kacylg8sw48lj3caijw-formatelf-tests-0.1.0