formatelf-tests-0.2.1
checks.x86_64-linux.tests
· build #19
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/x1dhq30jjr5wyxpk3v3gw7vbl37r0888-hzgw164j12dsrb9v2qak3xnq1h11lw82-source3source root is hzgw164j12dsrb9v2qak3xnq1h11lw82-source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHookpatchPhase
6Executing cargoSetupPostPatchHook7Validating consistency between /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock8Finished cargoSetupPostPatchHookbuildPhase
9Executing cargoBuildHook10cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release11 Compiling proc-macro2 v1.0.10612 Compiling libc v0.2.18613 Compiling quote v1.0.4614 Compiling unicode-ident v1.0.2415 Compiling getrandom v0.3.416 Compiling rustix v1.1.417 Compiling cfg-if v1.0.418 Compiling linux-raw-sys v0.12.119 Compiling thiserror v2.0.1820 Compiling bitflags v2.13.021 Compiling object v0.36.722 Compiling once_cell v1.21.423 Compiling fastrand v2.4.124 Compiling memchr v2.8.225 Compiling lexopt v0.3.226 Compiling syn v2.0.11827 Compiling memmap2 v0.9.1128 Compiling tempfile v3.27.029 Compiling thiserror-impl v2.0.1830 Compiling formatelf v0.2.1 (/build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source)31 Finished `release` profile [optimized] target(s) in 6.35s32Finished cargoBuildHookcheckPhase
33Executing cargoCheckHook34cargoCheckHook flags: -j 24 --profile release --target x86_64-unknown-linux-gnu --offline --35 Compiling getrandom v0.3.436 Compiling rustix v1.1.437 Compiling libc v0.2.18638 Compiling cfg-if v1.0.439 Compiling bitflags v2.13.040 Compiling linux-raw-sys v0.12.141 Compiling zerocopy v0.8.5242 Compiling autocfg v1.5.143 Compiling clap_lex v1.1.044 Compiling anstyle v1.0.1445 Compiling once_cell v1.21.446 Compiling fastrand v2.4.147 Compiling memchr v2.8.248 Compiling unarray v0.1.449 Compiling lexopt v0.3.250 Compiling regex-syntax v0.8.1151 Compiling regex-lite v0.1.952 Compiling condtype v1.3.053 Compiling syn v2.0.11854 Compiling num-traits v0.2.1955 Compiling object v0.36.756 Compiling memmap2 v0.9.1157 Compiling rand_core v0.9.558 Compiling rand v0.9.459 Compiling rand_xorshift v0.4.060 Compiling thiserror-impl v2.0.1861 Compiling divan-macros v0.1.2162 Compiling terminal_size v0.4.463 Compiling tempfile v3.27.064 Compiling clap_builder v4.6.065 Compiling thiserror v2.0.1866 Compiling formatelf v0.2.1 (/build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source)67 Compiling ppv-lite86 v0.2.2168 Compiling clap v4.6.169 Compiling divan v0.1.2170 Compiling rand_chacha v0.9.071 Compiling proptest v1.11.072 Finished `release` profile [optimized] target(s) in 9.88s73 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/formatelf-e3cd34700c6cbe27)7475running 20 tests76test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok77test autoformatelf::tests::dlopen_json_groups_alternatives ... ok78test autoformatelf::tests::dlopen_json_empty_when_absent ... ok79test cli::tests::page_size_rejects_zero ... ok80test cli::tests::help_and_version ... ok81test cli::tests::preserves_operation_order ... ok82test cli::tests::replace_needed_takes_two_values ... ok83test codec::tests::extended_counts_use_section0_escapes ... ok84test codec::tests::reads_phdr_at_unaligned_offset ... ok85test cli::tests::at_file_indirection ... ok86test ops::tests::execstack_char_reflects_pf_x ... ok87test ops::tests::with_execstack_toggles_only_pf_x ... ok88test parser::tests::vaddr_to_off_handles_address_overflow ... ok89test ops::tests::os_abi_table_is_consistent ... ok90test ir::codec_tests::u32_roundtrips ... ok91test ir::codec_tests::u64_roundtrips ... ok92test ir::codec_tests::u16_roundtrips ... ok93test codec::tests::elf32_rejects_oversized_offset ... ok94test rpath::tests::drops_absolute_when_rejected ... ok95test rpath::tests::keeps_all_nonempty_when_accepted ... ok9697test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s9899 Running tests/autoformatelf.rs (target/x86_64-unknown-linux-gnu/release/deps/autoformatelf-7a688e1dae726859)100101running 2 tests102auto-formatelf: libc.so.6 not found, wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app103auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app104auto-formatelf: libpthread.so.0 not found, wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app105auto-formatelf: auto-formatelf could not satisfy all dependencies; add them to --libs or pass --ignore-missing106test auto_formatelf_sets_interpreter_and_rpath ... ok107auto-formatelf: ignoring missing libc.so.6 wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app108auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app109auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app110test auto_formatelf_reports_unresolved_dependencies ... ok111112test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s113114 Running tests/bun_template.rs (target/x86_64-unknown-linux-gnu/release/deps/bun_template-4079da2f7fb69f00)115116running 1 test117test patched_bun_template_still_compiles_and_runs ... ok118119test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s120121 Running tests/codec_roundtrip.rs (target/x86_64-unknown-linux-gnu/release/deps/codec_roundtrip-ab69391413707e5a)122123running 1 test124test roundtrip_all_fixtures ... ok125126test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s127128 Running tests/cross_exec.rs (target/x86_64-unknown-linux-gnu/release/deps/cross_exec-4e4175b51789887e)129130running 2 tests131test ppc64_big_endian ... ok132test aarch64_little_endian ... ok133134test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s135136 Running tests/entry_stub.rs (target/x86_64-unknown-linux-gnu/release/deps/entry_stub-ef8c63778e77b651)137138running 4 tests139formatelf: entry stub must be longer than its 16-byte header140test rejects_short_stub ... ok141test non_pie_executable ... ok142test bun_template_prepend_layout ... ok143test pie_executable ... ok144145test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s146147 Running tests/fuzz_parse.rs (target/x86_64-unknown-linux-gnu/release/deps/fuzz_parse-057fe3e4b2279a5d)148149running 4 tests150test verify_does_not_overflow_on_huge_segment ... ok151test huge_section_count_is_rejected ... ok152test parse_never_panics_on_arbitrary_bytes ... ok153test parse_survives_corrupted_fixtures ... ok154155test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s156157 Running tests/mutating_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/mutating_ops-fd05ebdb1d76e28b)158159running 28 tests160test add_debug_tag_inserts_exactly_one ... ok161test adds_gnu_stack_segment_when_absent ... ok162test print_interpreter_works_without_section_headers ... ok163test print_needed_works_without_section_headers ... ok164test mips_remove_needed_fixes_rld_map_rel ... ok165test relayout_without_pt_phdr ... ok166test set_os_abi_changes_ident ... ok167test no_default_lib_sets_flag ... ok168test set_soname_on_shared_object ... ok169test set_rpath_on_non_pie_executable ... ok170test remove_rpath_clears_runpath_keeps_needed ... ok171test execstack_set_then_clear ... ok172test clear_symbol_version_matches_reference ... ok173test mips_relayout_fixes_arch_specific_fields ... ok174test replace_needed_changes_entry ... ok175test rename_dynamic_symbols_matches_reference ... ok176test add_rpath_appends_to_existing ... ok177test build_resolution_cache_records_unresolvable_hint ... ok178test set_interpreter_grows_and_runs ... ok179test force_rpath_uses_dt_rpath_tag ... ok180test shrink_rpath_drops_useless_dirs ... ok181test no_clobber_appends_a_fresh_region ... ok182test set_rpath_grows_and_stays_loadable ... ok183test add_then_remove_needed_round_trips ... ok184test build_resolution_cache_refreshes_in_place ... ok185test build_resolution_cache_matches_reference ... ok186test build_resolution_cache_joins_multiple_dirs ... ok187test repeated_patching_reuses_the_appended_region ... ok188189test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s190191 Running tests/print_diff.rs (target/x86_64-unknown-linux-gnu/release/deps/print_diff-18edc96b4fc9ecb3)192193running 1 test194test print_ops_match_c_patchelf ... ok195196test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s197198 Running tests/prop_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/prop_ops-e1ed4f1aad493e2e)199200running 8 tests201test clear_symbol_version_is_idempotent ... ok202test flag_ops_are_idempotent ... ok203test replace_needed_roundtrip ... ok204test set_rpath_applies_and_is_idempotent ... ok205test set_interpreter_applies_and_is_idempotent ... ok206test remove_rpath_clears_and_is_idempotent ... ok207test set_soname_applies_and_is_idempotent ... ok208test add_then_remove_needed_restores_list ... ok209210test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.67s211212 Running tests/serialize_identity.rs (target/x86_64-unknown-linux-gnu/release/deps/serialize_identity-0ee0cf53371a2d11)213214running 1 test215test identity_roundtrip ... ok216217test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s218219 Running tests/trailing_overlay.rs (target/x86_64-unknown-linux-gnu/release/deps/trailing_overlay-8d066304d18194d7)220221running 1 test222test identity_preserves_trailing_overlay ... ok223224test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s225226 Running tests/unpatchable.rs (target/x86_64-unknown-linux-gnu/release/deps/unpatchable-ed92f0856692159c)227228running 2 tests229formatelf: no .dynamic section230test static_pascal ... ok231formatelf: cannot find section .dynstr232test stripped_section_less ... ok233234test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s235236 Doc-tests formatelf237238running 0 tests239240test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s241242Finished cargoCheckHookfixupPhase
243shrinking RPATHs of ELF executables and libraries in /nix/store/cg6m2ncbxf520rw8qggsf13b4dq4imjj-formatelf-tests-0.2.1244checking for references to /build/ in /nix/store/cg6m2ncbxf520rw8qggsf13b4dq4imjj-formatelf-tests-0.2.1...245patching script interpreter paths in /nix/store/cg6m2ncbxf520rw8qggsf13b4dq4imjj-formatelf-tests-0.2.1