[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] checking MaximMicanovic/wgpu_network against try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaximMicanovic%2Fwgpu_network" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MaximMicanovic/wgpu_network on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "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" "+149edce6c6ee840adb602803b96d083101ef3592" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c85b0566b5057a7c6f6dc0f10723092023c8750023eba11258758cbe8bcf3642 [INFO] running `Command { std: "docker" "start" "-a" "c85b0566b5057a7c6f6dc0f10723092023c8750023eba11258758cbe8bcf3642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c85b0566b5057a7c6f6dc0f10723092023c8750023eba11258758cbe8bcf3642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85b0566b5057a7c6f6dc0f10723092023c8750023eba11258758cbe8bcf3642", kill_on_drop: false }` [INFO] [stdout] c85b0566b5057a7c6f6dc0f10723092023c8750023eba11258758cbe8bcf3642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d82ad378731c398eec9df93d1a0b8477242bb9f11c03c5a4f8fc839d908ee8 [INFO] running `Command { std: "docker" "start" "-a" "07d82ad378731c398eec9df93d1a0b8477242bb9f11c03c5a4f8fc839d908ee8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.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] Checking futures-util v0.3.31 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking 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: 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/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: 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] [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 47.03s [INFO] running `Command { std: "docker" "inspect" "07d82ad378731c398eec9df93d1a0b8477242bb9f11c03c5a4f8fc839d908ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d82ad378731c398eec9df93d1a0b8477242bb9f11c03c5a4f8fc839d908ee8", kill_on_drop: false }` [INFO] [stdout] 07d82ad378731c398eec9df93d1a0b8477242bb9f11c03c5a4f8fc839d908ee8