[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.97.0-beta.6 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/USTC-XeF2/ironhook on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libproc v0.14.11
[INFO] [stderr]   Downloaded scroll_derive v0.13.1
[INFO] [stderr]   Downloaded proc-maps v0.4.0
[INFO] [stderr]   Downloaded bindgen v0.72.1
[INFO] [stderr]   Downloaded goblin v0.10.5
[INFO] [stderr]   Downloaded nix v0.31.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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] 128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f
[INFO] running `Command { std: "docker" "start" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", 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" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", 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" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "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 goblin v0.10.5
[INFO] [stderr]    Compiling thiserror v2.0.18
[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.68s
[INFO] running `Command { std: "docker" "inspect" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", 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" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "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 2.05s
[INFO] running `Command { std: "docker" "inspect" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", 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" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[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_b ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_adrp ... 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_bl ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_cbz ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_tbnz ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_ignored ... 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_rewrite_adr_negative ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_ldr_lit_64 ... ok
[INFO] [stdout] test arch::a64::tests::test_get_bits_32 ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_tbz ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_adr_rejects_internal_address ... ok
[INFO] [stdout] test arch::a64::tests::test_classify_ldr_lit_32 ... 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_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_bcond_forward_and_inverts_condition ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_bl ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_b_forward ... 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_ldr_lit32_uses_32_bit_load_after_pointer_load ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_ignored ... 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_simd_literal_128 ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_prfm_internal_reference_is_fixed ... ok
[INFO] [stdout] test ffi::tests::init_rejects_unsupported_modes ... ok
[INFO] [stdout] test arch::a64::tests::test_sign_extend_64 ... ok
[INFO] [stdout] test ffi::tests::null_hook_arguments_set_errno ... ok
[INFO] [stdout] test manager::tests::register_rejects_duplicate_and_remove_clears_entry ... ok
[INFO] [stdout] test memory::tests::checked_page_span_covers_unaligned_cross_page_range ... ok
[INFO] [stdout] test memory::tests::checked_page_span_rejects_zero_length_and_overflow ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_tbz ... ok
[INFO] [stdout] test arch::a64::tests::test_rewrite_tbnz_internal_target_is_fixed_to_trampoline ... ok
[INFO] [stderr] error: test failed, to rerun pass `-p ironhook --lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/ironhook-1f83eaca1ec88a81` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] running `Command { std: "docker" "inspect" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f", kill_on_drop: false }`
[INFO] [stdout] 128cd1dab4d1dd775527d4099c29570a570c9b142656daccad281e8ae2cca22f
