[INFO] cloning repository https://github.com/celestecote21/neuronal_network_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/celestecote21/neuronal_network_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelestecote21%2Fneuronal_network_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelestecote21%2Fneuronal_network_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77e259ae87653e040e4e90249c4c18c928e27144 [INFO] checking celestecote21/neuronal_network_rust against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelestecote21%2Fneuronal_network_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/celestecote21/neuronal_network_rust on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/celestecote21/neuronal_network_rust [INFO] finished tweaking git repo https://github.com/celestecote21/neuronal_network_rust [INFO] tweaked toml for git repo https://github.com/celestecote21/neuronal_network_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/celestecote21/neuronal_network_rust 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" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87264384bb49fbe71ecb16b56a71d48bb8d735603461001cace084ddd6ef96f5 [INFO] running `Command { std: "docker" "start" "-a" "87264384bb49fbe71ecb16b56a71d48bb8d735603461001cace084ddd6ef96f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87264384bb49fbe71ecb16b56a71d48bb8d735603461001cace084ddd6ef96f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87264384bb49fbe71ecb16b56a71d48bb8d735603461001cace084ddd6ef96f5", kill_on_drop: false }` [INFO] [stdout] 87264384bb49fbe71ecb16b56a71d48bb8d735603461001cace084ddd6ef96f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] def3da6df9946502d2ba046d0b8d643d668f26b3e7c3ab3e030b08e65b6607ff [INFO] running `Command { std: "docker" "start" "-a" "def3da6df9946502d2ba046d0b8d643d668f26b3e7c3ab3e030b08e65b6607ff", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking neuronal_network_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut delta_out = match lm::hadamard(delta_out, Network::sigmoid_deri_v(z_last)){ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for t in 0..nb_img{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vec_used` is never read [INFO] [stdout] --> src/training_tuple.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImageTrain{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | vec_used: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `neur_L` should have a snake case name [INFO] [stdout] --> src/network.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | for neur_L in 0..(self.layers_size[current_dim - 1]) as usize{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `neur_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `neur_L1` should have a snake case name [INFO] [stdout] --> src/network.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | for neur_L1 in 0..(self.layers_size[current_dim]) as usize{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `neur_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut delta_out = match lm::hadamard(delta_out, Network::sigmoid_deri_v(z_last)){ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/network.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | self.change_b_w(delta_total, a_total); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = self.change_b_w(delta_total, a_total); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for t in 0..nb_img{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vec_used` is never read [INFO] [stdout] --> src/training_tuple.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImageTrain{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | vec_used: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `neur_L` should have a snake case name [INFO] [stdout] --> src/network.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | for neur_L in 0..(self.layers_size[current_dim - 1]) as usize{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `neur_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `neur_L1` should have a snake case name [INFO] [stdout] --> src/network.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | for neur_L1 in 0..(self.layers_size[current_dim]) as usize{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `neur_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/network.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | self.change_b_w(delta_total, a_total); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = self.change_b_w(delta_total, a_total); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.41s [INFO] running `Command { std: "docker" "inspect" "def3da6df9946502d2ba046d0b8d643d668f26b3e7c3ab3e030b08e65b6607ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def3da6df9946502d2ba046d0b8d643d668f26b3e7c3ab3e030b08e65b6607ff", kill_on_drop: false }` [INFO] [stdout] def3da6df9946502d2ba046d0b8d643d668f26b3e7c3ab3e030b08e65b6607ff