[INFO] fetching crate java_string 0.1.2... [INFO] testing java_string-0.1.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate java_string 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate java_string 0.1.2 [INFO] finished tweaking crates.io crate java_string 0.1.2 [INFO] tweaked toml for crates.io crate java_string 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate java_string 0.1.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d951fefc910b556cf7c5748f7f6dc2e469ad378067e7b98a92853f0fa44cc2 [INFO] running `Command { std: "docker" "start" "-a" "c4d951fefc910b556cf7c5748f7f6dc2e469ad378067e7b98a92853f0fa44cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d951fefc910b556cf7c5748f7f6dc2e469ad378067e7b98a92853f0fa44cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d951fefc910b556cf7c5748f7f6dc2e469ad378067e7b98a92853f0fa44cc2", kill_on_drop: false }` [INFO] [stdout] c4d951fefc910b556cf7c5748f7f6dc2e469ad378067e7b98a92853f0fa44cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3f9649318f4b9a401f0c3fdeab5a297bb7bbfbfd4b5083bacd882f46be11ded [INFO] running `Command { std: "docker" "start" "-a" "b3f9649318f4b9a401f0c3fdeab5a297bb7bbfbfd4b5083bacd882f46be11ded", kill_on_drop: false }` [INFO] [stderr] Compiling java_string v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cesu8.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [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] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cesu8.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_modified_utf8(&self) -> Cow<[u8]> { [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] 60 | pub fn to_modified_utf8(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices

[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] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:628:23 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn matches

(&self, pat: P) -> Matches

[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] 628 | pub fn matches

(&self, pat: P) -> Matches<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices

[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] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:818:24 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn rmatches

(&self, pat: P) -> RMatches

[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] 818 | pub fn rmatches

(&self, pat: P) -> RMatches<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:874:22 [INFO] [stdout] | [INFO] [stdout] 874 | pub fn rsplit

(&self, pat: P) -> RSplit

[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] 874 | pub fn rsplit

(&self, pat: P) -> RSplit<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:943:33 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator

[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] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:990:23 [INFO] [stdout] | [INFO] [stdout] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN

[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] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn split

(&self, pat: P) -> Split

[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] 1068 | pub fn split

(&self, pat: P) -> Split<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1196:31 [INFO] [stdout] | [INFO] [stdout] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive

[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] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1269:32 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator

[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] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1321:22 [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN

[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] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/slice.rs:2198:28 [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stdout] | ^^----------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/slice.rs:2198:28 [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (&(*(slice as *const [u8]))).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/slice.rs:2204:28 [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stdout] | ^^--------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/slice.rs:2204:28 [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (&(*(slice as *mut [u8]))).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "b3f9649318f4b9a401f0c3fdeab5a297bb7bbfbfd4b5083bacd882f46be11ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f9649318f4b9a401f0c3fdeab5a297bb7bbfbfd4b5083bacd882f46be11ded", kill_on_drop: false }` [INFO] [stdout] b3f9649318f4b9a401f0c3fdeab5a297bb7bbfbfd4b5083bacd882f46be11ded [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07e09d4d3573d0307cba2dbc81fed875b1820084d5410b9917747d9704efef35 [INFO] running `Command { std: "docker" "start" "-a" "07e09d4d3573d0307cba2dbc81fed875b1820084d5410b9917747d9704efef35", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cesu8.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [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] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cesu8.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_modified_utf8(&self) -> Cow<[u8]> { [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] 60 | pub fn to_modified_utf8(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices

[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] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:628:23 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn matches

(&self, pat: P) -> Matches

[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] 628 | pub fn matches

(&self, pat: P) -> Matches<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices

[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] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:818:24 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn rmatches

(&self, pat: P) -> RMatches

[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] 818 | pub fn rmatches

(&self, pat: P) -> RMatches<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:874:22 [INFO] [stdout] | [INFO] [stdout] 874 | pub fn rsplit

(&self, pat: P) -> RSplit

[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] 874 | pub fn rsplit

(&self, pat: P) -> RSplit<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:943:33 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator

[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] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:990:23 [INFO] [stdout] | [INFO] [stdout] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN

[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] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn split

(&self, pat: P) -> Split

[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] 1068 | pub fn split

(&self, pat: P) -> Split<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1196:31 [INFO] [stdout] | [INFO] [stdout] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive

[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] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1269:32 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator

[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] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1321:22 [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN

[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] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/slice.rs:2198:28 [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stdout] | ^^----------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/slice.rs:2198:28 [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (&(*(slice as *const [u8]))).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/slice.rs:2204:28 [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stdout] | ^^--------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/slice.rs:2204:28 [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (&(*(slice as *mut [u8]))).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling java_string v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cesu8.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [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] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cesu8.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_modified_utf8(&self) -> Cow<[u8]> { [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] 60 | pub fn to_modified_utf8(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices

[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] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:628:23 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn matches

(&self, pat: P) -> Matches

[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] 628 | pub fn matches

(&self, pat: P) -> Matches<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices

[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] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:818:24 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn rmatches

(&self, pat: P) -> RMatches

[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] 818 | pub fn rmatches

(&self, pat: P) -> RMatches<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:874:22 [INFO] [stdout] | [INFO] [stdout] 874 | pub fn rsplit

(&self, pat: P) -> RSplit

[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] 874 | pub fn rsplit

(&self, pat: P) -> RSplit<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:943:33 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator

[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] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:990:23 [INFO] [stdout] | [INFO] [stdout] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN

[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] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn split

(&self, pat: P) -> Split

[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] 1068 | pub fn split

(&self, pat: P) -> Split<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1196:31 [INFO] [stdout] | [INFO] [stdout] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive

[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] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1269:32 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator

[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] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:1321:22 [INFO] [stdout] | [INFO] [stdout] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN

[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] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN<'_, P> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/slice.rs:2198:28 [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stdout] | ^^----------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/slice.rs:2198:28 [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2198 | let len = unsafe { (&(*(slice as *const [u8]))).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/slice.rs:2204:28 [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stdout] | ^^--------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/slice.rs:2204:28 [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2204 | let len = unsafe { (&(*(slice as *mut [u8]))).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "07e09d4d3573d0307cba2dbc81fed875b1820084d5410b9917747d9704efef35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e09d4d3573d0307cba2dbc81fed875b1820084d5410b9917747d9704efef35", kill_on_drop: false }` [INFO] [stdout] 07e09d4d3573d0307cba2dbc81fed875b1820084d5410b9917747d9704efef35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd9d903a9645f46fe55523e6a57e2e1fbf2343713a5f4cf16fef58ebbd0610da [INFO] running `Command { std: "docker" "start" "-a" "bd9d903a9645f46fe55523e6a57e2e1fbf2343713a5f4cf16fef58ebbd0610da", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cesu8.rs:31:38 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [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] 31 | pub fn from_modified_utf8(bytes: &[u8]) -> Result, Utf8Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cesu8.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn to_modified_utf8(&self) -> Cow<[u8]> { [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] 60 | pub fn to_modified_utf8(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:588:29 [INFO] [stderr] | [INFO] [stderr] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices

[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] 588 | pub fn match_indices

(&self, pat: P) -> MatchIndices<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:628:23 [INFO] [stderr] | [INFO] [stderr] 628 | pub fn matches

(&self, pat: P) -> Matches

[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] 628 | pub fn matches

(&self, pat: P) -> Matches<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:780:30 [INFO] [stderr] | [INFO] [stderr] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices

[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] 780 | pub fn rmatch_indices

(&self, pat: P) -> RMatchIndices<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:818:24 [INFO] [stderr] | [INFO] [stderr] 818 | pub fn rmatches

(&self, pat: P) -> RMatches

[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] 818 | pub fn rmatches

(&self, pat: P) -> RMatches<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:874:22 [INFO] [stderr] | [INFO] [stderr] 874 | pub fn rsplit

(&self, pat: P) -> RSplit

[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] 874 | pub fn rsplit

(&self, pat: P) -> RSplit<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:943:33 [INFO] [stderr] | [INFO] [stderr] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator

[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] 943 | pub fn rsplit_terminator

(&self, pat: P) -> RSplitTerminator<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:990:23 [INFO] [stderr] | [INFO] [stderr] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN

[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] 990 | pub fn rsplitn

(&self, n: usize, pat: P) -> RSplitN<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:1068:21 [INFO] [stderr] | [INFO] [stderr] 1068 | pub fn split

(&self, pat: P) -> Split

[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] 1068 | pub fn split

(&self, pat: P) -> Split<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:1196:31 [INFO] [stderr] | [INFO] [stderr] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive

[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] 1196 | pub fn split_inclusive

(&self, pat: P) -> SplitInclusive<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:1269:32 [INFO] [stderr] | [INFO] [stderr] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator

[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] 1269 | pub fn split_terminator

(&self, pat: P) -> SplitTerminator<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/slice.rs:1321:22 [INFO] [stderr] | [INFO] [stderr] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN

[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] 1321 | pub fn splitn

(&self, n: usize, pat: P) -> SplitN<'_, P> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/slice.rs:2198:28 [INFO] [stderr] | [INFO] [stderr] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stderr] | ^^----------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const [u8]` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stderr] --> src/slice.rs:2198:28 [INFO] [stderr] | [INFO] [stderr] 2198 | let len = unsafe { (*(slice as *const [u8])).len() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `len` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 2198 | let len = unsafe { (&(*(slice as *const [u8]))).len() }; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/slice.rs:2204:28 [INFO] [stderr] | [INFO] [stderr] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stderr] | ^^--------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut [u8]` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stderr] --> src/slice.rs:2204:28 [INFO] [stderr] | [INFO] [stderr] 2204 | let len = unsafe { (*(slice as *mut [u8])).len() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `len` require a reference [INFO] [stderr] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/slice/mod.rs:114:5 [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 2204 | let len = unsafe { (&(*(slice as *mut [u8]))).len() }; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: `java_string` (lib) generated 15 warnings [INFO] [stderr] warning: `java_string` (lib test) generated 15 warnings (15 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/java_string-6224d76a8b0375f8) [INFO] [stderr] Doc-tests java_string [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] [stdout] [INFO] [stdout] running 68 tests [INFO] [stdout] test src/char.rs - char::JavaCodePoint::encode_utf16 (line 141) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::from_u32 (line 55) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::as_char (line 119) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::as_u32 (line 94) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::escape_default (line 308) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::to_ascii_uppercase (line 649) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::encode_semi_utf8 (line 175) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::to_ascii_lowercase (line 625) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::len_utf16 (line 560) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::len_utf8 (line 583) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::escape_unicode (line 353) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::escape_debug (line 241) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::insert (line 457) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::encode_utf16 (line 157) ... ok [INFO] [stdout] test src/cesu8.rs - cesu8::JavaStr::to_modified_utf8 (line 40) ... ok [INFO] [stdout] test src/char.rs - char::JavaCodePoint::encode_semi_utf8 (line 191) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::insert_str (line 507) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::from_semi_utf8_lossy (line 87) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::into_string (line 185) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::from_semi_utf8 (line 57) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::pop (line 312) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::drain (line 587) ... ok [INFO] [stdout] test src/cesu8.rs - cesu8::JavaStr::from_modified_utf8 (line 9) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::remove (line 337) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::remove (line 348) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::replace_range (line 639) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::retain (line 380) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::remove (line 353) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::split_off (line 558) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::ends_with (line 267) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::contains (line 249) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::escape_unicode (line 349) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::split_off (line 565) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::escape_default (line 333) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::find (line 365) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::escape_debug (line 299) ... ok [INFO] [stdout] test src/owned.rs - owned::JavaString::replace_range (line 629) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::as_str_lossy (line 188) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::replacen (line 692) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::replace (line 656) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::match_indices (line 564) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rfind (line 732) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rmatch_indices (line 754) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::matches (line 601) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rmatches (line 791) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_at (line 1106) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rsplit_terminator (line 913) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rsplit (line 829) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_at_mut (line 1140) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rsplit_once (line 883) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_ascii_whitespace (line 1077) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_once (line 1205) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::starts_with (line 1330) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_at_mut (line 1150) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::splitn (line 1288) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_at (line 1115) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::rsplitn (line 952) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::get (line 386) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_inclusive (line 1181) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split_terminator (line 1239) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::strip_suffix (line 1373) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::trim_end_matches (line 1478) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::strip_prefix (line 1348) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::to_lowercase (line 1416) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::trim_matches (line 1514) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::trim_start_matches (line 1561) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::split (line 999) ... ok [INFO] [stdout] test src/slice.rs - slice::JavaStr::to_uppercase (line 1440) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 68 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd9d903a9645f46fe55523e6a57e2e1fbf2343713a5f4cf16fef58ebbd0610da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd9d903a9645f46fe55523e6a57e2e1fbf2343713a5f4cf16fef58ebbd0610da", kill_on_drop: false }` [INFO] [stdout] bd9d903a9645f46fe55523e6a57e2e1fbf2343713a5f4cf16fef58ebbd0610da