[INFO] fetching crate sreplace 0.9.5... [INFO] testing sreplace-0.9.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sreplace 0.9.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sreplace 0.9.5 [INFO] finished tweaking crates.io crate sreplace 0.9.5 [INFO] tweaked toml for crates.io crate sreplace 0.9.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sreplace 0.9.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sreplace 0.9.5 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.13 [INFO] [stderr] Downloaded assert_fs v1.1.0 [INFO] [stderr] Downloaded clap-verbosity-flag v2.1.1 [INFO] [stderr] Downloaded strsim v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9252f363d4414c97b9edd8ecbd2f2068e7225221907db232a6afc09f7a2f2ca4 [INFO] running `Command { std: "docker" "start" "-a" "9252f363d4414c97b9edd8ecbd2f2068e7225221907db232a6afc09f7a2f2ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9252f363d4414c97b9edd8ecbd2f2068e7225221907db232a6afc09f7a2f2ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9252f363d4414c97b9edd8ecbd2f2068e7225221907db232a6afc09f7a2f2ca4", kill_on_drop: false }` [INFO] [stdout] 9252f363d4414c97b9edd8ecbd2f2068e7225221907db232a6afc09f7a2f2ca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f1235b4a037bd2bcf3701961c9df4fc7613c5ba6fb6e7529e9e1e413ce4eaf [INFO] running `Command { std: "docker" "start" "-a" "c4f1235b4a037bd2bcf3701961c9df4fc7613c5ba6fb6e7529e9e1e413ce4eaf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling strsim v0.10.1 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling predicates v3.0.4 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling clap v4.4.13 [INFO] [stderr] Compiling clap-verbosity-flag v2.1.1 [INFO] [stderr] Compiling assert_fs v1.1.0 [INFO] [stderr] Compiling sreplace v0.9.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.12s [INFO] running `Command { std: "docker" "inspect" "c4f1235b4a037bd2bcf3701961c9df4fc7613c5ba6fb6e7529e9e1e413ce4eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f1235b4a037bd2bcf3701961c9df4fc7613c5ba6fb6e7529e9e1e413ce4eaf", kill_on_drop: false }` [INFO] [stdout] c4f1235b4a037bd2bcf3701961c9df4fc7613c5ba6fb6e7529e9e1e413ce4eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53eca42a635b93f2065b723704e1ae8e22ac5c047440b01273b4f83e32675b61 [INFO] running `Command { std: "docker" "start" "-a" "53eca42a635b93f2065b723704e1ae8e22ac5c047440b01273b4f83e32675b61", kill_on_drop: false }` [INFO] [stderr] Compiling sreplace v0.9.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "53eca42a635b93f2065b723704e1ae8e22ac5c047440b01273b4f83e32675b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53eca42a635b93f2065b723704e1ae8e22ac5c047440b01273b4f83e32675b61", kill_on_drop: false }` [INFO] [stdout] 53eca42a635b93f2065b723704e1ae8e22ac5c047440b01273b4f83e32675b61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 930080d99204c694d5df047f4ec97c350b3a51b8520cea530dd15d98e3b371d1 [INFO] running `Command { std: "docker" "start" "-a" "930080d99204c694d5df047f4ec97c350b3a51b8520cea530dd15d98e3b371d1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sr-bb33e872fe7f8066) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test core::tests::test_into_working_file ... ok [INFO] [stdout] test core::tests::test_clean_residual_files ... ok [INFO] [stdout] test core::tests::test_enable_dry_run ... ok [INFO] [stdout] test core::tests::test_replace_string_all ... ok [INFO] [stdout] test core::tests::test_replace_string_all_case_insensitive ... ok [INFO] [stdout] test core::tests::test_replace_regex_all ... ok [INFO] [stdout] test utils::file::tests::test_has_extension ... ok [INFO] [stdout] test tests::file_doesnt_exist ... ok [INFO] [stdout] test tests::replace_strings ... ok [INFO] [stdout] test tests::no_replacement ... ok [INFO] [stdout] test tests::replace_in_dir ... ok [INFO] [stdout] test tests::matching_extension ... ok [INFO] [stdout] test utils::string::tests::test_ireplace_all ... ok [INFO] [stdout] test core::tests::test_replace_regex_all_case_insensitive ... ok [INFO] [stdout] test utils::thread::tests::test_max_threads ... ok [INFO] [stdout] test utils::string::tests::test_replace_all ... ok [INFO] [stdout] test tests::replace_regex ... ok [INFO] [stdout] test utils::string::tests::bench_replace_all_native ... ok [INFO] [stdout] test utils::string::tests::bench_replace_all_home_made ... ok [INFO] [stdout] test utils::string::tests::bench_ireplace_all_home_made ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "930080d99204c694d5df047f4ec97c350b3a51b8520cea530dd15d98e3b371d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930080d99204c694d5df047f4ec97c350b3a51b8520cea530dd15d98e3b371d1", kill_on_drop: false }` [INFO] [stdout] 930080d99204c694d5df047f4ec97c350b3a51b8520cea530dd15d98e3b371d1