[INFO] fetching crate smart-patcher 0.7.0...
[INFO] testing smart-patcher-0.7.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate smart-patcher 0.7.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate smart-patcher 0.7.0
[INFO] finished tweaking crates.io crate smart-patcher 0.7.0
[INFO] tweaked toml for crates.io crate smart-patcher 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate smart-patcher 0.7.0 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate smart-patcher 0.7.0 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.100.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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32
[INFO] running `Command { std: "docker" "start" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", 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" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", 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" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling rhai_codegen v3.1.0
[INFO] [stderr]    Compiling thin-vec v0.2.16
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling difference-rs v3.2.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling lua-src v550.0.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling which v8.0.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling luajit-src v210.6.6+707c12b
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling mlua-sys v0.10.0
[INFO] [stderr]    Compiling rhai v1.24.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling mlua v0.11.6
[INFO] [stderr]    Compiling smart-patcher v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", 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" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling smart-patcher v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 5.30s
[INFO] running `Command { std: "docker" "inspect" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", 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" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/smart-patcher/36e1c0f591f09a36/out/smart_patcher-36e1c0f591f09a36)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test patch::tests::find_v3 ... ok
[INFO] [stdout] test patch::tests::find_v10 ... ok
[INFO] [stdout] test patch::tests::find_v1 ... ok
[INFO] [stdout] test patch::tests::find_v9 ... FAILED
[INFO] [stdout] test patch::tests::find_v2 ... ok
[INFO] [stdout] test patch::tests::find_v4 ... FAILED
[INFO] [stdout] test patch::tests::find_v6 ... ok
[INFO] [stdout] test patch::tests::find_v7 ... ok
[INFO] [stdout] test patch::tests::find_v5 ... FAILED
[INFO] [stdout] test patch::tests::find_v8 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- patch::tests::find_v9 stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: smart_patcher::interactive::sh::replace_by
[INFO] [stdout]    2: <smart_patcher::patch::PatchFile>::apply_patch
[INFO] [stdout]    3: <smart_patcher::patch::tests::find_v9::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    4: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    5: test::run_test::{closure#0}
[INFO] [stdout]    6: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    7: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    8: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    9: <unknown>
[INFO] [stdout]   10: clone
[INFO] [stdout] 
[INFO] [stdout] ---- patch::tests::find_v4 stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: smart_patcher::interactive::sh::find_by
[INFO] [stdout]    2: <smart_patcher::patch::PatchFile>::apply_patch
[INFO] [stdout]    3: <smart_patcher::patch::tests::find_v4::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    4: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    5: test::run_test::{closure#0}
[INFO] [stdout]    6: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    7: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    8: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    9: <unknown>
[INFO] [stdout]   10: clone
[INFO] [stdout] 
[INFO] [stdout] ---- patch::tests::find_v5 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'patch::tests::find_v5' (1216) panicked at src/patch.rs:555:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55dab16302b1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55dab1649e3a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x55dab1634e6c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x55dab160a0d6 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55dab16279a9 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x55dab12a36f0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x55dab1627cd2 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55dab160a182 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55dab1602569 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55dab160ae9d - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x55dab164a61c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55dab164a533 - core[a373ad73a504971]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x55dab164395d - core[a373ad73a504971]::panicking::assert_failed::<usize, usize>
[INFO] [stdout]   13:     0x55dab1270428 - <smart_patcher[11be4d129eafa301]::patch::tests::find_v5::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x55dab1296b3b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   15:     0x55dab12a3d15 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   16:     0x55dab129d604 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x55dab12a6da2 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x55dab162f58f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x733d6c304dfa - <unknown>
[INFO] [stdout]   20:     0x733d6c3983d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- patch::tests::find_v8 stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: smart_patcher::interactive::sh::replace_by
[INFO] [stdout]    2: <smart_patcher::patch::PatchFile>::apply_patch
[INFO] [stdout]    3: <smart_patcher::patch::tests::find_v8::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    4: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    5: test::run_test::{closure#0}
[INFO] [stdout]    6: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    7: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    8: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    9: <unknown>
[INFO] [stdout]   10: clone
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     patch::tests::find_v4
[INFO] [stdout]     patch::tests::find_v5
[INFO] [stdout]     patch::tests::find_v8
[INFO] [stdout]     patch::tests::find_v9
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32", kill_on_drop: false }`
[INFO] [stdout] 33f146f155b5d707729f9a28e351ae250633c2720bdb4882da46a98bd1985a32
