[INFO] cloning repository https://github.com/MochiPiyo/wgpu_matmul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MochiPiyo/wgpu_matmul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMochiPiyo%2Fwgpu_matmul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMochiPiyo%2Fwgpu_matmul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a08abf8a6594f20e081d5fca4cb432e4ee8263cd [INFO] checking MochiPiyo/wgpu_matmul/a08abf8a6594f20e081d5fca4cb432e4ee8263cd against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMochiPiyo%2Fwgpu_matmul" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MochiPiyo/wgpu_matmul on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MochiPiyo/wgpu_matmul [INFO] finished tweaking git repo https://github.com/MochiPiyo/wgpu_matmul [INFO] tweaked toml for git repo https://github.com/MochiPiyo/wgpu_matmul written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MochiPiyo/wgpu_matmul already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb53df4829dbdbce20cf29242a7a9925a6b9306dc7723de1c2d104b5b275dbfe [INFO] running `Command { std: "docker" "start" "-a" "fb53df4829dbdbce20cf29242a7a9925a6b9306dc7723de1c2d104b5b275dbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb53df4829dbdbce20cf29242a7a9925a6b9306dc7723de1c2d104b5b275dbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb53df4829dbdbce20cf29242a7a9925a6b9306dc7723de1c2d104b5b275dbfe", kill_on_drop: false }` [INFO] [stdout] fb53df4829dbdbce20cf29242a7a9925a6b9306dc7723de1c2d104b5b275dbfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d618e48978df4b0eb769381cb63abf5c366c2652ecfc20a387ffd780f082c90 [INFO] running `Command { std: "docker" "start" "-a" "0d618e48978df4b0eb769381cb63abf5c366c2652ecfc20a387ffd780f082c90", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking wgpu-types v0.17.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking naga v0.13.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking wgpu-hal v0.17.2 [INFO] [stderr] Checking wgpu-core v0.17.1 [INFO] [stderr] Checking wgpu v0.17.2 [INFO] [stderr] Checking wgpu_matmul v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `BorrowMut`, `RwLockReadGuard`, and `ops::Deref` [INFO] [stdout] --> src/matmul_structured2.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{BorrowMut, Cow}, collections::HashMap, ops::Deref, sync::{Arc, RwLock, RwLockReadGuard}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flume::r#async` [INFO] [stdout] --> src/matmul_structured2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use flume::r#async; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer` and `ShaderModule` [INFO] [stdout] --> src/matmul_structured2.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{util::DeviceExt, Buffer, ShaderModule}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `BorrowMut`, `RwLockReadGuard`, and `ops::Deref` [INFO] [stdout] --> src/matmul_structured2.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{BorrowMut, Cow}, collections::HashMap, ops::Deref, sync::{Arc, RwLock, RwLockReadGuard}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flume::r#async` [INFO] [stdout] --> src/matmul_structured2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use flume::r#async; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer` and `ShaderModule` [INFO] [stdout] --> src/matmul_structured2.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{util::DeviceExt, Buffer, ShaderModule}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_name` [INFO] [stdout] --> src/matmul_structured2.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | shader_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_name` [INFO] [stdout] --> src/matmul_structured2.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | shader_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | if let Self::D2(i, j) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if let Self::D2(i, j) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | let size = if let Shape::D2(i, j) = shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | if let Shape::D2(i, j) = self.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | if let Shape::D2(k, l) = other.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | let (dispatch_x, dispatch_y) = if let Shape::D2(x, y) = self.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:492:43 [INFO] [stdout] | [INFO] [stdout] 492 | let (dispatch_x, dispatch_y) = if let Shape::D2(x, y) = self.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERFLOW` is never used [INFO] [stdout] --> src/collatz.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OVERFLOW: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/collatz.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/matmul.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn run(x: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shader_cache` is never read [INFO] [stdout] --> src/matmul_structured2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct Wgpu { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | shader_cache: RwLock> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/matmul_structured2.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/matmul_structured2.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct RawGf32 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 367 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/matmul_structured2.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 371 | impl RawGf32 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strassen4` is never constructed [INFO] [stdout] --> src/strassen.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Strassen4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_fill_with`, `new_from`, `matmul`, and `print_1` are never used [INFO] [stdout] --> src/strassen.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Strassen4 { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 8 | fn new_fill_with(size: usize, fill_with: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn new_from(bodys: [RawGf32; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn matmul(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn print_1(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/strassen.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_name` [INFO] [stdout] --> src/matmul_structured2.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | shader_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader_name` [INFO] [stdout] --> src/matmul_structured2.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | shader_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | if let Self::D2(i, j) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | if let Self::D2(i, j) = self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | let size = if let Shape::D2(i, j) = shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | if let Shape::D2(i, j) = self.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | if let Shape::D2(k, l) = other.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | let (dispatch_x, dispatch_y) = if let Shape::D2(x, y) = self.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/matmul_structured2.rs:492:43 [INFO] [stdout] | [INFO] [stdout] 492 | let (dispatch_x, dispatch_y) = if let Shape::D2(x, y) = self.shape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERFLOW` is never used [INFO] [stdout] --> src/collatz.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OVERFLOW: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/collatz.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/matmul.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn run(x: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shader_cache` is never read [INFO] [stdout] --> src/matmul_structured2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct Wgpu { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | shader_cache: RwLock> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/matmul_structured2.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 356 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/matmul_structured2.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct RawGf32 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 367 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/matmul_structured2.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 371 | impl RawGf32 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strassen4` is never constructed [INFO] [stdout] --> src/strassen.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Strassen4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_fill_with`, `new_from`, `matmul`, and `print_1` are never used [INFO] [stdout] --> src/strassen.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Strassen4 { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 8 | fn new_fill_with(size: usize, fill_with: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn new_from(bodys: [RawGf32; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn matmul(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn print_1(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/strassen.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.95s [INFO] running `Command { std: "docker" "inspect" "0d618e48978df4b0eb769381cb63abf5c366c2652ecfc20a387ffd780f082c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d618e48978df4b0eb769381cb63abf5c366c2652ecfc20a387ffd780f082c90", kill_on_drop: false }` [INFO] [stdout] 0d618e48978df4b0eb769381cb63abf5c366c2652ecfc20a387ffd780f082c90