[INFO] fetching crate string-patterns 0.3.9... [INFO] testing string-patterns-0.3.9 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate string-patterns 0.3.9 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate string-patterns 0.3.9 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f4cecf5055cfb137d5366da675b86edde7894bcf541a0505581eb1ca232445d [INFO] running `Command { std: "docker" "start" "-a" "1f4cecf5055cfb137d5366da675b86edde7894bcf541a0505581eb1ca232445d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f4cecf5055cfb137d5366da675b86edde7894bcf541a0505581eb1ca232445d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4cecf5055cfb137d5366da675b86edde7894bcf541a0505581eb1ca232445d", kill_on_drop: false }` [INFO] [stdout] 1f4cecf5055cfb137d5366da675b86edde7894bcf541a0505581eb1ca232445d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcc72593d5c24734dd74743ccd86e7b0269e60647ddeec3881870d4ddbf77fce [INFO] running `Command { std: "docker" "start" "-a" "dcc72593d5c24734dd74743ccd86e7b0269e60647ddeec3881870d4ddbf77fce", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [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:77 [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:98 [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:83 [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:92 [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 9.26s [INFO] running `Command { std: "docker" "inspect" "dcc72593d5c24734dd74743ccd86e7b0269e60647ddeec3881870d4ddbf77fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc72593d5c24734dd74743ccd86e7b0269e60647ddeec3881870d4ddbf77fce", kill_on_drop: false }` [INFO] [stdout] dcc72593d5c24734dd74743ccd86e7b0269e60647ddeec3881870d4ddbf77fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 971d0026125f09ba10a0dc2713f1605a9b64486ef1c8a79c4dcf5f64f90b68ec [INFO] running `Command { std: "docker" "start" "-a" "971d0026125f09ba10a0dc2713f1605a9b64486ef1c8a79c4dcf5f64f90b68ec", kill_on_drop: false }` [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_filter.rs:51:77 [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:98 [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:83 [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] [stderr] Compiling string-patterns v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_capture.rs:39:92 [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] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern_filter.rs:51:77 [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:98 [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:83 [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:92 [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 1.10s [INFO] running `Command { std: "docker" "inspect" "971d0026125f09ba10a0dc2713f1605a9b64486ef1c8a79c4dcf5f64f90b68ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "971d0026125f09ba10a0dc2713f1605a9b64486ef1c8a79c4dcf5f64f90b68ec", kill_on_drop: false }` [INFO] [stdout] 971d0026125f09ba10a0dc2713f1605a9b64486ef1c8a79c4dcf5f64f90b68ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5dfe7d2e9ca0921a8471636aa83e8225efe33419bd24606aafe7ae0ab8df11e3 [INFO] running `Command { std: "docker" "start" "-a" "5dfe7d2e9ca0921a8471636aa83e8225efe33419bd24606aafe7ae0ab8df11e3", kill_on_drop: false }` [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern_filter.rs:51:77 [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:98 [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:83 [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:92 [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.07s [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_first_match ... ok [INFO] [stdout] test test_match_with_and_without_error ... ok [INFO] [stdout] test test_first_match_count ... ok [INFO] [stdout] test test_build_regex ... ok [INFO] [stdout] test match_all_or_any_words ... ok [INFO] [stdout] test test_match_simple ... ok [INFO] [stdout] test test_pattern_count_words ... ok [INFO] [stdout] test test_pattern_matches_in_arrays ... ok [INFO] [stdout] test test_match_all ... ok [INFO] [stdout] test test_replace_many_words ... ok [INFO] [stdout] test test_pattern_filter ... ok [INFO] [stdout] test test_simple_first_replacement ... ok [INFO] [stdout] test test_pattern_capture ... ok [INFO] [stdout] test test_split_on_pattern ... ok [INFO] [stdout] test test_replace_word ... ok [INFO] [stdout] test test_vector_replacement ... ok [INFO] [stdout] test test_match_count ... ok [INFO] [stdout] test test_match_word ... ok [INFO] [stdout] test test_simple_replacement ... ok [INFO] [stdout] test test_word_bounds ... ok [INFO] [stdout] test test_pattern_match_all_conditional ... ok [INFO] [stdout] test test_replace_many ... ok [INFO] [stdout] test test_match_in_string_array ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [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" "5dfe7d2e9ca0921a8471636aa83e8225efe33419bd24606aafe7ae0ab8df11e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dfe7d2e9ca0921a8471636aa83e8225efe33419bd24606aafe7ae0ab8df11e3", kill_on_drop: false }` [INFO] [stdout] 5dfe7d2e9ca0921a8471636aa83e8225efe33419bd24606aafe7ae0ab8df11e3