[INFO] fetching crate bstring 0.1.0... [INFO] testing bstring-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bstring 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate bstring 0.1.0 [INFO] finished tweaking crates.io crate bstring 0.1.0 [INFO] tweaked toml for crates.io crate bstring 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bstring 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref_slice v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ef6a2ad07dfe22998382727e2c2be4dd5e35a5702e798c80e9cc8de1e235cc0 [INFO] running `Command { std: "docker" "start" "-a" "7ef6a2ad07dfe22998382727e2c2be4dd5e35a5702e798c80e9cc8de1e235cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef6a2ad07dfe22998382727e2c2be4dd5e35a5702e798c80e9cc8de1e235cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef6a2ad07dfe22998382727e2c2be4dd5e35a5702e798c80e9cc8de1e235cc0", kill_on_drop: false }` [INFO] [stdout] 7ef6a2ad07dfe22998382727e2c2be4dd5e35a5702e798c80e9cc8de1e235cc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1798b29832992066013d21aac8eb57efccff87ff8ef399dd437d0ac9bcd54c5 [INFO] running `Command { std: "docker" "start" "-a" "d1798b29832992066013d21aac8eb57efccff87ff8ef399dd437d0ac9bcd54c5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ref_slice v1.2.1 [INFO] [stderr] Compiling bstring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:1555:9 [INFO] [stdout] | [INFO] [stdout] 1555 | ref_slice(self).as_ref() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | ref_slice_mut(self).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orig` is never read [INFO] [stdout] --> src/bfmt.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 103 | orig: &'a bstr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bfmt.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(fmt: &bstr) -> Parser { [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] 146 | pub fn new(fmt: &bstr) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:508:28 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn to_string_lossy(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 508 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:515:20 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn display(&self) -> Display { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 515 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn iter(&self) -> Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 599 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn iter_mut(&mut self) -> IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 607 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn lines(&self) -> Lines { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn lines(&self) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:642:66 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:662:71 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:675:72 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "d1798b29832992066013d21aac8eb57efccff87ff8ef399dd437d0ac9bcd54c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1798b29832992066013d21aac8eb57efccff87ff8ef399dd437d0ac9bcd54c5", kill_on_drop: false }` [INFO] [stdout] d1798b29832992066013d21aac8eb57efccff87ff8ef399dd437d0ac9bcd54c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ae29434fdf81991102c7cf9676a4de76950ea8919b0112745b42a79d4ff2490 [INFO] running `Command { std: "docker" "start" "-a" "8ae29434fdf81991102c7cf9676a4de76950ea8919b0112745b42a79d4ff2490", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:1555:9 [INFO] [stdout] | [INFO] [stdout] 1555 | ref_slice(self).as_ref() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | ref_slice_mut(self).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orig` is never read [INFO] [stdout] --> src/bfmt.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 103 | orig: &'a bstr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bfmt.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(fmt: &bstr) -> Parser { [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] 146 | pub fn new(fmt: &bstr) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:508:28 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn to_string_lossy(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 508 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:515:20 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn display(&self) -> Display { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 515 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn iter(&self) -> Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 599 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn iter_mut(&mut self) -> IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 607 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn lines(&self) -> Lines { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn lines(&self) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:642:66 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:662:71 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:675:72 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bstring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:1555:9 [INFO] [stdout] | [INFO] [stdout] 1555 | ref_slice(self).as_ref() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | ref_slice_mut(self).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orig` is never read [INFO] [stdout] --> src/bfmt.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 103 | orig: &'a bstr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bfmt.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(fmt: &bstr) -> Parser { [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] 146 | pub fn new(fmt: &bstr) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:508:28 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn to_string_lossy(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 508 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:515:20 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn display(&self) -> Display { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 515 | pub fn display(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn iter(&self) -> Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 599 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | pub fn iter_mut(&mut self) -> IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 607 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn lines(&self) -> Lines { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn lines(&self) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:642:66 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:662:71 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bstring.rs:675:72 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "8ae29434fdf81991102c7cf9676a4de76950ea8919b0112745b42a79d4ff2490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae29434fdf81991102c7cf9676a4de76950ea8919b0112745b42a79d4ff2490", kill_on_drop: false }` [INFO] [stdout] 8ae29434fdf81991102c7cf9676a4de76950ea8919b0112745b42a79d4ff2490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94d67948edcdef182d9d0976e70c92ec325a58fadf2eba7d906d3e1f404681d9 [INFO] running `Command { std: "docker" "start" "-a" "94d67948edcdef182d9d0976e70c92ec325a58fadf2eba7d906d3e1f404681d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stderr] --> src/bstring.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stderr] --> src/bstring.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stderr] --> src/bstring.rs:1555:9 [INFO] [stderr] | [INFO] [stderr] 1555 | ref_slice(self).as_ref() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stderr] --> src/bstring.rs:1603:9 [INFO] [stderr] | [INFO] [stderr] 1603 | ref_slice_mut(self).as_mut() [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `orig` is never read [INFO] [stderr] --> src/bfmt.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct Parser<'a> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 103 | orig: &'a bstr, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Parser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bfmt.rs:146:21 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn new(fmt: &bstr) -> Parser { [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] 146 | pub fn new(fmt: &bstr) -> Parser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:508:28 [INFO] [stderr] | [INFO] [stderr] 508 | pub fn to_string_lossy(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 508 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:515:20 [INFO] [stderr] | [INFO] [stderr] 515 | pub fn display(&self) -> Display { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 515 | pub fn display(&self) -> Display<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:599:17 [INFO] [stderr] | [INFO] [stderr] 599 | pub fn iter(&self) -> Iter { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 599 | pub fn iter(&self) -> Iter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:607:21 [INFO] [stderr] | [INFO] [stderr] 607 | pub fn iter_mut(&mut self) -> IterMut { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 607 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:618:18 [INFO] [stderr] | [INFO] [stderr] 618 | pub fn lines(&self) -> Lines { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 618 | pub fn lines(&self) -> Lines<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:642:66 [INFO] [stderr] | [INFO] [stderr] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stderr] | -- ^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named 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] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:662:71 [INFO] [stderr] | [INFO] [stderr] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr { [INFO] [stderr] | -- ^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named 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] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/bstring.rs:675:72 [INFO] [stderr] | [INFO] [stderr] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stderr] | -- ^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named 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] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a bstr [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `bstring` (lib) generated 14 warnings (run `cargo fix --lib -p bstring` to apply 9 suggestions) [INFO] [stderr] warning: `bstring` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bstring-6880d9ae3d86e878) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test bstring::test::test_boxed_bstr ... ok [INFO] [stdout] test bstring::test::test_bstr_find ... ok [INFO] [stdout] test bstring::test::test_bstr_find_bstr ... ok [INFO] [stdout] test bfmt::test::test_bformat_error ... ok [INFO] [stdout] test bstring::test::test_bstr_lines ... ok [INFO] [stdout] test bstring::test::test_bstr_partition ... ok [INFO] [stdout] test bstring::test::test_bstr_rfind ... ok [INFO] [stdout] test bfmt::test::test_bformat_iter ... ok [INFO] [stdout] test bstring::test::test_bstr_trim ... ok [INFO] [stdout] test bstring::test::test_bstr_to_bstring ... ok [INFO] [stdout] test bstring::test::test_bstring_join ... ok [INFO] [stdout] test bstring::test::test_bstring_insert_str ... ok [INFO] [stdout] test bstring::test::test_bstr_split ... ok [INFO] [stdout] test bstring::test::test_bstring_concat ... ok [INFO] [stdout] test bstring::test::test_bstr_contains ... ok [INFO] [stdout] test bstring::test::test_bstr_split_space ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests bstring [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/bfmt.rs - bfmt (line 12) ... ignored [INFO] [stdout] test src/bstring.rs - bstring::BString::insert_str (line 288) ... ok [INFO] [stdout] test src/bstring.rs - bstring::BString::join (line 78) ... ok [INFO] [stdout] test src/bstring.rs - bstring::BString::push_str (line 164) ... ok [INFO] [stdout] test src/bstring.rs - bstring::BString::truncate (line 226) ... ok [INFO] [stdout] test src/bstring.rs - bstring::bstr::partition (line 695) ... ok [INFO] [stdout] test src/bstring.rs - bstring::BString::retain (line 264) ... ok [INFO] [stdout] test src/bstring.rs - bstring::BString::concat (line 56) ... ok [INFO] [stdout] test src/bstring.rs - bstring::bstr::rpartition (line 719) ... ok [INFO] [stdout] test src/bstring.rs - bstring::bstr::split_words (line 810) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "94d67948edcdef182d9d0976e70c92ec325a58fadf2eba7d906d3e1f404681d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d67948edcdef182d9d0976e70c92ec325a58fadf2eba7d906d3e1f404681d9", kill_on_drop: false }` [INFO] [stdout] 94d67948edcdef182d9d0976e70c92ec325a58fadf2eba7d906d3e1f404681d9