[INFO] fetching crate trove 1.0.1... [INFO] testing trove-1.0.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate trove 1.0.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate trove 1.0.1 [INFO] finished tweaking crates.io crate trove 1.0.1 [INFO] tweaked toml for crates.io crate trove 1.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trove 1.0.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.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.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+1.91.0" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220fddb68f01585507833395fec5639b2a8fa347f1e88390c712ed15762f4a37 [INFO] running `Command { std: "docker" "start" "-a" "220fddb68f01585507833395fec5639b2a8fa347f1e88390c712ed15762f4a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220fddb68f01585507833395fec5639b2a8fa347f1e88390c712ed15762f4a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220fddb68f01585507833395fec5639b2a8fa347f1e88390c712ed15762f4a37", kill_on_drop: false }` [INFO] [stdout] 220fddb68f01585507833395fec5639b2a8fa347f1e88390c712ed15762f4a37 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 190c35f446dc15dd55b0f5fa11eb36c639499cd530bac0c4488bb395f5761b53 [INFO] running `Command { std: "docker" "start" "-a" "190c35f446dc15dd55b0f5fa11eb36c639499cd530bac0c4488bb395f5761b53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling trove v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef { [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] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 166 | arena_idx: &ArenaIdx, [INFO] [stdout] 167 | ) -> Result, BorrowError> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 187 | arena_idx: &mut ArenaIdx, [INFO] [stdout] 188 | ) -> Result, Either> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | ) -> Result, Either> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [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] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stdout] --> src/lib.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [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] 231 | Ok(ArenaRef((&(*rows)[row])[col].try_borrow()?)) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 237 | offset: usize, [INFO] [stdout] 238 | ) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(&(*rows)[row])[col].as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "190c35f446dc15dd55b0f5fa11eb36c639499cd530bac0c4488bb395f5761b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "190c35f446dc15dd55b0f5fa11eb36c639499cd530bac0c4488bb395f5761b53", kill_on_drop: false }` [INFO] [stdout] 190c35f446dc15dd55b0f5fa11eb36c639499cd530bac0c4488bb395f5761b53 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a1c921fcf50ca907cc4101de3165b12f548aa7445b9a2633ba132a5e038cce [INFO] running `Command { std: "docker" "start" "-a" "c1a1c921fcf50ca907cc4101de3165b12f548aa7445b9a2633ba132a5e038cce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef { [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] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 166 | arena_idx: &ArenaIdx, [INFO] [stdout] 167 | ) -> Result, BorrowError> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 187 | arena_idx: &mut ArenaIdx, [INFO] [stdout] 188 | ) -> Result, Either> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | ) -> Result, Either> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [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] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stdout] --> src/lib.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [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] 231 | Ok(ArenaRef((&(*rows)[row])[col].try_borrow()?)) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 237 | offset: usize, [INFO] [stdout] 238 | ) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(&(*rows)[row])[col].as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trove v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef { [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] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 166 | arena_idx: &ArenaIdx, [INFO] [stdout] 167 | ) -> Result, BorrowError> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 187 | arena_idx: &mut ArenaIdx, [INFO] [stdout] 188 | ) -> Result, Either> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | ) -> Result, Either> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [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] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stdout] --> src/lib.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stdout] | ^^^^^^^^^^^^ [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] 231 | Ok(ArenaRef((&(*rows)[row])[col].try_borrow()?)) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 237 | offset: usize, [INFO] [stdout] 238 | ) -> Result, BorrowMutError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stdout] --> src/lib.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 289 | let inner = &*(&(*rows)[row])[col].as_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "c1a1c921fcf50ca907cc4101de3165b12f548aa7445b9a2633ba132a5e038cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a1c921fcf50ca907cc4101de3165b12f548aa7445b9a2633ba132a5e038cce", kill_on_drop: false }` [INFO] [stdout] c1a1c921fcf50ca907cc4101de3165b12f548aa7445b9a2633ba132a5e038cce [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a957e2c6c818937d9b068220a7f72c80164cacf5b3dbd31f909c7245f46457b [INFO] running `Command { std: "docker" "start" "-a" "2a957e2c6c818937d9b068220a7f72c80164cacf5b3dbd31f909c7245f46457b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:157:16 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef { [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] 157 | pub fn get(&self, arena_idx: &ArenaIdx) -> ArenaRef<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 166 | arena_idx: &ArenaIdx, [INFO] [stderr] 167 | ) -> Result, BorrowError> { [INFO] [stderr] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 167 | ) -> Result, BorrowError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:178:20 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 178 | pub fn get_mut(&self, arena_idx: &mut ArenaIdx) -> ArenaRefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 187 | arena_idx: &mut ArenaIdx, [INFO] [stderr] 188 | ) -> Result, Either> { [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 188 | ) -> Result, Either> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:224:16 [INFO] [stderr] | [INFO] [stderr] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [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] 224 | fn try_get(&self, offset: usize) -> Result, BorrowError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:231:25 [INFO] [stderr] | [INFO] [stderr] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stderr] | ^^----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stderr] --> src/lib.rs:231:25 [INFO] [stderr] | [INFO] [stderr] 231 | Ok(ArenaRef((*rows)[row][col].try_borrow()?)) [INFO] [stderr] | ^^^^^^^^^^^^ [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] 231 | Ok(ArenaRef((&(*rows)[row])[col].try_borrow()?)) [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:236:9 [INFO] [stderr] | [INFO] [stderr] 236 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 237 | offset: usize, [INFO] [stderr] 238 | ) -> Result, BorrowMutError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 238 | ) -> Result, BorrowMutError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:289:27 [INFO] [stderr] | [INFO] [stderr] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stderr] | ^^----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut [Vec>; 32]` [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: `&Vec>` [INFO] [stderr] --> src/lib.rs:289:27 [INFO] [stderr] | [INFO] [stderr] 289 | let inner = &*(*rows)[row][col].as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 289 | let inner = &*(&(*rows)[row])[col].as_ptr(); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: `trove` (lib) generated 8 warnings (run `cargo fix --lib -p trove` to apply 6 suggestions) [INFO] [stderr] warning: `trove` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trove-65381a4a3151e1be) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::debug ... ok [INFO] [stdout] test tests::clone ... ok [INFO] [stdout] test tests::merge ... ok [INFO] [stdout] test tests::readme_example ... ok [INFO] [stdout] test tests::simple ... ok [INFO] [stdout] test tests::should_drop ... ok [INFO] [stdout] test tests::try_mutable_aliasing ... ok [INFO] [stdout] test tests::mutable_aliasing_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests trove [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a957e2c6c818937d9b068220a7f72c80164cacf5b3dbd31f909c7245f46457b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a957e2c6c818937d9b068220a7f72c80164cacf5b3dbd31f909c7245f46457b", kill_on_drop: false }` [INFO] [stdout] 2a957e2c6c818937d9b068220a7f72c80164cacf5b3dbd31f909c7245f46457b