[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] testing MaximMicanovic/wgpu_network against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-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 caccb4d0368bd918ef6668af8e13834d07040417
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f231bd7c20872cc3da1382ceead9d89f73233c9ab74a9d2b9f30c8dfb97ce49
[INFO] running `Command { std: "docker" "start" "-a" "8f231bd7c20872cc3da1382ceead9d89f73233c9ab74a9d2b9f30c8dfb97ce49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f231bd7c20872cc3da1382ceead9d89f73233c9ab74a9d2b9f30c8dfb97ce49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f231bd7c20872cc3da1382ceead9d89f73233c9ab74a9d2b9f30c8dfb97ce49", kill_on_drop: false }`
[INFO] [stdout] 8f231bd7c20872cc3da1382ceead9d89f73233c9ab74a9d2b9f30c8dfb97ce49
[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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 869ec059015a2f8db33fd7f70a6490a5e4992916d4f49a66aa66e9ffe7b26a95
[INFO] running `Command { std: "docker" "start" "-a" "869ec059015a2f8db33fd7f70a6490a5e4992916d4f49a66aa66e9ffe7b26a95", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling thiserror v2.0.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling naga v26.0.0
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling ash v0.38.0+1.3.281
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling codespan-reporting v0.12.0
[INFO] [stderr]    Compiling wgpu-hal v26.0.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling bitflags v2.9.2
[INFO] [stderr]    Compiling raw-window-handle v0.6.2
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.2.0
[INFO] [stderr]    Compiling spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling gpu-descriptor v0.3.2
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling ordered-float v5.0.0
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling glow v0.16.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling wgpu-core v26.0.1
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling wgpu v26.0.1
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[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 rand v0.9.2
[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<f32> = 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<f32>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 14 |     pub output: Vec<f32>,
[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 <T> (vector_input: &Vec<T> ) -> &[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<f32> {
[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<usize>, inputs: Vec<f32>, 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 51s
[INFO] running `Command { std: "docker" "inspect" "869ec059015a2f8db33fd7f70a6490a5e4992916d4f49a66aa66e9ffe7b26a95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "869ec059015a2f8db33fd7f70a6490a5e4992916d4f49a66aa66e9ffe7b26a95", kill_on_drop: false }`
[INFO] [stdout] 869ec059015a2f8db33fd7f70a6490a5e4992916d4f49a66aa66e9ffe7b26a95
[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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 061ca596bb50ad9b417f699d4cdbb8f343c90b383c5c7247bc5ef62efa350bc1
[INFO] running `Command { std: "docker" "start" "-a" "061ca596bb50ad9b417f699d4cdbb8f343c90b383c5c7247bc5ef62efa350bc1", 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<f32> = 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<f32>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 14 |     pub output: Vec<f32>,
[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 <T> (vector_input: &Vec<T> ) -> &[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<f32> {
[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<usize>, inputs: Vec<f32>, 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.67s
[INFO] running `Command { std: "docker" "inspect" "061ca596bb50ad9b417f699d4cdbb8f343c90b383c5c7247bc5ef62efa350bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "061ca596bb50ad9b417f699d4cdbb8f343c90b383c5c7247bc5ef62efa350bc1", kill_on_drop: false }`
[INFO] [stdout] 061ca596bb50ad9b417f699d4cdbb8f343c90b383c5c7247bc5ef62efa350bc1
[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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cfe799ea21de7012ad7d1b2f710861a2b8a1ba3dcf26130f14de7f5b9501806f
[INFO] running `Command { std: "docker" "start" "-a" "cfe799ea21de7012ad7d1b2f710861a2b8a1ba3dcf26130f14de7f5b9501806f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `futures::executor::block_on`
[INFO] [stderr]  --> src/gpu_code.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use futures::executor::block_on;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/network.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let mut output = Vec::new();
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `compute_pass`
[INFO] [stderr]    --> src/gpu_code.rs:113:13
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor {
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compute_pass`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/gpu_code.rs:113:9
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let mut compute_pass = encoder.begin_compute_pass(&wgpu::ComputePassDescriptor {
[INFO] [stderr]     |         ----^^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `device`
[INFO] [stderr]   --> src/main.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let (device, queue) = block_on(adapter.request_device(&Default::default())).unwrap();
[INFO] [stderr]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `queue`
[INFO] [stderr]   --> src/main.rs:14:18
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let (device, queue) = block_on(adapter.request_device(&Default::default())).unwrap();
[INFO] [stderr]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `inputs`
[INFO] [stderr]   --> src/main.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let inputs: Vec<f32> = vec![0.0, 1.0, 2.0, 3.0]; // Example inputs
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/main.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let mut n: network::NeuralNetwork = network::NeuralNetwork::new(&structure);
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let mut n: network::NeuralNetwork = network::NeuralNetwork::new(&structure);
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `data` and `output` are never read
[INFO] [stderr]   --> src/network.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct NeuralNetwork {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 13 |     pub data: Vec<f32>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 14 |     pub output: Vec<f32>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `vector_to_bytes` is never used
[INFO] [stderr]  --> src/byte_handling.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn vector_to_bytes <T> (vector_input: &Vec<T> ) -> &[u8] {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `byte_to_vector` is never used
[INFO] [stderr]   --> src/byte_handling.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn byte_to_vector(bytes_input: &[u8]) -> Vec<f32> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `pipeline_layout` is never used
[INFO] [stderr]   --> src/gpu_code.rs:98:4
[INFO] [stderr]    |
[INFO] [stderr] 98 | fn pipeline_layout(bind_group_layout: wgpu::BindGroupLayout, device: &wgpu::Device) -> wgpu::PipelineLayout {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_network` is never used
[INFO] [stderr]    --> src/gpu_code.rs:143:8
[INFO] [stderr]     |
[INFO] [stderr] 143 | pub fn run_network(structure: Vec<usize>, inputs: Vec<f32>, n: network::NeuralNetwork, device: &wgpu::Device, queue: &wgpu::Queue) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wgpu_network` (bin "wgpu_network" test) generated 14 warnings (run `cargo fix --bin "wgpu_network" --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wgpu_network-894732222497791f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cfe799ea21de7012ad7d1b2f710861a2b8a1ba3dcf26130f14de7f5b9501806f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfe799ea21de7012ad7d1b2f710861a2b8a1ba3dcf26130f14de7f5b9501806f", kill_on_drop: false }`
[INFO] [stdout] cfe799ea21de7012ad7d1b2f710861a2b8a1ba3dcf26130f14de7f5b9501806f
