[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#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffacebookincubator%2Ffastmod" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/facebookincubator/fastmod on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rprompt v1.0.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6f0a8bcfd5d34117c73c315b63e88d746ad652570bb04a026531d0eabcff5eb [INFO] running `Command { std: "docker" "start" "-a" "f6f0a8bcfd5d34117c73c315b63e88d746ad652570bb04a026531d0eabcff5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6f0a8bcfd5d34117c73c315b63e88d746ad652570bb04a026531d0eabcff5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f0a8bcfd5d34117c73c315b63e88d746ad652570bb04a026531d0eabcff5eb", kill_on_drop: false }` [INFO] [stdout] f6f0a8bcfd5d34117c73c315b63e88d746ad652570bb04a026531d0eabcff5eb [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb67ae759e6521b8813cb6aced15d6280620734aa11fc6d76ea1f600c374ea9b [INFO] running `Command { std: "docker" "start" "-a" "fb67ae759e6521b8813cb6aced15d6280620734aa11fc6d76ea1f600c374ea9b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rprompt v1.0.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | fn display_warning(error: &Error) -> DisplayWarning { [INFO] [stdout] | ^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 25.54s [INFO] running `Command { std: "docker" "inspect" "fb67ae759e6521b8813cb6aced15d6280620734aa11fc6d76ea1f600c374ea9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb67ae759e6521b8813cb6aced15d6280620734aa11fc6d76ea1f600c374ea9b", kill_on_drop: false }` [INFO] [stdout] fb67ae759e6521b8813cb6aced15d6280620734aa11fc6d76ea1f600c374ea9b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e06f74887e07b4e91eb63823862c1d2001110328ee2edce97e8cae495d19737 [INFO] running `Command { std: "docker" "start" "-a" "8e06f74887e07b4e91eb63823862c1d2001110328ee2edce97e8cae495d19737", 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 doc-comment v0.3.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [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 tempfile v3.19.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling fastmod v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | fn display_warning(error: &Error) -> DisplayWarning { [INFO] [stdout] | ^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.15s [INFO] running `Command { std: "docker" "inspect" "8e06f74887e07b4e91eb63823862c1d2001110328ee2edce97e8cae495d19737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e06f74887e07b4e91eb63823862c1d2001110328ee2edce97e8cae495d19737", kill_on_drop: false }` [INFO] [stdout] 8e06f74887e07b4e91eb63823862c1d2001110328ee2edce97e8cae495d19737 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8b5a487355651b996f35e7ab4b5f4dc52351b20ef4bb215a66ea048ac41fd61 [INFO] running `Command { std: "docker" "start" "-a" "e8b5a487355651b996f35e7ab4b5f4dc52351b20ef4bb215a66ea048ac41fd61", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/main.rs:202:27 [INFO] [stderr] | [INFO] [stderr] 202 | fn display_warning(error: &Error) -> DisplayWarning { [INFO] [stderr] | ^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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_diff_with_unchanged_line_in_middle ... ok [INFO] [stdout] test tests::test_diff_no_changes ... ok [INFO] [stdout] test tests::test_index_to_row_col ... ok [INFO] [stdout] test tests::test_fixed_strings ... ok [INFO] [stdout] test tests::test_replacement_matches_search ... ok [INFO] [stdout] test tests::test_empty_contents ... ok [INFO] [stdout] test tests::test_print_changed_files ... ok [INFO] [stdout] test tests::test_simple_replace_all ... 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_zero_length_match ... ok [INFO] [stdout] test tests::test_dollar_sign_in_replacement_string_with_fixed_strings ... ok [INFO] [stdout] test tests::test_glob_matches ... ok [INFO] [stdout] test tests::test_hidden_files ... 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.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e8b5a487355651b996f35e7ab4b5f4dc52351b20ef4bb215a66ea048ac41fd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b5a487355651b996f35e7ab4b5f4dc52351b20ef4bb215a66ea048ac41fd61", kill_on_drop: false }` [INFO] [stdout] e8b5a487355651b996f35e7ab4b5f4dc52351b20ef4bb215a66ea048ac41fd61