[INFO] fetching crate fastmod 0.4.4... [INFO] testing fastmod-0.4.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fastmod 0.4.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fastmod 0.4.4 [INFO] finished tweaking crates.io crate fastmod 0.4.4 [INFO] tweaked toml for crates.io crate fastmod 0.4.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastmod 0.4.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fastmod 0.4.4 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded grep-searcher v0.1.13 [INFO] [stderr] Downloaded rprompt v1.0.5 [INFO] [stderr] Downloaded assert_cmd v1.0.8 [INFO] [stderr] Downloaded grep-cli v0.1.10 [INFO] [stderr] Downloaded grep-printer v0.1.7 [INFO] [stderr] Downloaded grep v0.2.13 [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded ignore v0.4.21 [INFO] [stderr] Downloaded grep-regex v0.1.12 [INFO] [stderr] Downloaded memmap2 v0.9.0 [INFO] [stderr] Downloaded base64 v0.20.0 [INFO] [stderr] Downloaded rustix v0.38.25 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9174726c6eef29b6a57c4a072b4cd008757dae7f236675ec4e6bf7b92f222f18 [INFO] running `Command { std: "docker" "start" "-a" "9174726c6eef29b6a57c4a072b4cd008757dae7f236675ec4e6bf7b92f222f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9174726c6eef29b6a57c4a072b4cd008757dae7f236675ec4e6bf7b92f222f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9174726c6eef29b6a57c4a072b4cd008757dae7f236675ec4e6bf7b92f222f18", kill_on_drop: false }` [INFO] [stdout] 9174726c6eef29b6a57c4a072b4cd008757dae7f236675ec4e6bf7b92f222f18 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeb57fc0a7cd93598c1a7ad1e72c9dade5472484c0b6cee387e42b6984f4aebf [INFO] running `Command { std: "docker" "start" "-a" "aeb57fc0a7cd93598c1a7ad1e72c9dade5472484c0b6cee387e42b6984f4aebf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling rprompt v1.0.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling memmap2 v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.24.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling bstr v1.8.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling grep-searcher v0.1.13 [INFO] [stderr] Compiling grep-regex v0.1.12 [INFO] [stderr] Compiling grep-cli v0.1.10 [INFO] [stderr] Compiling ignore v0.4.21 [INFO] [stderr] Compiling grep-printer v0.1.7 [INFO] [stderr] Compiling grep v0.2.13 [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 53.70s [INFO] running `Command { std: "docker" "inspect" "aeb57fc0a7cd93598c1a7ad1e72c9dade5472484c0b6cee387e42b6984f4aebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb57fc0a7cd93598c1a7ad1e72c9dade5472484c0b6cee387e42b6984f4aebf", kill_on_drop: false }` [INFO] [stdout] aeb57fc0a7cd93598c1a7ad1e72c9dade5472484c0b6cee387e42b6984f4aebf [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1877aab84a4f261e001b12883f4a5eb7d9166468393e3342b2f4322d8395a70 [INFO] running `Command { std: "docker" "start" "-a" "a1877aab84a4f261e001b12883f4a5eb7d9166468393e3342b2f4322d8395a70", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling assert_cmd v1.0.8 [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 10.03s [INFO] running `Command { std: "docker" "inspect" "a1877aab84a4f261e001b12883f4a5eb7d9166468393e3342b2f4322d8395a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1877aab84a4f261e001b12883f4a5eb7d9166468393e3342b2f4322d8395a70", kill_on_drop: false }` [INFO] [stdout] a1877aab84a4f261e001b12883f4a5eb7d9166468393e3342b2f4322d8395a70 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7071cb5640a5d1d860a59daee6dbf42f6c8ac247fb4a56fc18c3486ccfe6672 [INFO] running `Command { std: "docker" "start" "-a" "c7071cb5640a5d1d860a59daee6dbf42f6c8ac247fb4a56fc18c3486ccfe6672", 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.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fastmod-24c9b40f98059951) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test tests::test_index_to_row_col ... ok [INFO] [stdout] test tests::test_fixed_strings ... ok [INFO] [stdout] test tests::test_print_changed_files ... ok [INFO] [stdout] test tests::test_replacement_matches_search ... ok [INFO] [stdout] test tests::test_diff_no_changes ... ok [INFO] [stdout] test tests::test_dollar_sign_in_replacement_string_with_fixed_strings ... ok [INFO] [stdout] test tests::test_simple_replace_all ... ok [INFO] [stdout] test tests::test_empty_contents ... ok [INFO] [stdout] test tests::test_zero_length_match ... ok [INFO] [stdout] test tests::test_diff_with_unchanged_line_in_middle ... ok [INFO] [stdout] test tests::test_glob_matches ... ok [INFO] [stdout] test tests::test_replace_next_to_unicode_character ... ok [INFO] [stdout] test tests::test_hidden_files ... ok [INFO] [stdout] test tests::test_zero_length_replacement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7071cb5640a5d1d860a59daee6dbf42f6c8ac247fb4a56fc18c3486ccfe6672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7071cb5640a5d1d860a59daee6dbf42f6c8ac247fb4a56fc18c3486ccfe6672", kill_on_drop: false }` [INFO] [stdout] c7071cb5640a5d1d860a59daee6dbf42f6c8ac247fb4a56fc18c3486ccfe6672