formatelf-tests-0.2.1
checks.x86_64-linux.tests
· build #21
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/0iza5wqx9ym3bczmyp4vm034gk786hhs-ybndkhsj8gl436i313pzkr9fb6p7d510-source3source root is ybndkhsj8gl436i313pzkr9fb6p7d510-source4Executing cargoSetupPostUnpackHook5Finished cargoSetupPostUnpackHookpatchPhase
6Executing cargoSetupPostPatchHook7Validating consistency between /build/ybndkhsj8gl436i313pzkr9fb6p7d510-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 quote v1.0.4613 Compiling libc v0.2.18614 Compiling unicode-ident v1.0.2415 Compiling getrandom v0.3.416 Compiling rustix v1.1.417 Compiling object v0.36.718 Compiling cfg-if v1.0.419 Compiling thiserror v2.0.1820 Compiling linux-raw-sys v0.12.121 Compiling bitflags v2.13.022 Compiling once_cell v1.21.423 Compiling memchr v2.8.224 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/ybndkhsj8gl436i313pzkr9fb6p7d510-source)31 Finished `release` profile [optimized] target(s) in 7.13s32Finished 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 fastrand v2.4.146 Compiling memchr v2.8.247 Compiling once_cell v1.21.448 Compiling unarray v0.1.449 Compiling regex-syntax v0.8.1150 Compiling lexopt v0.3.251 Compiling condtype v1.3.052 Compiling regex-lite v0.1.953 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_xorshift v0.4.059 Compiling rand v0.9.460 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/ybndkhsj8gl436i313pzkr9fb6p7d510-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 10.19s73 Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/formatelf-e3cd34700c6cbe27)7475running 22 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::help_and_version ... ok80test cli::tests::page_size_rejects_zero ... ok81test codec::tests::extended_counts_use_section0_escapes ... ok82test codec::tests::elf32_rejects_oversized_offset ... ok83test codec::tests::reads_phdr_at_unaligned_offset ... ok84test cli::tests::at_file_indirection ... ok85test cli::tests::preserves_operation_order ... ok86test autoformatelf::tests::collect_files_is_sorted ... ok87test ops::tests::execstack_char_reflects_pf_x ... ok88test ops::tests::os_abi_table_is_consistent ... ok89test ops::tests::with_execstack_toggles_only_pf_x ... ok90test parser::tests::vaddr_to_off_handles_address_overflow ... ok91test ir::codec_tests::u16_roundtrips ... ok92test ir::codec_tests::u64_roundtrips ... ok93test ir::codec_tests::u32_roundtrips ... ok94test cli::tests::replace_needed_takes_two_values ... ok95test rpath::tests::drops_absolute_when_rejected ... ok96test rpath::tests::keeps_all_nonempty_when_accepted ... ok97test autoformatelf::tests::par_map_keeps_input_order ... ok9899test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s100101 Running tests/autoformatelf.rs (target/x86_64-unknown-linux-gnu/release/deps/autoformatelf-7a688e1dae726859)102103running 3 tests104auto-formatelf: libc.so.6 not found, wanted by /build/ybndkhsj8gl436i313pzkr9fb6p7d510-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app105auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/ybndkhsj8gl436i313pzkr9fb6p7d510-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app106auto-formatelf: libpthread.so.0 not found, wanted by /build/ybndkhsj8gl436i313pzkr9fb6p7d510-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app107auto-formatelf: auto-formatelf could not satisfy all dependencies; add them to --libs or pass --ignore-missing108test auto_formatelf_sets_interpreter_and_rpath ... ok109auto-formatelf: ignoring missing libc.so.6 wanted by /build/ybndkhsj8gl436i313pzkr9fb6p7d510-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app110auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/ybndkhsj8gl436i313pzkr9fb6p7d510-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app111auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/ybndkhsj8gl436i313pzkr9fb6p7d510-source/target/x86_64-unknown-linux-gnu/tmp/autofe-missing/bin/app112test auto_formatelf_reports_unresolved_dependencies ... ok113test auto_formatelf_resolves_duplicate_libraries_in_search_order ... ok114115test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s116117 Running tests/bun_template.rs (target/x86_64-unknown-linux-gnu/release/deps/bun_template-4079da2f7fb69f00)118119running 1 test120test patched_bun_template_still_compiles_and_runs ... ok121122test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s123124 Running tests/codec_roundtrip.rs (target/x86_64-unknown-linux-gnu/release/deps/codec_roundtrip-ab69391413707e5a)125126running 1 test127test roundtrip_all_fixtures ... ok128129test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s130131 Running tests/cross_exec.rs (target/x86_64-unknown-linux-gnu/release/deps/cross_exec-4e4175b51789887e)132133running 2 tests134test aarch64_little_endian ... ok135test ppc64_big_endian ... ok136137test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s138139 Running tests/entry_stub.rs (target/x86_64-unknown-linux-gnu/release/deps/entry_stub-ef8c63778e77b651)140141running 4 tests142formatelf: entry stub must be longer than its 16-byte header143test rejects_short_stub ... ok144test non_pie_executable ... ok145test bun_template_prepend_layout ... ok146test pie_executable ... ok147148test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s149150 Running tests/fuzz_parse.rs (target/x86_64-unknown-linux-gnu/release/deps/fuzz_parse-057fe3e4b2279a5d)151152running 4 tests153test huge_section_count_is_rejected ... ok154test verify_does_not_overflow_on_huge_segment ... ok155test parse_never_panics_on_arbitrary_bytes ... ok156test parse_survives_corrupted_fixtures ... ok157158test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s159160 Running tests/mutating_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/mutating_ops-fd05ebdb1d76e28b)161162running 28 tests163test add_debug_tag_inserts_exactly_one ... ok164test adds_gnu_stack_segment_when_absent ... ok165test print_interpreter_works_without_section_headers ... ok166test print_needed_works_without_section_headers ... ok167test no_default_lib_sets_flag ... ok168test mips_remove_needed_fixes_rld_map_rel ... ok169test set_os_abi_changes_ident ... ok170test relayout_without_pt_phdr ... ok171test clear_symbol_version_matches_reference ... ok172test set_soname_on_shared_object ... ok173test set_rpath_on_non_pie_executable ... ok174test remove_rpath_clears_runpath_keeps_needed ... ok175test execstack_set_then_clear ... ok176test replace_needed_changes_entry ... ok177test mips_relayout_fixes_arch_specific_fields ... ok178test rename_dynamic_symbols_matches_reference ... ok179test add_rpath_appends_to_existing ... ok180test build_resolution_cache_records_unresolvable_hint ... ok181test force_rpath_uses_dt_rpath_tag ... ok182test set_interpreter_grows_and_runs ... ok183test no_clobber_appends_a_fresh_region ... ok184test shrink_rpath_drops_useless_dirs ... ok185test set_rpath_grows_and_stays_loadable ... ok186test add_then_remove_needed_round_trips ... ok187test build_resolution_cache_refreshes_in_place ... ok188test build_resolution_cache_matches_reference ... ok189test build_resolution_cache_joins_multiple_dirs ... ok190test repeated_patching_reuses_the_appended_region ... ok191192test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s193194 Running tests/print_diff.rs (target/x86_64-unknown-linux-gnu/release/deps/print_diff-18edc96b4fc9ecb3)195196running 1 test197test print_ops_match_c_patchelf ... ok198199test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s200201 Running tests/prop_ops.rs (target/x86_64-unknown-linux-gnu/release/deps/prop_ops-e1ed4f1aad493e2e)202203running 8 tests204test clear_symbol_version_is_idempotent ... ok205test flag_ops_are_idempotent ... ok206test replace_needed_roundtrip ... ok207test set_rpath_applies_and_is_idempotent ... ok208test add_then_remove_needed_restores_list ... ok209test set_soname_applies_and_is_idempotent ... ok210test set_interpreter_applies_and_is_idempotent ... ok211test remove_rpath_clears_and_is_idempotent ... ok212213test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.49s214215 Running tests/serialize_identity.rs (target/x86_64-unknown-linux-gnu/release/deps/serialize_identity-0ee0cf53371a2d11)216217running 1 test218test identity_roundtrip ... ok219220test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s221222 Running tests/trailing_overlay.rs (target/x86_64-unknown-linux-gnu/release/deps/trailing_overlay-8d066304d18194d7)223224running 1 test225test identity_preserves_trailing_overlay ... ok226227test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s228229 Running tests/unpatchable.rs (target/x86_64-unknown-linux-gnu/release/deps/unpatchable-ed92f0856692159c)230231running 2 tests232formatelf: cannot find section .dynstr233test stripped_section_less ... ok234formatelf: no .dynamic section235test static_pascal ... ok236237test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s238239 Doc-tests formatelf240241running 0 tests242243test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s244245Finished cargoCheckHookfixupPhase
246shrinking RPATHs of ELF executables and libraries in /nix/store/lp2v5jll28h6agz8080jmqh3yg2xs2sj-formatelf-tests-0.2.1247checking for references to /build/ in /nix/store/lp2v5jll28h6agz8080jmqh3yg2xs2sj-formatelf-tests-0.2.1...248patching script interpreter paths in /nix/store/lp2v5jll28h6agz8080jmqh3yg2xs2sj-formatelf-tests-0.2.1