[INFO] fetching crate froggy 0.4.2... [INFO] checking froggy-0.4.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate froggy 0.4.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate froggy 0.4.2 [INFO] finished tweaking crates.io crate froggy 0.4.2 [INFO] tweaked toml for crates.io crate froggy 0.4.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate froggy 0.4.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding spin v0.4.10 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1321d5b6867d4857dac33f0f4eccfe71b193f8a4f791fb21d10842c3cdcdba8 [INFO] running `Command { std: "docker" "start" "-a" "a1321d5b6867d4857dac33f0f4eccfe71b193f8a4f791fb21d10842c3cdcdba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1321d5b6867d4857dac33f0f4eccfe71b193f8a4f791fb21d10842c3cdcdba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1321d5b6867d4857dac33f0f4eccfe71b193f8a4f791fb21d10842c3cdcdba8", kill_on_drop: false }` [INFO] [stdout] a1321d5b6867d4857dac33f0f4eccfe71b193f8a4f791fb21d10842c3cdcdba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 823dd526e5522a3009232b6f457555a46b0c1fd2fa4d3aa7c0bc0b22c0a0f7a5 [INFO] running `Command { std: "docker" "start" "-a" "823dd526e5522a3009232b6f457555a46b0c1fd2fa4d3aa7c0bc0b22c0a0f7a5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking froggy v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | static STORAGE_UID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 54 - static STORAGE_UID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] 54 + static STORAGE_UID: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | static STORAGE_UID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 54 - static STORAGE_UID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] 54 + static STORAGE_UID: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `epoch`, `storage_id`, and `pending` are never read [INFO] [stdout] --> src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Pointer<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 164 | /// All integer entries are `usize` for future-proofing. [INFO] [stdout] 165 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | epoch: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 167 | storage_id: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 168 | pending: &'a Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pointer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn split(&mut self, offset: PointerData) -> (Slice, &mut T, Slice) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 77 | fn split(&mut self, offset: PointerData) -> (Slice<'_, T>, &mut T, Slice<'_, T>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | fn drain_sub(&mut self) -> (Drain, &mut [Epoch]) { [INFO] [stdout] | ^^^^^^^^^ ------------ ------------ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 100 | fn drain_sub(&mut self) -> (Drain<'_, Index>, &mut [Epoch]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | 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] 356 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn iter_all(&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] 367 | pub fn iter_all(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | 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] 381 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn iter_all_mut(&mut self) -> slice::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] 391 | pub fn iter_all_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:414:18 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn split(&mut self, pointer: &Pointer) -> (Slice, &mut T, Slice) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 414 | pub fn split(&mut self, pointer: &Pointer) -> (Slice<'_, T>, &mut T, Slice<'_, T>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn cursor(&mut self) -> Cursor { [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] 425 | pub fn cursor(&mut self) -> Cursor<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn cursor_end(&mut self) -> Cursor { [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] 436 | pub fn cursor_end(&mut self) -> Cursor<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn split(&mut self, index: usize) -> (Slice, CursorItem, Slice) { [INFO] [stdout] | ^^^^^^^^^ -------- ------------- -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 117 | fn split(&mut self, index: usize) -> (Slice<'_, T>, CursorItem<'_, T>, Slice<'_, T>) { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn next(&mut self) -> Option<(Slice, CursorItem, Slice)> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------- -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 128 | pub fn next(&mut self) -> Option<(Slice<'_, T>, CursorItem<'_, T>, Slice<'_, T>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn prev(&mut self) -> Option<(Slice, CursorItem, Slice)> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------- -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 144 | pub fn prev(&mut self) -> Option<(Slice<'_, T>, CursorItem<'_, T>, Slice<'_, T>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `epoch`, `storage_id`, and `pending` are never read [INFO] [stdout] --> src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Pointer<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 164 | /// All integer entries are `usize` for future-proofing. [INFO] [stdout] 165 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | epoch: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 167 | storage_id: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 168 | pending: &'a Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pointer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | fn split(&mut self, offset: PointerData) -> (Slice, &mut T, Slice) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 77 | fn split(&mut self, offset: PointerData) -> (Slice<'_, T>, &mut T, Slice<'_, T>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | fn drain_sub(&mut self) -> (Drain, &mut [Epoch]) { [INFO] [stdout] | ^^^^^^^^^ ------------ ------------ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 100 | fn drain_sub(&mut self) -> (Drain<'_, Index>, &mut [Epoch]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | 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] 356 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn iter_all(&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] 367 | pub fn iter_all(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | 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] 381 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn iter_all_mut(&mut self) -> slice::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] 391 | pub fn iter_all_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:414:18 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn split(&mut self, pointer: &Pointer) -> (Slice, &mut T, Slice) { [INFO] [stdout] | ^^^^^^^^^ -------- ------ -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [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] 414 | pub fn split(&mut self, pointer: &Pointer) -> (Slice<'_, T>, &mut T, Slice<'_, T>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn cursor(&mut self) -> Cursor { [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] 425 | pub fn cursor(&mut self) -> Cursor<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn cursor_end(&mut self) -> Cursor { [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] 436 | pub fn cursor_end(&mut self) -> Cursor<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn split(&mut self, index: usize) -> (Slice, CursorItem, Slice) { [INFO] [stdout] | ^^^^^^^^^ -------- ------------- -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 117 | fn split(&mut self, index: usize) -> (Slice<'_, T>, CursorItem<'_, T>, Slice<'_, T>) { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn next(&mut self) -> Option<(Slice, CursorItem, Slice)> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------- -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 128 | pub fn next(&mut self) -> Option<(Slice<'_, T>, CursorItem<'_, T>, Slice<'_, T>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn prev(&mut self) -> Option<(Slice, CursorItem, Slice)> { [INFO] [stdout] | ^^^^^^^^^ -------- ------------- -------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 144 | pub fn prev(&mut self) -> Option<(Slice<'_, T>, CursorItem<'_, T>, Slice<'_, T>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/ecs_pos_vel_spread.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let mut p = &mut world.pos[&e.pos]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/sc_graph_aligned.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut p = &mut world.pos[&vel.writes]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/sc_graph_spread.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut p = &mut world.pos[&vel.writes]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/ecs_pos_vel_aligned.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut p = &mut world.pos[&e.pos]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "823dd526e5522a3009232b6f457555a46b0c1fd2fa4d3aa7c0bc0b22c0a0f7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823dd526e5522a3009232b6f457555a46b0c1fd2fa4d3aa7c0bc0b22c0a0f7a5", kill_on_drop: false }` [INFO] [stdout] 823dd526e5522a3009232b6f457555a46b0c1fd2fa4d3aa7c0bc0b22c0a0f7a5