tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/7lzxca38k8w46sgclacwjrdkq2zbpfpf-f1nixnfmqm0q6va2018b6fljfr9mdixy-source source root is f1nixnfmqm0q6va2018b6fljfr9mdixy-source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-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 quote v1.0.46 Compiling unicode-ident v1.0.24 Compiling rustix v1.1.4 Compiling getrandom v0.3.4 Compiling bitflags v2.13.0 Compiling object v0.36.7 Compiling cfg-if v1.0.4 Compiling thiserror v2.0.18 Compiling linux-raw-sys v0.12.1 Compiling once_cell v1.21.4 Compiling memchr v2.8.2 Compiling fastrand v2.4.1 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.2.0 (/build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source) Finished `release` profile [optimized] target(s) in 6.38s 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 clap_lex v1.1.0 Compiling anstyle v1.0.14 Compiling memchr v2.8.2 Compiling fastrand v2.4.1 Compiling once_cell v1.21.4 Compiling lexopt v0.3.2 Compiling regex-lite v0.1.9 Compiling condtype v1.3.0 Compiling regex-syntax v0.8.11 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 thiserror v2.0.18 Compiling formatelf v0.2.0 (/build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source) Compiling ppv-lite86 v0.2.21 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 9.80s Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/formatelf-b0a15e3c7a7137ae) running 19 tests test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok test autoformatelf::tests::dlopen_json_groups_alternatives ... ok test autoformatelf::tests::dlopen_json_empty_when_absent ... ok test cli::tests::page_size_rejects_zero ... ok test cli::tests::help_and_version ... ok test cli::tests::replace_needed_takes_two_values ... 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 ir::codec_tests::u64_roundtrips ... ok test ir::codec_tests::u16_roundtrips ... ok test codec::tests::elf32_rejects_oversized_offset ... ok test codec::tests::extended_counts_use_section0_escapes ... 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-5ab9544734432fbc) running 2 tests auto-formatelf: libc.so.6 not found, wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-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/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: libpthread.so.0 not found, wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-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/f1nixnfmqm0q6va2018b6fljfr9mdixy-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/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-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.06s Running tests/bun_template.rs (target/x86_64-unknown-linux-gnu/release/deps/bun_template-234b9c568072bd00) 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.03s Running tests/codec_roundtrip.rs (target/x86_64-unknown-linux-gnu/release/deps/codec_roundtrip-51780c9d1f98b60c) 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.01s Running tests/cross_exec.rs (target/x86_64-unknown-linux-gnu/release/deps/cross_exec-824169fc1d474626) running 2 tests test aarch64_little_endian ... ok test ppc64_big_endian ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/entry_stub.rs (target/x86_64-unknown-linux-gnu/release/deps/entry_stub-9327f7d5a13dcc95) running 4 tests formatelf: entry stub must be longer than its 16-byte header test rejects_short_stub ... ok test non_pie_executable ... ok test bun_template_prepend_layout ... ok test pie_executable ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running tests/fuzz_parse.rs (target/x86_64-unknown-linux-gnu/release/deps/fuzz_parse-a689589e0de406ed) running 4 tests test verify_does_not_overflow_on_huge_segment ... ok test huge_section_count_is_rejected ... 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.07s Running tests/mutating_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/mutating_ops-317bd6d382e32c25) 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 print_needed_works_without_section_headers ... ok test no_default_lib_sets_flag ... ok test set_os_abi_changes_ident ... ok test relayout_without_pt_phdr ... ok test mips_remove_needed_fixes_rld_map_rel ... ok test set_soname_on_shared_object ... ok test clear_symbol_version_matches_reference ... ok test set_rpath_on_non_pie_executable ... ok test remove_rpath_clears_runpath_keeps_needed ... ok test execstack_set_then_clear ... ok test mips_relayout_fixes_arch_specific_fields ... ok test replace_needed_changes_entry ... ok test rename_dynamic_symbols_matches_reference ... ok test add_rpath_appends_to_existing ... ok test set_interpreter_grows_and_runs ... ok test build_resolution_cache_records_unresolvable_hint ... ok test force_rpath_uses_dt_rpath_tag ... ok test no_clobber_appends_a_fresh_region ... ok test shrink_rpath_drops_useless_dirs ... 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_matches_reference ... ok test build_resolution_cache_joins_multiple_dirs ... 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.24s Running tests/print_diff.rs (target/x86_64-unknown-linux-gnu/release/deps/print_diff-0079e6a16ac3eb66) 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.44s Running tests/prop_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/prop_ops-79323d55f606ee15) running 8 tests test clear_symbol_version_is_idempotent ... ok test flag_ops_are_idempotent ... ok test add_then_remove_needed_restores_list ... ok test set_rpath_applies_and_is_idempotent ... ok test replace_needed_roundtrip ... ok test set_soname_applies_and_is_idempotent ... ok test set_interpreter_applies_and_is_idempotent ... ok test remove_rpath_clears_and_is_idempotent ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.56s Running tests/serialize_identity.rs (target/x86_64-unknown-linux-gnu/release/deps/serialize_identity-a3b062dbc5a7189c) running 1 test test identity_roundtrip ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running tests/trailing_overlay.rs (target/x86_64-unknown-linux-gnu/release/deps/trailing_overlay-79cefc78444ef3fb) 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-2cb8b81aa58435a8) running 2 tests formatelf: cannot find section .dynstr test stripped_section_less ... ok formatelf: no .dynamic section test static_pascal ... 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/75rvs6sm81kckrg7jdki1kfp86zk6im3-formatelf-tests-0.2.0 checking for references to /build/ in /nix/store/75rvs6sm81kckrg7jdki1kfp86zk6im3-formatelf-tests-0.2.0... patching script interpreter paths in /nix/store/75rvs6sm81kckrg7jdki1kfp86zk6im3-formatelf-tests-0.2.0