[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#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffacebookincubator%2Ffastmod" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/facebookincubator/fastmod on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grep-cli v0.1.11 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded grep-regex v0.1.13 [INFO] [stderr] Downloaded grep-searcher v0.1.14 [INFO] [stderr] Downloaded grep-printer v0.2.2 [INFO] [stderr] Downloaded grep v0.3.2 [INFO] [stderr] Downloaded rprompt v1.0.5 [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c87a39f7b2d660113066f06f20ba980ccc482e564ec7aeb673fe2cc98da35d46 [INFO] running `Command { std: "docker" "start" "-a" "c87a39f7b2d660113066f06f20ba980ccc482e564ec7aeb673fe2cc98da35d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c87a39f7b2d660113066f06f20ba980ccc482e564ec7aeb673fe2cc98da35d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87a39f7b2d660113066f06f20ba980ccc482e564ec7aeb673fe2cc98da35d46", kill_on_drop: false }` [INFO] [stdout] c87a39f7b2d660113066f06f20ba980ccc482e564ec7aeb673fe2cc98da35d46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e15c01166d8cc9ab6c5478911ec1658ca5ae5efb8c0f41f8e5856b7d38c2f32 [INFO] running `Command { std: "docker" "start" "-a" "4e15c01166d8cc9ab6c5478911ec1658ca5ae5efb8c0f41f8e5856b7d38c2f32", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [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 termcolor v1.4.1 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rprompt v1.0.5 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [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.93s [INFO] running `Command { std: "docker" "inspect" "4e15c01166d8cc9ab6c5478911ec1658ca5ae5efb8c0f41f8e5856b7d38c2f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e15c01166d8cc9ab6c5478911ec1658ca5ae5efb8c0f41f8e5856b7d38c2f32", kill_on_drop: false }` [INFO] [stdout] 4e15c01166d8cc9ab6c5478911ec1658ca5ae5efb8c0f41f8e5856b7d38c2f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ac8ae1bdd089a37607a45d12fae41f39b7f93cd36db5b17a6b3c1431c4bb68 [INFO] running `Command { std: "docker" "start" "-a" "c1ac8ae1bdd089a37607a45d12fae41f39b7f93cd36db5b17a6b3c1431c4bb68", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling crossterm v0.29.0 [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 8.20s [INFO] running `Command { std: "docker" "inspect" "c1ac8ae1bdd089a37607a45d12fae41f39b7f93cd36db5b17a6b3c1431c4bb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ac8ae1bdd089a37607a45d12fae41f39b7f93cd36db5b17a6b3c1431c4bb68", kill_on_drop: false }` [INFO] [stdout] c1ac8ae1bdd089a37607a45d12fae41f39b7f93cd36db5b17a6b3c1431c4bb68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d790a92ba116c0a82fd99fc979f96942f787fbee105ce1f512ec710d5a61cbf3 [INFO] running `Command { std: "docker" "start" "-a" "d790a92ba116c0a82fd99fc979f96942f787fbee105ce1f512ec710d5a61cbf3", 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" -p fastmod --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fastmod-86096029878968c9) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test tests::test_index_to_row_col ... ok [INFO] [stdout] test tests::test_print_changed_files ... ok [INFO] [stdout] test tests::test_empty_contents ... ok [INFO] [stdout] test tests::test_diff_with_unchanged_line_in_middle ... ok [INFO] [stdout] test tests::test_diff_no_changes ... ok [INFO] [stdout] test tests::test_fixed_strings ... ok [INFO] [stdout] test tests::test_simple_replace_all ... ok [INFO] [stdout] test tests::test_replacement_matches_search ... ok [INFO] [stdout] test tests::test_replace_next_to_unicode_character ... ok [INFO] [stdout] test tests::test_zero_length_replacement ... ok [INFO] [stdout] test tests::test_glob_matches ... ok [INFO] [stdout] test tests::test_zero_length_match ... 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.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d790a92ba116c0a82fd99fc979f96942f787fbee105ce1f512ec710d5a61cbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d790a92ba116c0a82fd99fc979f96942f787fbee105ce1f512ec710d5a61cbf3", kill_on_drop: false }` [INFO] [stdout] d790a92ba116c0a82fd99fc979f96942f787fbee105ce1f512ec710d5a61cbf3