tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/mlbhcn6897frdks6z4ffd1f5zh812pqz-d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source source root is d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-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 aarch64-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 getrandom v0.3.4 Compiling rustix v1.1.4 Compiling thiserror v2.0.18 Compiling linux-raw-sys v0.12.1 Compiling cfg-if v1.0.4 Compiling bitflags v2.13.0 Compiling object v0.36.7 Compiling memchr v2.8.2 Compiling once_cell v1.21.4 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.2 (/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source) Finished `release` profile [optimized] target(s) in 7.29s Finished cargoBuildHook Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 24 --profile release --target aarch64-unknown-linux-gnu --offline -- Compiling getrandom v0.3.4 Compiling rustix v1.1.4 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 anstyle v1.0.14 Compiling clap_lex v1.1.0 Compiling libc v0.2.186 Compiling fastrand v2.4.1 Compiling once_cell v1.21.4 Compiling memchr v2.8.2 Compiling condtype v1.3.0 Compiling regex-syntax v0.8.11 Compiling lexopt v0.3.2 Compiling unarray v0.1.4 Compiling regex-lite v0.1.9 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 tempfile v3.27.0 Compiling terminal_size v0.4.4 Compiling clap_builder v4.6.0 Compiling thiserror v2.0.18 Compiling formatelf v0.2.2 (/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source) Compiling ppv-lite86 v0.2.21 Compiling clap v4.6.1 Compiling divan v0.1.21 Compiling rand_chacha v0.9.0 Compiling proptest v1.11.0 Finished `release` profile [optimized] target(s) in 12.61s Running unittests src/lib.rs (target/aarch64-unknown-linux-gnu/release/deps/formatelf-71be4e6d4466efdf) running 22 tests test autoformatelf::tests::dlopen_json_empty_when_absent ... ok test autoformatelf::tests::dlopen_json_groups_alternatives ... ok test autoformatelf::tests::dlopen_json_tolerates_whitespace_and_other_keys ... ok test cli::tests::help_and_version ... ok test cli::tests::page_size_rejects_zero ... ok test cli::tests::replace_needed_takes_two_values ... ok test codec::tests::elf32_rejects_oversized_offset ... ok test codec::tests::reads_phdr_at_unaligned_offset ... ok test codec::tests::extended_counts_use_section0_escapes ... ok test cli::tests::at_file_indirection ... ok test ops::tests::execstack_char_reflects_pf_x ... ok test cli::tests::preserves_operation_order ... ok test ops::tests::os_abi_table_is_consistent ... ok test ops::tests::with_execstack_toggles_only_pf_x ... ok test autoformatelf::tests::collect_files_is_sorted ... ok test parser::tests::vaddr_to_off_handles_address_overflow ... ok test ir::codec_tests::u32_roundtrips ... ok test ir::codec_tests::u16_roundtrips ... ok test ir::codec_tests::u64_roundtrips ... ok test rpath::tests::drops_absolute_when_rejected ... ok test rpath::tests::keeps_all_nonempty_when_accepted ... ok test autoformatelf::tests::par_map_keeps_input_order ... ok test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s Running tests/autoformatelf.rs (target/aarch64-unknown-linux-gnu/release/deps/autoformatelf-7a1a38640b165c92) running 3 tests auto-formatelf: libc.so.6 not found, wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: ld-linux-x86-64.so.2 not found, wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: libpthread.so.0 not found, wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-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/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: ignoring missing ld-linux-x86-64.so.2 wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app auto-formatelf: ignoring missing libpthread.so.0 wanted by /build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/autofe-missing/bin/app test auto_formatelf_reports_unresolved_dependencies ... ok test auto_formatelf_resolves_duplicate_libraries_in_search_order ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s Running tests/bun_template.rs (target/aarch64-unknown-linux-gnu/release/deps/bun_template-6f13e8fd71b75f62) 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/aarch64-unknown-linux-gnu/release/deps/codec_roundtrip-ac7b382e6db2c931) 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.02s Running tests/cross_exec.rs (target/aarch64-unknown-linux-gnu/release/deps/cross_exec-dd3db472661599f7) 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/aarch64-unknown-linux-gnu/release/deps/entry_stub-3b2ebd552048eb8e) running 5 tests formatelf: entry stub must be longer than its 16-byte header test rejects_short_stub ... ok formatelf: entry stub must be longer than its 16-byte header test non_pie_executable ... FAILED test keeps_overlay_at_the_file_end ... ok test bun_template_prepend_layout ... ok test pie_executable ... ok failures: ---- non_pie_executable stdout ---- thread 'non_pie_executable' (2261) panicked at tests/entry_stub.rs:38:5: patch ["--set-entry-stub", "/build/d3ymmpp4p6bbampq3p9qzn24p9s18bk1-source/target/aarch64-unknown-linux-gnu/tmp/entry_stub.bin"] failed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: non_pie_executable test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s error: test failed, to rerun pass `--test entry_stub`