[INFO] fetching crate string-patterns 0.3.9... [INFO] testing string-patterns-0.3.9 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate string-patterns 0.3.9 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate string-patterns 0.3.9 [INFO] finished tweaking crates.io crate string-patterns 0.3.9 [INFO] tweaked toml for crates.io crate string-patterns 0.3.9 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate string-patterns 0.3.9 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6aed3ba3c98b8a795fc416a0f23bb5ef44f637e2b40d1182515d4c2bddcb69 [INFO] running `Command { std: "docker" "start" "-a" "9d6aed3ba3c98b8a795fc416a0f23bb5ef44f637e2b40d1182515d4c2bddcb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6aed3ba3c98b8a795fc416a0f23bb5ef44f637e2b40d1182515d4c2bddcb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6aed3ba3c98b8a795fc416a0f23bb5ef44f637e2b40d1182515d4c2bddcb69", kill_on_drop: false }` [INFO] [stdout] 9d6aed3ba3c98b8a795fc416a0f23bb5ef44f637e2b40d1182515d4c2bddcb69 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cc2e6c123ba2c6b2a1079adad1ba7657ac34c241d4dcd809be0a9cba23f9c98 [INFO] running `Command { std: "docker" "start" "-a" "9cc2e6c123ba2c6b2a1079adad1ba7657ac34c241d4dcd809be0a9cba23f9c98", kill_on_drop: false }` [INFO] [stderr] Compiling string-patterns v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_filter.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&str> { [INFO] [stdout] | ^^ the lifetime is named here ---- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec; [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match, Match)> { [INFO] [stdout] | ^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match<'a>, Match<'a>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "9cc2e6c123ba2c6b2a1079adad1ba7657ac34c241d4dcd809be0a9cba23f9c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc2e6c123ba2c6b2a1079adad1ba7657ac34c241d4dcd809be0a9cba23f9c98", kill_on_drop: false }` [INFO] [stdout] 9cc2e6c123ba2c6b2a1079adad1ba7657ac34c241d4dcd809be0a9cba23f9c98 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87c6d552734442dde9b27531eef38ca402369a80a2223858d84c9fe2514edcd8 [INFO] running `Command { std: "docker" "start" "-a" "87c6d552734442dde9b27531eef38ca402369a80a2223858d84c9fe2514edcd8", kill_on_drop: false }` [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_filter.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&str> { [INFO] [stdout] | ^^ the lifetime is named here ---- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec; [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match, Match)> { [INFO] [stdout] | ^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match<'a>, Match<'a>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling string-patterns v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_filter.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&str> { [INFO] [stdout] | ^^ the lifetime is named here ---- the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec; [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match, Match)> { [INFO] [stdout] | ^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match<'a>, Match<'a>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "87c6d552734442dde9b27531eef38ca402369a80a2223858d84c9fe2514edcd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c6d552734442dde9b27531eef38ca402369a80a2223858d84c9fe2514edcd8", kill_on_drop: false }` [INFO] [stdout] 87c6d552734442dde9b27531eef38ca402369a80a2223858d84c9fe2514edcd8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 703d0557f6640da1de30dea38f194c8f98a8a75134b93b46c8c4907e71c69395 [INFO] running `Command { std: "docker" "start" "-a" "703d0557f6640da1de30dea38f194c8f98a8a75134b93b46c8c4907e71c69395", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern_filter.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&str> { [INFO] [stderr] | ^^ the lifetime is named here ---- the same 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 51 | fn pattern_filter(&'a self, pattern: &str, case_insensitive: bool) -> Vec<&'a str> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pattern_capture.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option; [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 9 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern_capture.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec; [INFO] [stderr] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 13 | fn pattern_matches_as_vec(&'a self, pattern: &str, case_insensitive: bool, outer: bool) -> Vec>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern_capture.rs:32:25 [INFO] [stderr] | [INFO] [stderr] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stderr] | ^^ the lifetime is named here ----- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 32 | fn pattern_last_match(&'a self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern_capture.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match, Match)> { [INFO] [stderr] | ^^ ----- ----- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 39 | fn pattern_first_last_matches(&'a self, pattern: &str, case_insensitive: bool) -> Option<(Match<'a>, Match<'a>)> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pattern_capture.rs:144:23 [INFO] [stderr] | [INFO] [stderr] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | fn pattern_captures(&self, pattern: &str, case_insensitive: bool) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `string-patterns` (lib) generated 6 warnings (run `cargo fix --lib -p string-patterns` to apply 6 suggestions) [INFO] [stderr] warning: `string-patterns` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/string_patterns-ed5bcf4acc3ba223) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-836eced10f42aac8) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test test_case_insensitive_replacement ... ok [INFO] [stdout] test test_pattern_count_words ... ok [INFO] [stdout] test test_match_simple ... ok [INFO] [stdout] test test_pattern_filter ... ok [INFO] [stdout] test test_pattern_matches_in_arrays ... ok [INFO] [stdout] test test_build_regex ... ok [INFO] [stdout] test test_simple_first_replacement ... ok [INFO] [stdout] test test_replace_word ... ok [INFO] [stdout] test test_vector_replacement ... ok [INFO] [stdout] test test_replace_many_words ... ok [INFO] [stdout] test test_simple_replacement ... ok [INFO] [stdout] test test_first_match_count ... ok [INFO] [stdout] test test_pattern_capture ... ok [INFO] [stdout] test test_match_count ... ok [INFO] [stdout] test test_split_on_pattern ... ok [INFO] [stdout] test test_match_with_and_without_error ... ok [INFO] [stdout] test test_word_bounds ... ok [INFO] [stdout] test match_all_or_any_words ... ok [INFO] [stdout] test test_match_word ... ok [INFO] [stdout] test test_match_all ... ok [INFO] [stdout] test test_replace_many ... ok [INFO] [stdout] test test_match_in_string_array ... ok [INFO] [stdout] test test_first_match ... ok [INFO] [stdout] test test_pattern_match_all_conditional ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests string_patterns [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "703d0557f6640da1de30dea38f194c8f98a8a75134b93b46c8c4907e71c69395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703d0557f6640da1de30dea38f194c8f98a8a75134b93b46c8c4907e71c69395", kill_on_drop: false }` [INFO] [stdout] 703d0557f6640da1de30dea38f194c8f98a8a75134b93b46c8c4907e71c69395