[INFO] cloning repository https://github.com/USTC-XeF2/ironhook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/USTC-XeF2/ironhook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUSTC-XeF2%2Fironhook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUSTC-XeF2%2Fironhook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d50ff35442807dda76e6936e713539b5fe4fef8
[INFO] testing USTC-XeF2/ironhook against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUSTC-XeF2%2Fironhook" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/USTC-XeF2/ironhook
[INFO] finished tweaking git repo https://github.com/USTC-XeF2/ironhook
[INFO] tweaked toml for git repo https://github.com/USTC-XeF2/ironhook written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/USTC-XeF2/ironhook on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/USTC-XeF2/ironhook already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae
[INFO] running `Command { std: "docker" "start" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling proc-maps v0.4.0
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling nix v0.31.2
[INFO] [stderr]    Compiling plain v0.2.3
[INFO] [stderr]    Compiling toy-app v0.1.0 (/opt/rustwide/workdir/examples/toy-app)
[INFO] [stderr]    Compiling scroll_derive v0.13.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling scroll v0.13.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling goblin v0.10.5
[INFO] [stderr]    Compiling ironhook v0.1.0 (/opt/rustwide/workdir/crates/ironhook)
[INFO] [stderr]    Compiling test-hook v0.1.0 (/opt/rustwide/workdir/examples/test-hook)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.63s
[INFO] running `Command { std: "docker" "inspect" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling ironhook v0.1.0 (/opt/rustwide/workdir/crates/ironhook)
[INFO] [stderr]    Compiling test-hook v0.1.0 (/opt/rustwide/workdir/examples/test-hook)
[INFO] [stderr]    Compiling toy-app v0.1.0 (/opt/rustwide/workdir/examples/toy-app)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ironhook-1f83eaca1ec88a81)
[INFO] [stdout] 
[INFO] [stdout] running 44 tests
[INFO] [stdout] test arch::a64::tests::test_classify_adrp ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_b ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_adr ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_bcond ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_cbnz ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_bl ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_cbz ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_ignored ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_ldr_lit_32 ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_ldr_lit_64 ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_tbnz ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_tbz ... ok
[INFO] [stdout] test arch::a64::tests::test_fix_addr ... ok
[INFO] [stdout] test arch::a64::tests::test_get_bit_32 ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_adr ... ok
[INFO] [stdout] test arch::a64::tests::test_get_bits_32 ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_adr_negative ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_adr_rejects_internal_address ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_adrp_positive_page_delta ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_adrp_rejects_internal_page ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_b_backward ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_b_forward ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_b_internal_target_is_fixed_to_trampoline ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_bcond_forward_and_inverts_condition ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_bl ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_cbnz_internal_target_is_fixed_to_trampoline ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_cbz ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_ignored ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_ldr_lit32_uses_32_bit_load_after_pointer_load ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_ldr_lit64 ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_ldr_lit_rejects_internal_data_reference ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_ldrsw_lit_uses_sign_extending_load ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_lens ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_prfm_internal_reference_is_fixed ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_simd_literal_128 ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_tbnz_internal_target_is_fixed_to_trampoline ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_tbz ... ok
[INFO] [stdout] test arch::a64::tests::test_sign_extend_64 ... ok
[INFO] [stdout] test ffi::tests::init_rejects_unsupported_modes ... ok
[INFO] [stdout] test ffi::tests::null_hook_arguments_set_errno ... ok
[INFO] [stdout] test memory::tests::checked_page_span_covers_unaligned_cross_page_range ... ok
[INFO] [stdout] test manager::tests::register_rejects_duplicate_and_remove_clears_entry ... ok
[INFO] [stdout] test memory::tests::checked_page_span_rejects_zero_length_and_overflow ... ok
[INFO] [stdout] test task::tests::test_typestate_and_active_hooks ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/demo.rs (/opt/rustwide/target/debug/deps/demo-63fa608d8e7b6f8b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/a64_rewrite_cases.rs (/opt/rustwide/target/debug/deps/a64_rewrite_cases-a78b3652b01a0a4a)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test rewrite_adrp_external_page_materializes_absolute_page ... ok
[INFO] [stdout] test sign_extend_supports_adrp_width ... ok
[INFO] [stdout] test rewrite_branch_to_internal_instruction_uses_trampoline_address ... ok
[INFO] [stdout] test rewrite_literal_load_to_internal_address_is_rejected ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/memory_cases.rs (/opt/rustwide/target/debug/deps/memory_cases-863278bace37073f)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test alloc_rejects_zero_size ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/test_hook-f9186fd593822d2e)
[INFO] [stdout] test write_instructions_can_patch_across_a_page_boundary ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toy_app-3b3502bb6c30fa5c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ironhook
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test crates/ironhook/src/builder.rs - builder::HookBuilder (line 13) ... ignored
[INFO] [stdout] test crates/ironhook/src/trampoline.rs - trampoline::Trampoline (line 9) ... ignored
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.20s; merged doctests compilation took 0.20s
[INFO] running `Command { std: "docker" "inspect" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae", kill_on_drop: false }`
[INFO] [stdout] 79def13b08c39390efa5ef4433c29e7f984dcecb7be79d4fa59adf847c22f5ae
