[INFO] cloning repository https://github.com/MaximMicanovic/wgpu_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaximMicanovic/wgpu_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaximMicanovic%2Fwgpu_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaximMicanovic%2Fwgpu_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47857b8e7ef02dcdff666adfc027e0f13c917ea3 [INFO] building MaximMicanovic/wgpu_network against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaximMicanovic%2Fwgpu_network" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MaximMicanovic/wgpu_network [INFO] finished tweaking git repo https://github.com/MaximMicanovic/wgpu_network [INFO] tweaked toml for git repo https://github.com/MaximMicanovic/wgpu_network written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MaximMicanovic/wgpu_network on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MaximMicanovic/wgpu_network 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-core v0.58.0 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v26.0.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded document-features v0.2.11 [INFO] [stderr] Downloaded gpu-descriptor-types v0.2.0 [INFO] [stderr] Downloaded wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded bit-vec v0.8.0 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded gpu-allocator v0.27.0 [INFO] [stderr] Downloaded wgpu-types v26.0.0 [INFO] [stderr] Downloaded glow v0.16.0 [INFO] [stderr] Downloaded wgpu v26.0.1 [INFO] [stderr] Downloaded wgpu-core-deps-apple v26.0.0 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded codespan-reporting v0.12.0 [INFO] [stderr] Downloaded gpu-descriptor v0.3.2 [INFO] [stderr] Downloaded wgpu-core v26.0.1 [INFO] [stderr] Downloaded bit-set v0.8.0 [INFO] [stderr] Downloaded bytemuck_derive v1.10.1 [INFO] [stderr] Downloaded windows-implement v0.58.0 [INFO] [stderr] Downloaded wgpu-hal v26.0.4 [INFO] [stderr] Downloaded windows-interface v0.58.0 [INFO] [stderr] Downloaded ash v0.38.0+1.3.281 [INFO] [stderr] Downloaded naga v26.0.0 [INFO] [stderr] Downloaded metal v0.32.0 [INFO] [stderr] Downloaded windows v0.58.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d42901305e3dfa9b04c44e3d0d2d19f66e536660b93a60edadd13ce98c56ef7 [INFO] running `Command { std: "docker" "start" "-a" "8d42901305e3dfa9b04c44e3d0d2d19f66e536660b93a60edadd13ce98c56ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d42901305e3dfa9b04c44e3d0d2d19f66e536660b93a60edadd13ce98c56ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d42901305e3dfa9b04c44e3d0d2d19f66e536660b93a60edadd13ce98c56ef7", kill_on_drop: false }` [INFO] [stdout] 8d42901305e3dfa9b04c44e3d0d2d19f66e536660b93a60edadd13ce98c56ef7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 251548d88f348c012a12274e281d1f22fdbad71aa585cbc1266768b60b665758 [INFO] running `Command { std: "docker" "start" "-a" "251548d88f348c012a12274e281d1f22fdbad71aa585cbc1266768b60b665758", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling wgpu-types v26.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Compiling wgpu_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/gpu_code.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut output = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compute_pass` [INFO] [stdout] --> src/gpu_code.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compute_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_code.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let (device, queue) = block_on(adapter.request_device(&Default::default())).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let (device, queue) = block_on(adapter.request_device(&Default::default())).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let inputs: Vec = vec![0.0, 1.0, 2.0, 3.0]; // Example inputs [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut n: network::NeuralNetwork = network::NeuralNetwork::new(&structure); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut n: network::NeuralNetwork = network::NeuralNetwork::new(&structure); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `output` are never read [INFO] [stdout] --> src/network.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub output: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_to_bytes` is never used [INFO] [stdout] --> src/byte_handling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn vector_to_bytes (vector_input: &Vec ) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_to_vector` is never used [INFO] [stdout] --> src/byte_handling.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn byte_to_vector(bytes_input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pipeline_layout` is never used [INFO] [stdout] --> src/gpu_code.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn pipeline_layout(bind_group_layout: wgpu::BindGroupLayout, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_network` is never used [INFO] [stdout] --> src/gpu_code.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn run_network(structure: Vec, inputs: Vec, n: network::NeuralNetwork, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "251548d88f348c012a12274e281d1f22fdbad71aa585cbc1266768b60b665758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251548d88f348c012a12274e281d1f22fdbad71aa585cbc1266768b60b665758", kill_on_drop: false }` [INFO] [stdout] 251548d88f348c012a12274e281d1f22fdbad71aa585cbc1266768b60b665758 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1eeaaa4401e2278b397bbd2cabd9b19779ec45c9570aff102e60d3d017946b8 [INFO] running `Command { std: "docker" "start" "-a" "d1eeaaa4401e2278b397bbd2cabd9b19779ec45c9570aff102e60d3d017946b8", kill_on_drop: false }` [INFO] [stderr] Compiling wgpu_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/gpu_code.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut output = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compute_pass` [INFO] [stdout] --> src/gpu_code.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compute_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_code.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let (device, queue) = block_on(adapter.request_device(&Default::default())).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let (device, queue) = block_on(adapter.request_device(&Default::default())).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let inputs: Vec = vec![0.0, 1.0, 2.0, 3.0]; // Example inputs [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut n: network::NeuralNetwork = network::NeuralNetwork::new(&structure); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut n: network::NeuralNetwork = network::NeuralNetwork::new(&structure); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `output` are never read [INFO] [stdout] --> src/network.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 13 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub output: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_to_bytes` is never used [INFO] [stdout] --> src/byte_handling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn vector_to_bytes (vector_input: &Vec ) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_to_vector` is never used [INFO] [stdout] --> src/byte_handling.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn byte_to_vector(bytes_input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pipeline_layout` is never used [INFO] [stdout] --> src/gpu_code.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn pipeline_layout(bind_group_layout: wgpu::BindGroupLayout, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_network` is never used [INFO] [stdout] --> src/gpu_code.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn run_network(structure: Vec, inputs: Vec, n: network::NeuralNetwork, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "d1eeaaa4401e2278b397bbd2cabd9b19779ec45c9570aff102e60d3d017946b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1eeaaa4401e2278b397bbd2cabd9b19779ec45c9570aff102e60d3d017946b8", kill_on_drop: false }` [INFO] [stdout] d1eeaaa4401e2278b397bbd2cabd9b19779ec45c9570aff102e60d3d017946b8