formatelf-tests-0.2.0
checks.aarch64-linux.tests
· build #17
· raw
1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/7lzxca38k8w46sgclacwjrdkq2zbpfpf-f1nixnfmqm0q6va2018b6fljfr9mdixy-source3source root is f1nixnfmqm0q6va2018b6fljfr9mdixy-source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHookpatchPhase
6Executing cargoSetupPostPatchHook7Validating consistency between /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-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 libc v0.2.18614 Compiling quote v1.0.4615 Compiling getrandom v0.3.416 Compiling rustix v1.1.417 Compiling object v0.36.718 Compiling bitflags v2.13.019 Compiling thiserror v2.0.1820 Compiling linux-raw-sys v0.12.121 Compiling cfg-if v1.0.422 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.0 (/build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source)31 Finished `release` profile [optimized] target(s) in 6.91s32Finished 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 clap_lex v1.1.044 Compiling anstyle v1.0.1445 Compiling fastrand v2.4.146 Compiling memchr v2.8.247 Compiling once_cell v1.21.448 Compiling lexopt v0.3.249 Compiling regex-lite v0.1.950 Compiling condtype v1.3.051 Compiling regex-syntax v0.8.1152 Compiling unarray v0.1.453 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.0 (/build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source)67 Compiling ppv-lite86 v0.2.2168 Compiling clap v4.6.169 Compiling rand_chacha v0.9.070 Compiling divan v0.1.2171 Compiling proptest v1.11.072 Finished `release` profile [optimized] target(s) in 12.54s73 Running unittests src/lib.rs (target/aarch64-unknown-linux-gnu/release/deps/formatelf-e43801d806c1b4ad)7475running 19 tests76test autoformatelf::tests::dlopen_json_groups_alternatives ... ok77test autoformatelf::tests::dlopen_json_empty_when_absent ... 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::page_size_rejects_zero ... ok82test cli::tests::preserves_operation_order ... ok83test ops::tests::execstack_char_reflects_pf_x ... ok84test cli::tests::at_file_indirection ... ok85test ops::tests::with_execstack_toggles_only_pf_x ... ok86test ops::tests::os_abi_table_is_consistent ... ok87test parser::tests::vaddr_to_off_handles_address_overflow ... ok88test codec::tests::extended_counts_use_section0_escapes ... ok89test codec::tests::elf32_rejects_oversized_offset ... ok90test ir::codec_tests::u64_roundtrips ... ok91test ir::codec_tests::u32_roundtrips ... ok92test ir::codec_tests::u16_roundtrips ... ok93test rpath::tests::drops_absolute_when_rejected ... ok94test rpath::tests::keeps_all_nonempty_when_accepted ... ok9596test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s9798 Running tests/autoformatelf.rs (target/aarch64-unknown-linux-gnu/release/deps/autoformatelf-c0312b269cb362a3)99100running 2 tests101auto-formatelf: libc.so.6 not found, wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app102auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app103auto-formatelf: libpthread.so.0 not found, wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app104auto-formatelf: auto-formatelf could not satisfy all dependencies; add them to --libs or pass --ignore-missing105test auto_formatelf_sets_interpreter_and_rpath ... ok106auto-formatelf: ignoring missing libc.so.6 wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app107auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app108auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/f1nixnfmqm0q6va2018b6fljfr9mdixy-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app109test auto_formatelf_reports_unresolved_dependencies ... ok110111test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s112113 Running tests/bun_template.rs (target/aarch64-unknown-linux-gnu/release/deps/bun_template-5cae2dd55d375fef)114115running 1 test116test patched_bun_template_still_compiles_and_runs ... ok117118test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s119120 Running tests/codec_roundtrip.rs (target/aarch64-unknown-linux-gnu/release/deps/codec_roundtrip-1bfb6106d2d89169)121122running 1 test123test roundtrip_all_fixtures ... ok124125test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s126127 Running tests/cross_exec.rs (target/aarch64-unknown-linux-gnu/release/deps/cross_exec-728ec65ac247a846)128129running 2 tests130test ppc64_big_endian ... ok131test aarch64_little_endian ... ok132133test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s134135 Running tests/entry_stub.rs (target/aarch64-unknown-linux-gnu/release/deps/entry_stub-e5b349de03d1e653)136137running 4 tests138formatelf: entry stub must be longer than its 16-byte header139test rejects_short_stub ... ok140test non_pie_executable ... ok141test bun_template_prepend_layout ... ok142test pie_executable ... ok143144test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s145146 Running tests/fuzz_parse.rs (target/aarch64-unknown-linux-gnu/release/deps/fuzz_parse-dcdacf502987db73)147148running 4 tests149test verify_does_not_overflow_on_huge_segment ... ok150test huge_section_count_is_rejected ... ok151test parse_never_panics_on_arbitrary_bytes ... ok152test parse_survives_corrupted_fixtures ... ok153154test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s155156 Running tests/mutating_ops.rs (target/aarch64-unknown-linux-gnu/release/deps/mutating_ops-a0e9355a1518b721)157158running 28 tests159test add_debug_tag_inserts_exactly_one ... ok160test print_interpreter_works_without_section_headers ... ok161test adds_gnu_stack_segment_when_absent ... ok162test print_needed_works_without_section_headers ... ok163test mips_remove_needed_fixes_rld_map_rel ... ok164test relayout_without_pt_phdr ... ok165test no_default_lib_sets_flag ... ok166test set_soname_on_shared_object ... ok167test clear_symbol_version_matches_reference ... ok168test remove_rpath_clears_runpath_keeps_needed ... ok169test set_os_abi_changes_ident ... ok170test set_rpath_on_non_pie_executable ... ok171test execstack_set_then_clear ... ok172test mips_relayout_fixes_arch_specific_fields ... ok173test replace_needed_changes_entry ... ok174test rename_dynamic_symbols_matches_reference ... ok175test force_rpath_uses_dt_rpath_tag ... ok176test build_resolution_cache_records_unresolvable_hint ... ok177test add_rpath_appends_to_existing ... ok178test set_interpreter_grows_and_runs ... ok179test shrink_rpath_drops_useless_dirs ... ok180test no_clobber_appends_a_fresh_region ... ok181test set_rpath_grows_and_stays_loadable ... ok182test add_then_remove_needed_round_trips ... ok183test build_resolution_cache_refreshes_in_place ... ok184test build_resolution_cache_joins_multiple_dirs ... ok185test build_resolution_cache_matches_reference ... ok186test repeated_patching_reuses_the_appended_region ... ok187188test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s189190 Running tests/print_diff.rs (target/aarch64-unknown-linux-gnu/release/deps/print_diff-2fa2126f7fe76495)191192running 1 test193test print_ops_match_c_patchelf ... ok194195test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s196197 Running tests/prop_ops.rs (target/aarch64-unknown-linux-gnu/release/deps/prop_ops-5f605ca2c000dd9e)198199running 8 tests200test clear_symbol_version_is_idempotent ... ok201test flag_ops_are_idempotent ... ok202test replace_needed_roundtrip ... ok203test add_then_remove_needed_restores_list ... ok204test set_soname_applies_and_is_idempotent ... ok205test set_rpath_applies_and_is_idempotent ... ok206test remove_rpath_clears_and_is_idempotent ... ok207test set_interpreter_applies_and_is_idempotent ... ok208209test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.33s210211 Running tests/serialize_identity.rs (target/aarch64-unknown-linux-gnu/release/deps/serialize_identity-a13ad8f2fd10f55b)212213running 1 test214test identity_roundtrip ... ok215216test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s217218 Running tests/trailing_overlay.rs (target/aarch64-unknown-linux-gnu/release/deps/trailing_overlay-b8388d0e36447241)219220running 1 test221test identity_preserves_trailing_overlay ... ok222223test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s224225 Running tests/unpatchable.rs (target/aarch64-unknown-linux-gnu/release/deps/unpatchable-4e891d89c0f83064)226227running 2 tests228formatelf: formatelf: cannot find section .dynstrno .dynamic section229230test stripped_section_less ... ok231test static_pascal ... ok232233test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s234235 Doc-tests formatelf236237running 0 tests238239test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s240241Finished cargoCheckHookfixupPhase
242shrinking RPATHs of ELF executables and libraries in /nix/store/zivlz3l5yw5shr3gprih6spz3ca3amzj-formatelf-tests-0.2.0243checking for references to /build/ in /nix/store/zivlz3l5yw5shr3gprih6spz3ca3amzj-formatelf-tests-0.2.0...244patching script interpreter paths in /nix/store/zivlz3l5yw5shr3gprih6spz3ca3amzj-formatelf-tests-0.2.0