[INFO] fetching crate chandra 0.0.0... [INFO] checking chandra-0.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate chandra 0.0.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate chandra 0.0.0 [INFO] finished tweaking crates.io crate chandra 0.0.0 [INFO] tweaked toml for crates.io crate chandra 0.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chandra 0.0.0 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.45 (available: v0.4.50) [INFO] [stderr] Adding web-sys v0.3.72 (available: v0.3.77) [INFO] [stderr] Adding wgpu v0.16.3 (available: v26.0.1) [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] Downloading crates ... [INFO] [stderr] Downloaded chandra-kernel v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9c3fafc72dc378bc57727439399dd1a26cdc41af3c887439ad681cb02c315414 [INFO] running `Command { std: "docker" "start" "-a" "9c3fafc72dc378bc57727439399dd1a26cdc41af3c887439ad681cb02c315414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3fafc72dc378bc57727439399dd1a26cdc41af3c887439ad681cb02c315414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3fafc72dc378bc57727439399dd1a26cdc41af3c887439ad681cb02c315414", kill_on_drop: false }` [INFO] [stdout] 9c3fafc72dc378bc57727439399dd1a26cdc41af3c887439ad681cb02c315414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 17067e9a8ae1457ce62f4f1bb12f0eba8f2f6594185baec07e63acae1e5328b3 [INFO] running `Command { std: "docker" "start" "-a" "17067e9a8ae1457ce62f4f1bb12f0eba8f2f6594185baec07e63acae1e5328b3", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling chandra-kernel v0.0.0 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking chandra v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chandra_kernel::ChandraFunction` [INFO] [stdout] --> src/std/log.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chandra_kernel::ChandraFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Function`, `Get`, `OperationWrapper`, `Value`, `Void`, `instruction_list::InstructionList`, `noop::Noop`, `returns::returns`, `scope::Scope`, `self`, `self`, and `var::Variable` [INFO] [stdout] --> src/std/log.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | ...n, OperationWrapper}, types::{Value, Void}, operations::{get::{Get, self}, noop::Noop, function::{Function, self}, var::Variable, scope::Scope, instruction_list::InstructionList, returns::returns}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^ ^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chandra_kernel::ChandraFunction` [INFO] [stdout] --> src/std/log.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chandra_kernel::ChandraFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Function`, `Get`, `OperationWrapper`, `Value`, `Void`, `instruction_list::InstructionList`, `noop::Noop`, `returns::returns`, `scope::Scope`, `self`, `self`, and `var::Variable` [INFO] [stdout] --> src/std/log.rs:5:69 [INFO] [stdout] | [INFO] [stdout] 5 | ...n, OperationWrapper}, types::{Value, Void}, operations::{get::{Get, self}, noop::Noop, function::{Function, self}, var::Variable, scope::Scope, instruction_list::InstructionList, returns::returns}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ ^^^^ ^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/processor/gpu/processor.rs:3:179 [INFO] [stdout] | [INFO] [stdout] 3 | ...ble, operations::scope::Scope, allocated::ExecutableBindings, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/processor/gpu/processor.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | fn remove(&mut self, key: &Self::Key) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/processor/gpu/processor.rs:78:84 [INFO] [stdout] | [INFO] [stdout] 78 | ...able>(&mut self, val: T) -> crate::core::allocated::Binding { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/processor/gpu/processor.rs:82:86 [INFO] [stdout] | [INFO] [stdout] 82 | ...able>(&mut self, val: crate::core::allocated::Binding) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/processor/gpu/processor.rs:86:90 [INFO] [stdout] | [INFO] [stdout] 86 | ...able>(&mut self, val: &crate::core::allocated::Binding) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executable` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:109 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:117 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:125 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> src/processor/gpu/processor.rs:3:179 [INFO] [stdout] | [INFO] [stdout] 3 | ...ble, operations::scope::Scope, allocated::ExecutableBindings, Buildable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/types.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ExternalWrapper { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalWrapper` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/types/tensor.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MyCPUTensor<'a, C: Computable> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | shape: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyCPUTensor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/processor/cpu.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl CPUStorage { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn get_mut(&mut self, key: &::Key) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prog` is never read [INFO] [stdout] --> src/processor/gpu/processor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GPUExecutable { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 37 | prog: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/std/log.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Log> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | value: V, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Log` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/type_traits.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_>; [INFO] [stdout] | ^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 163 - fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_>; [INFO] [stdout] 163 + fn from_mut<'a>(value: &'a mut T) -> Self::Result<'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/type_traits.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_> { [INFO] [stdout] | ^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 169 - fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_> { [INFO] [stdout] 169 + fn from_mut<'a>(value: &'a mut T) -> Self::Result<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/allocated.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn deref(&self) -> Ref> { [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] 195 | pub fn deref(&self) -> Ref<'_, S::MappedType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/allocated.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn deref_mut(&mut self) -> RefMut> { [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] 203 | pub fn deref_mut(&mut self) -> RefMut<'_, S::MappedType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/core/guards/region_guard.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | &(*self.data[region].get())[(index.start - key)..(index.end - key)] [INFO] [stdout] | ^^-----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut &mut [T]` [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: `&[T]` [INFO] [stdout] --> src/core/guards/region_guard.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | &(*self.data[region].get())[(index.start - key)..(index.end - key)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 81 | &(&(*self.data[region].get()))[(index.start - key)..(index.end - key)] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/processor/cpu.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | fn get(&self, key: &::Key) -> Option> { [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] 42 | fn get(&self, key: &::Key) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/processor/cpu.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_mut(&mut self, key: &::Key) -> Option> { [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] 50 | fn get_mut(&mut self, key: &::Key) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chandra` (lib) due to 1 previous error; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/processor/gpu/processor.rs:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | fn remove(&mut self, key: &Self::Key) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/processor/gpu/processor.rs:78:84 [INFO] [stdout] | [INFO] [stdout] 78 | ...able>(&mut self, val: T) -> crate::core::allocated::Binding { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/processor/gpu/processor.rs:82:86 [INFO] [stdout] | [INFO] [stdout] 82 | ...able>(&mut self, val: crate::core::allocated::Binding) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/processor/gpu/processor.rs:86:90 [INFO] [stdout] | [INFO] [stdout] 86 | ...able>(&mut self, val: &crate::core::allocated::Binding) -> T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executable` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:109 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:117 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/processor/gpu/processor.rs:90:125 [INFO] [stdout] | [INFO] [stdout] 90 | fn dispatch<'a, B: crate::core::Buildable>(&'a mut self, executable: &'a mut Self::Executable, x: u32, y: u32, z: u32) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/types.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ExternalWrapper { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalWrapper` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/types/tensor.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MyCPUTensor<'a, C: Computable> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | shape: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyCPUTensor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/processor/cpu.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl CPUStorage { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn get_mut(&mut self, key: &::Key) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prog` is never read [INFO] [stdout] --> src/processor/gpu/processor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct GPUExecutable { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 37 | prog: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/std/log.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Log> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | value: V, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Log` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/type_traits.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_>; [INFO] [stdout] | ^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 163 - fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_>; [INFO] [stdout] 163 + fn from_mut<'a>(value: &'a mut T) -> Self::Result<'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core/type_traits.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_> { [INFO] [stdout] | ^^ -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 169 - fn from_mut<'a>(value: &'a mut T) -> Self::Result<'_> { [INFO] [stdout] 169 + fn from_mut<'a>(value: &'a mut T) -> Self::Result<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/allocated.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn deref(&self) -> Ref> { [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] 195 | pub fn deref(&self) -> Ref<'_, S::MappedType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/allocated.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn deref_mut(&mut self) -> RefMut> { [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] 203 | pub fn deref_mut(&mut self) -> RefMut<'_, S::MappedType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/core/guards/region_guard.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | &(*self.data[region].get())[(index.start - key)..(index.end - key)] [INFO] [stdout] | ^^-----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut &mut [T]` [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: `&[T]` [INFO] [stdout] --> src/core/guards/region_guard.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | &(*self.data[region].get())[(index.start - key)..(index.end - key)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 81 | &(&(*self.data[region].get()))[(index.start - key)..(index.end - key)] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/processor/cpu.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | fn get(&self, key: &::Key) -> Option> { [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] 42 | fn get(&self, key: &::Key) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/processor/cpu.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_mut(&mut self, key: &::Key) -> Option> { [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] 50 | fn get_mut(&mut self, key: &::Key) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chandra` (lib test) due to 1 previous error; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17067e9a8ae1457ce62f4f1bb12f0eba8f2f6594185baec07e63acae1e5328b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17067e9a8ae1457ce62f4f1bb12f0eba8f2f6594185baec07e63acae1e5328b3", kill_on_drop: false }` [INFO] [stdout] 17067e9a8ae1457ce62f4f1bb12f0eba8f2f6594185baec07e63acae1e5328b3