[INFO] cloning repository https://github.com/elementary-luke/Digit-Recognition-NN [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elementary-luke/Digit-Recognition-NN" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felementary-luke%2FDigit-Recognition-NN", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felementary-luke%2FDigit-Recognition-NN'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74e6ead445cc4b45d7d75ae2dc8a4586e3589cd6 [INFO] building elementary-luke/Digit-Recognition-NN against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felementary-luke%2FDigit-Recognition-NN" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 16% (11604/70023) Updating files: 17% (11904/70023) Updating files: 18% (12605/70023) Updating files: 19% (13305/70023) Updating files: 20% (14005/70023) Updating files: 21% (14705/70023) Updating files: 22% (15406/70023) Updating files: 23% (16106/70023) Updating files: 24% (16806/70023) Updating files: 25% (17506/70023) Updating files: 26% (18206/70023) Updating files: 27% (18907/70023) Updating files: 28% (19607/70023) Updating files: 29% (20307/70023) Updating files: 30% (21007/70023) Updating files: 31% (21708/70023) Updating files: 32% (22408/70023) Updating files: 33% (23108/70023) Updating files: 34% (23808/70023) Updating files: 34% (24193/70023) Updating files: 35% (24509/70023) Updating files: 36% (25209/70023) Updating files: 37% (25909/70023) Updating files: 38% (26609/70023) Updating files: 39% (27309/70023) Updating files: 40% (28010/70023) Updating files: 41% (28710/70023) Updating files: 42% (29410/70023) Updating files: 43% (30110/70023) Updating files: 44% (30811/70023) Updating files: 45% (31511/70023) Updating files: 46% (32211/70023) Updating files: 47% (32911/70023) Updating files: 48% (33612/70023) Updating files: 49% (34312/70023) Updating files: 50% (35012/70023) Updating files: 51% (35712/70023) Updating files: 52% (36412/70023) Updating files: 53% (37113/70023) Updating files: 53% (37797/70023) Updating files: 54% (37813/70023) Updating files: 55% (38513/70023) Updating files: 56% (39213/70023) Updating files: 57% (39914/70023) Updating files: 58% (40614/70023) Updating files: 59% (41314/70023) Updating files: 60% (42014/70023) Updating files: 61% (42715/70023) Updating files: 62% (43415/70023) Updating files: 63% (44115/70023) Updating files: 64% (44815/70023) Updating files: 65% (45515/70023) Updating files: 66% (46216/70023) Updating files: 67% (46916/70023) Updating files: 68% (47616/70023) Updating files: 69% (48316/70023) Updating files: 70% (49017/70023) Updating files: 71% (49717/70023) Updating files: 72% (50417/70023) Updating files: 73% (51117/70023) Updating files: 74% (51818/70023) Updating files: 74% (52403/70023) Updating files: 75% (52518/70023) Updating files: 76% (53218/70023) Updating files: 77% (53918/70023) Updating files: 78% (54618/70023) Updating files: 79% (55319/70023) Updating files: 80% (56019/70023) Updating files: 81% (56719/70023) Updating files: 82% (57419/70023) Updating files: 83% (58120/70023) Updating files: 84% (58820/70023) Updating files: 85% (59520/70023) Updating files: 86% (60220/70023) Updating files: 87% (60921/70023) Updating files: 88% (61621/70023) Updating files: 89% (62321/70023) Updating files: 90% (63021/70023) Updating files: 91% (63721/70023) Updating files: 92% (64422/70023) Updating files: 93% (65122/70023) Updating files: 94% (65822/70023) Updating files: 95% (66522/70023) Updating files: 95% (67017/70023) Updating files: 96% (67223/70023) Updating files: 97% (67923/70023) Updating files: 98% (68623/70023) Updating files: 99% (69323/70023) Updating files: 100% (70023/70023) Updating files: 100% (70023/70023), done. [INFO] started tweaking git repo https://github.com/elementary-luke/Digit-Recognition-NN [INFO] finished tweaking git repo https://github.com/elementary-luke/Digit-Recognition-NN [INFO] tweaked toml for git repo https://github.com/elementary-luke/Digit-Recognition-NN written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elementary-luke/Digit-Recognition-NN 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/elementary-luke/Digit-Recognition-NN 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xdg-home v1.2.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.10 [INFO] [stderr] Downloaded async-executor v1.13.0 [INFO] [stderr] Downloaded rfd v0.14.1 [INFO] [stderr] Downloaded egui-macroquad v0.15.0 [INFO] [stderr] Downloaded emath v0.21.0 [INFO] [stderr] Downloaded sapp-jsutils v0.1.5 [INFO] [stderr] Downloaded toml v0.8.15 [INFO] [stderr] Downloaded owned_ttf_parser v0.24.0 [INFO] [stderr] Downloaded winapi-wsapoll v0.1.2 [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded xcursor v0.3.6 [INFO] [stderr] Downloaded target-lexicon v0.12.15 [INFO] [stderr] Downloaded x11rb-protocol v0.10.0 [INFO] [stderr] Downloaded image-webp v0.1.3 [INFO] [stderr] Downloaded glam v0.21.3 [INFO] [stderr] Downloaded miniquad v0.3.16 [INFO] [stderr] Downloaded zune-jpeg v0.4.13 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded audrey v0.3.0 [INFO] [stderr] Downloaded ogg v0.7.1 [INFO] [stderr] Downloaded async-broadcast v0.7.1 [INFO] [stderr] Downloaded copypasta v0.8.2 [INFO] [stderr] Downloaded ab_glyph v0.2.28 [INFO] [stderr] Downloaded quad-url v0.1.1 [INFO] [stderr] Downloaded ravif v0.11.8 [INFO] [stderr] Downloaded rgb v0.8.45 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded epaint v0.21.0 [INFO] [stderr] Downloaded toml_edit v0.22.16 [INFO] [stderr] Downloaded winnow v0.6.15 [INFO] [stderr] Downloaded quad-snd v0.2.8 [INFO] [stderr] Downloaded x11-clipboard v0.7.1 [INFO] [stderr] Downloaded x11rb v0.10.1 [INFO] [stderr] Downloaded ttf-parser v0.24.0 [INFO] [stderr] Downloaded image v0.25.2 [INFO] [stderr] Downloaded egui v0.21.0 [INFO] [stderr] Downloaded macroquad v0.3.26 [INFO] [stderr] Downloaded bitstream-io v2.5.0 [INFO] [stderr] Downloaded ecolor v0.21.0 [INFO] [stderr] Downloaded egui-miniquad v0.14.0 [INFO] [stderr] Downloaded audir-sles v0.1.0 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded async-net v2.0.0 [INFO] [stderr] Downloaded async-process v2.2.3 [INFO] [stderr] Downloaded piper v0.2.3 [INFO] [stderr] Downloaded enumflags2 v0.7.10 [INFO] [stderr] Downloaded ashpd v0.8.1 [INFO] [stderr] Downloaded built v0.7.4 [INFO] [stderr] Downloaded async-signal v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 89287b851b1bd8b3b86f7b33fe0d88c7875434b925d3bf89e716d9f1fd42a3d7 [INFO] running `Command { std: "docker" "start" "-a" "89287b851b1bd8b3b86f7b33fe0d88c7875434b925d3bf89e716d9f1fd42a3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89287b851b1bd8b3b86f7b33fe0d88c7875434b925d3bf89e716d9f1fd42a3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89287b851b1bd8b3b86f7b33fe0d88c7875434b925d3bf89e716d9f1fd42a3d7", kill_on_drop: false }` [INFO] [stdout] 89287b851b1bd8b3b86f7b33fe0d88c7875434b925d3bf89e716d9f1fd42a3d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2ca78b7838be1bcd65b51277b56049d3ac794bef6a560c6de2b7d147f11f23ff [INFO] running `Command { std: "docker" "start" "-a" "2ca78b7838be1bcd65b51277b56049d3ac794bef6a560c6de2b7d147f11f23ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling ttf-parser v0.24.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling miniquad v0.3.16 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-executor v1.13.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling audrey v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling quad-url v0.1.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling xdg-home v1.2.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling emath v0.21.0 [INFO] [stderr] Compiling ecolor v0.21.0 [INFO] [stderr] Compiling rgb v0.8.45 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling epaint v0.21.0 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling egui v0.21.0 [INFO] [stderr] Compiling macroquad v0.3.26 [INFO] [stderr] Compiling egui-miniquad v0.14.0 [INFO] [stderr] Compiling egui-macroquad v0.15.0 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling ravif v0.11.8 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling ashpd v0.8.1 [INFO] [stderr] Compiling machinalearnen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/network.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | for k in 0..self.layers[i - 1].neurons.len() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_a` [INFO] [stdout] --> src/network.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let curr_a = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 157 | let _curr_a = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `unit_w` [INFO] [stdout] | [INFO] [stdout] 157 - let curr_a = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] 157 + let grid::unit_w = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:362:11 [INFO] [stdout] | [INFO] [stdout] 362 | fn x_grid(input: GridInput) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | fn y_grid(input: GridInput) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_layer_activation` is never used [INFO] [stdout] --> src/network.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Network [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn print_layer_activation(&mut self, nlayer: usize) [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 `dCdB` should have a snake case name [INFO] [stdout] --> src/network.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let dCdB : f32 = dsigmoid(curr_z) * self.layers[k].neurons[i].dCdA as f32; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dCdW` should have a snake case name [INFO] [stdout] --> src/network.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | let dCdW : f32 = last_a * dsigmoid(curr_z) * self.layers[k].neurons[i].dCdA as f32; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dCdW` should have a snake case name [INFO] [stdout] --> src/weight.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub dCdW : Vec //List of changes wanted for each image of the batch that will be averaged [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dCdA` should have a snake case name [INFO] [stdout] --> src/neuron.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub dCdA : f32 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dCdB` should have a snake case name [INFO] [stdout] --> src/bias.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub dCdB : Vec //List of changes wanted for each image of the batch that will be averaged [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit_w` should have an upper case name [INFO] [stdout] --> src/grid.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const unit_w : f32 = 20.0; //width in pixels of squares in the grida [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 9 - const unit_w : f32 = 20.0; //width in pixels of squares in the grida [INFO] [stdout] 9 + const UNIT_W : f32 = 20.0; //width in pixels of squares in the grida [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2ca78b7838be1bcd65b51277b56049d3ac794bef6a560c6de2b7d147f11f23ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca78b7838be1bcd65b51277b56049d3ac794bef6a560c6de2b7d147f11f23ff", kill_on_drop: false }` [INFO] [stdout] 2ca78b7838be1bcd65b51277b56049d3ac794bef6a560c6de2b7d147f11f23ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cc98865f130c3fc680ba646907cfea40e055e71458aa3d5541cb697848bc6c0b [INFO] running `Command { std: "docker" "start" "-a" "cc98865f130c3fc680ba646907cfea40e055e71458aa3d5541cb697848bc6c0b", kill_on_drop: false }` [INFO] [stderr] Compiling machinalearnen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/network.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | for k in 0..self.layers[i - 1].neurons.len() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_a` [INFO] [stdout] --> src/network.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let curr_a = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 157 | let _curr_a = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `unit_w` [INFO] [stdout] | [INFO] [stdout] 157 - let curr_a = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] 157 + let grid::unit_w = self.layers[k].neurons[i].activation; //neuron connected to weight on this layer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:362:11 [INFO] [stdout] | [INFO] [stdout] 362 | fn x_grid(input: GridInput) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | fn y_grid(input: GridInput) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_layer_activation` is never used [INFO] [stdout] --> src/network.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Network [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn print_layer_activation(&mut self, nlayer: usize) [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 `dCdB` should have a snake case name [INFO] [stdout] --> src/network.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let dCdB : f32 = dsigmoid(curr_z) * self.layers[k].neurons[i].dCdA as f32; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dCdW` should have a snake case name [INFO] [stdout] --> src/network.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | let dCdW : f32 = last_a * dsigmoid(curr_z) * self.layers[k].neurons[i].dCdA as f32; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dCdW` should have a snake case name [INFO] [stdout] --> src/weight.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub dCdW : Vec //List of changes wanted for each image of the batch that will be averaged [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dCdA` should have a snake case name [INFO] [stdout] --> src/neuron.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub dCdA : f32 [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dCdB` should have a snake case name [INFO] [stdout] --> src/bias.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub dCdB : Vec //List of changes wanted for each image of the batch that will be averaged [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `d_cd_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit_w` should have an upper case name [INFO] [stdout] --> src/grid.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const unit_w : f32 = 20.0; //width in pixels of squares in the grida [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 9 - const unit_w : f32 = 20.0; //width in pixels of squares in the grida [INFO] [stdout] 9 + const UNIT_W : f32 = 20.0; //width in pixels of squares in the grida [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "cc98865f130c3fc680ba646907cfea40e055e71458aa3d5541cb697848bc6c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc98865f130c3fc680ba646907cfea40e055e71458aa3d5541cb697848bc6c0b", kill_on_drop: false }` [INFO] [stdout] cc98865f130c3fc680ba646907cfea40e055e71458aa3d5541cb697848bc6c0b