[INFO] cloning repository https://github.com/facebookincubator/fastmod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/facebookincubator/fastmod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffacebookincubator%2Ffastmod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffacebookincubator%2Ffastmod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0827b4c7a7bb57581411d1aa362d498929960906 [INFO] testing facebookincubator/fastmod against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffacebookincubator%2Ffastmod" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/facebookincubator/fastmod [INFO] finished tweaking git repo https://github.com/facebookincubator/fastmod [INFO] tweaked toml for git repo https://github.com/facebookincubator/fastmod written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/facebookincubator/fastmod on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/facebookincubator/fastmod 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rprompt v1.0.5 [INFO] [stderr] Downloaded errno v0.3.11 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] [stderr] Downloaded grep-searcher v0.1.14 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded grep v0.3.2 [INFO] [stderr] Downloaded bstr v1.12.0 [INFO] [stderr] Downloaded grep-regex v0.1.13 [INFO] [stderr] Downloaded grep-printer v0.2.2 [INFO] [stderr] Downloaded grep-cli v0.1.11 [INFO] [stderr] Downloaded rustix v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a15fb68c66cd1f9081d5e0ded2943828c0e42344d44e1b714c45e38c38857ea1 [INFO] running `Command { std: "docker" "start" "-a" "a15fb68c66cd1f9081d5e0ded2943828c0e42344d44e1b714c45e38c38857ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a15fb68c66cd1f9081d5e0ded2943828c0e42344d44e1b714c45e38c38857ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15fb68c66cd1f9081d5e0ded2943828c0e42344d44e1b714c45e38c38857ea1", kill_on_drop: false }` [INFO] [stdout] a15fb68c66cd1f9081d5e0ded2943828c0e42344d44e1b714c45e38c38857ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baaf8ca587bf5c45b8e7c4672d01d072753649fa691d71af577a3cd9c52790f5 [INFO] running `Command { std: "docker" "start" "-a" "baaf8ca587bf5c45b8e7c4672d01d072753649fa691d71af577a3cd9c52790f5", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rprompt v1.0.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling grep-searcher v0.1.14 [INFO] [stderr] Compiling grep-regex v0.1.13 [INFO] [stderr] Compiling grep-printer v0.2.2 [INFO] [stderr] Compiling grep-cli v0.1.11 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling grep v0.3.2 [INFO] [stderr] Compiling fastmod v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | fn display_warning(error: &Error) -> DisplayWarning { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | fn display_warning(error: &Error) -> DisplayWarning<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.89s [INFO] running `Command { std: "docker" "inspect" "baaf8ca587bf5c45b8e7c4672d01d072753649fa691d71af577a3cd9c52790f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baaf8ca587bf5c45b8e7c4672d01d072753649fa691d71af577a3cd9c52790f5", kill_on_drop: false }` [INFO] [stdout] baaf8ca587bf5c45b8e7c4672d01d072753649fa691d71af577a3cd9c52790f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3c1d3d86a3826affa7bbd53d4b71e6202309cb439f65a486b9c2c9197d48be0 [INFO] running `Command { std: "docker" "start" "-a" "e3c1d3d86a3826affa7bbd53d4b71e6202309cb439f65a486b9c2c9197d48be0", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling fastmod v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | fn display_warning(error: &Error) -> DisplayWarning { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | fn display_warning(error: &Error) -> DisplayWarning<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.32s [INFO] running `Command { std: "docker" "inspect" "e3c1d3d86a3826affa7bbd53d4b71e6202309cb439f65a486b9c2c9197d48be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c1d3d86a3826affa7bbd53d4b71e6202309cb439f65a486b9c2c9197d48be0", kill_on_drop: false }` [INFO] [stdout] e3c1d3d86a3826affa7bbd53d4b71e6202309cb439f65a486b9c2c9197d48be0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 28b5df59ecd097dc4110c8757d7b32025af4073d1bb14e8ebb55b1854436461d [INFO] running `Command { std: "docker" "start" "-a" "28b5df59ecd097dc4110c8757d7b32025af4073d1bb14e8ebb55b1854436461d", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/main.rs:202:27 [INFO] [stderr] | [INFO] [stderr] 202 | fn display_warning(error: &Error) -> DisplayWarning { [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 202 | fn display_warning(error: &Error) -> DisplayWarning<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `fastmod` (bin "fastmod" test) generated 1 warning (run `cargo fix --bin "fastmod" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fastmod-699b7c0403237ce3) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test tests::test_index_to_row_col ... ok [INFO] [stdout] test tests::test_diff_no_changes ... ok [INFO] [stdout] test tests::test_diff_with_unchanged_line_in_middle ... ok [INFO] [stdout] test tests::test_replacement_matches_search ... ok [INFO] [stdout] test tests::test_zero_length_replacement ... ok [INFO] [stdout] test tests::test_replace_next_to_unicode_character ... ok [INFO] [stdout] test tests::test_empty_contents ... ok [INFO] [stdout] test tests::test_print_changed_files ... ok [INFO] [stdout] test tests::test_zero_length_match ... ok [INFO] [stdout] test tests::test_fixed_strings ... ok [INFO] [stdout] test tests::test_simple_replace_all ... ok [INFO] [stdout] test tests::test_glob_matches ... ok [INFO] [stdout] test tests::test_hidden_files ... ok [INFO] [stdout] test tests::test_dollar_sign_in_replacement_string_with_fixed_strings ... ok [INFO] [stdout] test tests::test_no_ignore_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "28b5df59ecd097dc4110c8757d7b32025af4073d1bb14e8ebb55b1854436461d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b5df59ecd097dc4110c8757d7b32025af4073d1bb14e8ebb55b1854436461d", kill_on_drop: false }` [INFO] [stdout] 28b5df59ecd097dc4110c8757d7b32025af4073d1bb14e8ebb55b1854436461d