formatelf-tests-0.2.1
checks.aarch64-linux.tests
· build #19
· raw
1tribuchet: building on eliza
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 aarch64-unknown-linux-gnu --offline --profile release11 Compiling proc-macro2 v1.0.10612 Compiling unicode-ident v1.0.2413 Compiling quote v1.0.4614 Compiling libc v0.2.18615 Compiling getrandom v0.3.416 Compiling rustix v1.1.417 Compiling object v0.36.718 Compiling cfg-if v1.0.419 Compiling bitflags v2.13.020 Compiling thiserror v2.0.1821 Compiling linux-raw-sys v0.12.122 Compiling memchr v2.8.223 Compiling once_cell v1.21.424 Compiling fastrand v2.4.125 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 9.19s32Finished cargoBuildHookcheckPhase
33Executing cargoCheckHook34cargoCheckHook flags: -j 24 --profile release --target aarch64-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 anstyle v1.0.1444 Compiling clap_lex v1.1.045 Compiling memchr v2.8.246 Compiling fastrand v2.4.147 Compiling once_cell v1.21.448 Compiling lexopt v0.3.249 Compiling condtype v1.3.050 Compiling regex-lite v0.1.951 Compiling unarray v0.1.452 Compiling regex-syntax v0.8.1153 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 tempfile v3.27.063 Compiling terminal_size v0.4.464 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 rand_chacha v0.9.069 Compiling proptest v1.11.070 Compiling clap v4.6.171 Compiling divan v0.1.2172 Finished `release` profile [optimized] target(s) in 15.15s73 Running unittests src/lib.rs (target/aarch64-unknown-linux-gnu/release/deps/formatelf-ff2758909cd97ac4)7475running 20 tests76test autoformatelf::tests::dlopen_json_empty_when_absent ... ok77test autoformatelf::tests::dlopen_json_groups_alternatives ... ok78test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok79test cli::tests::help_and_version ... ok80test cli::tests::replace_needed_takes_two_values ... ok81test cli::tests::preserves_operation_order ... ok82test cli::tests::page_size_rejects_zero ... ok83test ops::tests::execstack_char_reflects_pf_x ... ok84test codec::tests::elf32_rejects_oversized_offset ... ok85test codec::tests::extended_counts_use_section0_escapes ... ok86test ops::tests::with_execstack_toggles_only_pf_x ... ok87test codec::tests::reads_phdr_at_unaligned_offset ... ok88test parser::tests::vaddr_to_off_handles_address_overflow ... ok89test cli::tests::at_file_indirection ... ok90test ops::tests::os_abi_table_is_consistent ... ok91test ir::codec_tests::u32_roundtrips ... ok92test ir::codec_tests::u16_roundtrips ... ok93test ir::codec_tests::u64_roundtrips ... 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/aarch64-unknown-linux-gnu/release/deps/autoformatelf-c67d87c3ef05fd95)100101running 2 tests102auto-formatelf: libc.so.6 not found, wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app103auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app104auto-formatelf: libpthread.so.0 not found, wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/aarch64-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/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app108auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app109auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/hzgw164j12dsrb9v2qak3xnq1h11lw82-source/target/aarch64-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/aarch64-unknown-linux-gnu/release/deps/bun_template-38d35e6ee7971cec)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.06s120121 Running tests/codec_roundtrip.rs (target/aarch64-unknown-linux-gnu/release/deps/codec_roundtrip-90bdc8871ac3cc6a)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/aarch64-unknown-linux-gnu/release/deps/cross_exec-31aa33526e058100)129130running 2 tests131test aarch64_little_endian ... ok132test ppc64_big_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/aarch64-unknown-linux-gnu/release/deps/entry_stub-2945b3fb280922a6)137138running 4 tests139formatelf: entry stub must be longer than its 16-byte header140test rejects_short_stub ... ok141test bun_template_prepend_layout ... ok142test non_pie_executable ... ok143test pie_executable ... ok144145test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s146147 Running tests/fuzz_parse.rs (target/aarch64-unknown-linux-gnu/release/deps/fuzz_parse-ca0758d5497aa6c1)148149running 4 tests150test huge_section_count_is_rejected ... ok151test verify_does_not_overflow_on_huge_segment ... 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.27s156157 Running tests/mutating_ops.rs (target/aarch64-unknown-linux-gnu/release/deps/mutating_ops-a73c14fe2fddc008)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 no_default_lib_sets_flag ... ok165test set_os_abi_changes_ident ... ok166test mips_remove_needed_fixes_rld_map_rel ... ok167test relayout_without_pt_phdr ... ok168test set_soname_on_shared_object ... ok169test clear_symbol_version_matches_reference ... ok170test set_rpath_on_non_pie_executable ... ok171test remove_rpath_clears_runpath_keeps_needed ... ok172test execstack_set_then_clear ... ok173test replace_needed_changes_entry ... ok174test mips_relayout_fixes_arch_specific_fields ... ok175test add_rpath_appends_to_existing ... ok176test rename_dynamic_symbols_matches_reference ... ok177test set_interpreter_grows_and_runs ... ok178test force_rpath_uses_dt_rpath_tag ... ok179test build_resolution_cache_records_unresolvable_hint ... ok180test shrink_rpath_drops_useless_dirs ... ok181test no_clobber_appends_a_fresh_region ... ok182test add_then_remove_needed_round_trips ... ok183test set_rpath_grows_and_stays_loadable ... 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.30s190191 Running tests/print_diff.rs (target/aarch64-unknown-linux-gnu/release/deps/print_diff-351f25ff73f29691)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.55s197198 Running tests/prop_ops.rs (target/aarch64-unknown-linux-gnu/release/deps/prop_ops-4d4ea82c31adf590)199200running 8 tests201test clear_symbol_version_is_idempotent ... ok202test flag_ops_are_idempotent ... ok203test replace_needed_roundtrip ... ok204test set_interpreter_applies_and_is_idempotent ... ok205test add_then_remove_needed_restores_list ... ok206test set_soname_applies_and_is_idempotent ... ok207test remove_rpath_clears_and_is_idempotent ... ok208test set_rpath_applies_and_is_idempotent ... ok209210test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.15s211212 Running tests/serialize_identity.rs (target/aarch64-unknown-linux-gnu/release/deps/serialize_identity-307f64573b6d8609)213214running 1 test215test identity_roundtrip ... ok216217test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s218219 Running tests/trailing_overlay.rs (target/aarch64-unknown-linux-gnu/release/deps/trailing_overlay-2c3726878c470a20)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/aarch64-unknown-linux-gnu/release/deps/unpatchable-33e8bbd15d8a9618)227228running 2 tests229formatelf: no .dynamic section230formatelf: cannot find section .dynstr231test static_pascal ... ok232test 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/xh4918vdaf7hln9r1ahj5qp4gz46a6mm-formatelf-tests-0.2.1244checking for references to /build/ in /nix/store/xh4918vdaf7hln9r1ahj5qp4gz46a6mm-formatelf-tests-0.2.1...245patching script interpreter paths in /nix/store/xh4918vdaf7hln9r1ahj5qp4gz46a6mm-formatelf-tests-0.2.1