[INFO] cloning repository https://github.com/JasperDavidson/wgpu_mnist_inference [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JasperDavidson/wgpu_mnist_inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperDavidson%2Fwgpu_mnist_inference", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperDavidson%2Fwgpu_mnist_inference'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 765ec12ac65bb3542219057bdd7e205ee728e148 [INFO] checking JasperDavidson/wgpu_mnist_inference against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperDavidson%2Fwgpu_mnist_inference" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JasperDavidson/wgpu_mnist_inference [INFO] finished tweaking git repo https://github.com/JasperDavidson/wgpu_mnist_inference [INFO] tweaked toml for git repo https://github.com/JasperDavidson/wgpu_mnist_inference written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JasperDavidson/wgpu_mnist_inference on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JasperDavidson/wgpu_mnist_inference 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27 [INFO] running `Command { std: "docker" "start" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling naga v28.0.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-hal v28.0.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling wgpu-core v28.0.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling wgpu v28.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling pollster-macro v0.4.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking wgpu-types v28.0.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v28.0.0 [INFO] [stderr] Checking learn_wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut output_layer = (weight_2.matmul(&hidden_layer_outputs)).matadd(&bias_2); [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: method `softmax` is never used [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Tensor { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn softmax(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut output_layer = (weight_2.matmul(&hidden_layer_outputs)).matadd(&bias_2); [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] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | label: Some("binary op layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 199 - label: Some("binary op layout").map(Into::into), [INFO] [stdout] 199 + label: Some("binary op layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | label: Some("inplace op layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 246 - label: Some("inplace op layout").map(Into::into), [INFO] [stdout] 246 + label: Some("inplace op layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | label: Some("unary op layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 273 - label: Some("unary op layout").map(Into::into), [INFO] [stdout] 273 + label: Some("unary op layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | label: Some("matrix add pipeline layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 312 - label: Some("matrix add pipeline layout").map(Into::into), [INFO] [stdout] 312 + label: Some("matrix add pipeline layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | label: Some("matrix mul pipeline layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 324 - label: Some("matrix mul pipeline layout").map(Into::into), [INFO] [stdout] 324 + label: Some("matrix mul pipeline layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | label: Some("relu layot").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 336 - label: Some("relu layot").map(Into::into), [INFO] [stdout] 336 + label: Some("relu layot"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learn_wgpu` (bin "learn_wgpu" test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `softmax` is never used [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Tensor { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn softmax(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | label: Some("binary op layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 199 - label: Some("binary op layout").map(Into::into), [INFO] [stdout] 199 + label: Some("binary op layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | label: Some("inplace op layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 246 - label: Some("inplace op layout").map(Into::into), [INFO] [stdout] 246 + label: Some("inplace op layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | label: Some("unary op layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 273 - label: Some("unary op layout").map(Into::into), [INFO] [stdout] 273 + label: Some("unary op layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | label: Some("matrix add pipeline layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 312 - label: Some("matrix add pipeline layout").map(Into::into), [INFO] [stdout] 312 + label: Some("matrix add pipeline layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | label: Some("matrix mul pipeline layout").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 324 - label: Some("matrix mul pipeline layout").map(Into::into), [INFO] [stdout] 324 + label: Some("matrix mul pipeline layout"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/main.rs:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | label: Some("relu layot").map(Into::into), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 336 - label: Some("relu layot").map(Into::into), [INFO] [stdout] 336 + label: Some("relu layot"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learn_wgpu` (bin "learn_wgpu") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27", kill_on_drop: false }` [INFO] [stdout] ebdb846f97525ecb332bdcc4a7a86e83c22ca4357a9ad13f5c64c77c590e8c27