[INFO] fetching crate block-array-cow 0.1.4... [INFO] checking block-array-cow-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate block-array-cow 0.1.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate block-array-cow 0.1.4 [INFO] finished tweaking crates.io crate block-array-cow 0.1.4 [INFO] tweaked toml for crates.io crate block-array-cow 0.1.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate block-array-cow 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ecf24c2dee03713c8a8396a406cf8cd81405b269515d7f393dbd77d3d8f3005 [INFO] running `Command { std: "docker" "start" "-a" "7ecf24c2dee03713c8a8396a406cf8cd81405b269515d7f393dbd77d3d8f3005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ecf24c2dee03713c8a8396a406cf8cd81405b269515d7f393dbd77d3d8f3005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ecf24c2dee03713c8a8396a406cf8cd81405b269515d7f393dbd77d3d8f3005", kill_on_drop: false }` [INFO] [stdout] 7ecf24c2dee03713c8a8396a406cf8cd81405b269515d7f393dbd77d3d8f3005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1ec914974ab307482fba52c32b155a9d8f9ec7319759ee5ecd1acb9b9f62761 [INFO] running `Command { std: "docker" "start" "-a" "b1ec914974ab307482fba52c32b155a9d8f9ec7319759ee5ecd1acb9b9f62761", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking block-array-cow v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:980:41 [INFO] [stdout] | [INFO] [stdout] 980 | let key: HashKey = table_hash_array[((offset - i_table_start) / info.chunk_stride)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 980 - let key: HashKey = table_hash_array[((offset - i_table_start) / info.chunk_stride)]; [INFO] [stdout] 980 + let key: HashKey = table_hash_array[(offset - i_table_start) / info.chunk_stride]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:980:41 [INFO] [stdout] | [INFO] [stdout] 980 | let key: HashKey = table_hash_array[((offset - i_table_start) / info.chunk_stride)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 980 - let key: HashKey = table_hash_array[((offset - i_table_start) / info.chunk_stride)]; [INFO] [stdout] 980 + let key: HashKey = table_hash_array[(offset - i_table_start) / info.chunk_stride]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PtrAnyImpl` is never used [INFO] [stdout] --> src/plain_ptr.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait PtrAnyImpl { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PtrAny` is never used [INFO] [stdout] --> src/plain_ptr.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait PtrAny: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_mut` and `as_option` are never used [INFO] [stdout] --> src/plain_ptr.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl PtrMut { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | fn new_from_mut(ptr: PtrMut) -> PtrMut { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn as_option(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_mut`, `is_null`, `as_option`, and `as_const` are never used [INFO] [stdout] --> src/plain_ptr.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl PtrConst { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | fn new_from_mut(ptr: PtrMut) -> PtrConst { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn as_option(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn as_const(&self) -> PtrConst { PtrConst::new(self.ptr) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `block-array-cow` (lib) due to 1 previous error; 9 warnings emitted [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:1567:25 [INFO] [stdout] | [INFO] [stdout] 1567 | return unsafe { (*state).chunk_list.total_size }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const BArrayState` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] = note: `#[deny(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] 1567 | return unsafe { (&(*state).chunk_list).total_size }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mempool_elem.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn iter_mut(&mut self) -> MemPoolIterMut { [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] 276 | pub fn iter_mut(&mut self) -> MemPoolIterMut<'_, TElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `block-array-cow` (lib test) due to 1 previous error; 9 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mempool_elem.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn iter(&self) -> MemPoolIterConst { [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] 284 | pub fn iter(&self) -> MemPoolIterConst<'_, TElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_base.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn iter_mut(&mut self) -> ListBaseIterMut { [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] 370 | pub fn iter_mut(&mut self) -> ListBaseIterMut<'_, LElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_base.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn iter(&self) -> ListBaseIterConst { [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] 377 | pub fn iter(&self) -> ListBaseIterConst<'_, LElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PtrAnyImpl` is never used [INFO] [stdout] --> src/plain_ptr.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait PtrAnyImpl { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PtrAny` is never used [INFO] [stdout] --> src/plain_ptr.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait PtrAny: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_mut` and `as_option` are never used [INFO] [stdout] --> src/plain_ptr.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl PtrMut { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | fn new_from_mut(ptr: PtrMut) -> PtrMut { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn as_option(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_mut`, `is_null`, `as_option`, and `as_const` are never used [INFO] [stdout] --> src/plain_ptr.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl PtrConst { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | fn new_from_mut(ptr: PtrMut) -> PtrConst { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn as_option(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn as_const(&self) -> PtrConst { PtrConst::new(self.ptr) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:1567:25 [INFO] [stdout] | [INFO] [stdout] 1567 | return unsafe { (*state).chunk_list.total_size }; [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const BArrayState` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] = note: `#[deny(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] 1567 | return unsafe { (&(*state).chunk_list).total_size }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mempool_elem.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn iter_mut(&mut self) -> MemPoolIterMut { [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] 276 | pub fn iter_mut(&mut self) -> MemPoolIterMut<'_, TElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mempool_elem.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn iter(&self) -> MemPoolIterConst { [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] 284 | pub fn iter(&self) -> MemPoolIterConst<'_, TElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_base.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn iter_mut(&mut self) -> ListBaseIterMut { [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] 370 | pub fn iter_mut(&mut self) -> ListBaseIterMut<'_, LElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list_base.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn iter(&self) -> ListBaseIterConst { [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] 377 | pub fn iter(&self) -> ListBaseIterConst<'_, LElem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b1ec914974ab307482fba52c32b155a9d8f9ec7319759ee5ecd1acb9b9f62761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ec914974ab307482fba52c32b155a9d8f9ec7319759ee5ecd1acb9b9f62761", kill_on_drop: false }` [INFO] [stdout] b1ec914974ab307482fba52c32b155a9d8f9ec7319759ee5ecd1acb9b9f62761