[INFO] cloning repository https://github.com/tonyyzy/smolgrad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyyzy/smolgrad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 542ec1fb8c3497be3f098cc81190402808edc635 [INFO] checking tonyyzy/smolgrad against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonyyzy/smolgrad on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonyyzy/smolgrad [INFO] finished tweaking git repo https://github.com/tonyyzy/smolgrad [INFO] tweaked toml for git repo https://github.com/tonyyzy/smolgrad written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tonyyzy/smolgrad 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c3eb7406d9d23592708d9801597d02eea1ad1fd0e307784800590861b59da57 [INFO] running `Command { std: "docker" "start" "-a" "1c3eb7406d9d23592708d9801597d02eea1ad1fd0e307784800590861b59da57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c3eb7406d9d23592708d9801597d02eea1ad1fd0e307784800590861b59da57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3eb7406d9d23592708d9801597d02eea1ad1fd0e307784800590861b59da57", kill_on_drop: false }` [INFO] [stdout] 1c3eb7406d9d23592708d9801597d02eea1ad1fd0e307784800590861b59da57 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f002eadef2948b7eba65430d9ebaccee63a9fab2ca59af7c18869e37d61bc8f2 [INFO] running `Command { std: "docker" "start" "-a" "f002eadef2948b7eba65430d9ebaccee63a9fab2ca59af7c18869e37d61bc8f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking smolgrad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/nn.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/engine.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/engine.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/engine.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut w = (0..nin) [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: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut w = (0..nin) [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: trait `Module` is never used [INFO] [stdout] --> src/nn.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Neuron` is never constructed [INFO] [stdout] --> src/nn.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> src/nn.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLP` is never constructed [INFO] [stdout] --> src/nn.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct MLP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/nn.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | fn new(nin: usize, nonlin: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn call(&self, x: &[Value]) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/nn.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 84 | fn new(nin: usize, nout: usize, nonlin: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/nn.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl MLP { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 107 | fn new(nin: usize, nouts: &[usize]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | op: Ops, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward` is never used [INFO] [stdout] --> src/engine.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn backward(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/nn.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Neuron { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn call(&self, x: &[Value]) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/nn.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Layer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/nn.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl MLP { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | op: Ops, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_MLP` should have a snake case name [INFO] [stdout] --> src/nn.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn test_MLP() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `test_mlp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ReLU` should have a snake case name [INFO] [stdout] --> src/engine.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn test_ReLU() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `test_re_lu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ReLU_neg` should have a snake case name [INFO] [stdout] --> src/engine.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | fn test_ReLU_neg() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_re_lu_neg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "f002eadef2948b7eba65430d9ebaccee63a9fab2ca59af7c18869e37d61bc8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f002eadef2948b7eba65430d9ebaccee63a9fab2ca59af7c18869e37d61bc8f2", kill_on_drop: false }` [INFO] [stdout] f002eadef2948b7eba65430d9ebaccee63a9fab2ca59af7c18869e37d61bc8f2 [INFO] checking tonyyzy/smolgrad against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tonyyzy/smolgrad on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tonyyzy/smolgrad [INFO] finished tweaking git repo https://github.com/tonyyzy/smolgrad [INFO] tweaked toml for git repo https://github.com/tonyyzy/smolgrad written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tonyyzy/smolgrad 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928e03fa1efeb19846b0d0efab237f54918469ab2f8bb09db57f8a5655787f99 [INFO] running `Command { std: "docker" "start" "-a" "928e03fa1efeb19846b0d0efab237f54918469ab2f8bb09db57f8a5655787f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928e03fa1efeb19846b0d0efab237f54918469ab2f8bb09db57f8a5655787f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928e03fa1efeb19846b0d0efab237f54918469ab2f8bb09db57f8a5655787f99", kill_on_drop: false }` [INFO] [stdout] 928e03fa1efeb19846b0d0efab237f54918469ab2f8bb09db57f8a5655787f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a703991ab5c4573c505163be5d0f91ca173f067502c1279c909f3af1659a076 [INFO] running `Command { std: "docker" "start" "-a" "0a703991ab5c4573c505163be5d0f91ca173f067502c1279c909f3af1659a076", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking smolgrad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/engine.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/nn.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/engine.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/engine.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut w = (0..nin) [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: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut w = (0..nin) [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: trait `Module` is never used [INFO] [stdout] --> src/nn.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Neuron` is never constructed [INFO] [stdout] --> src/nn.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> src/nn.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MLP` is never constructed [INFO] [stdout] --> src/nn.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct MLP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/nn.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | fn new(nin: usize, nonlin: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn call(&self, x: &[Value]) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/nn.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 84 | fn new(nin: usize, nout: usize, nonlin: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `call` are never used [INFO] [stdout] --> src/nn.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl MLP { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 107 | fn new(nin: usize, nouts: &[usize]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | op: Ops, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward` is never used [INFO] [stdout] --> src/engine.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn backward(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nn.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 36 | let mut w = (0..nin) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | b: Value::new(0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 80 | fn _new(data: f32, prev: Vec, op: Ops) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self(Rc::new(RefCell::new(Inner { [INFO] [stdout] | ______________^ [INFO] [stdout] 82 | | data: Rc::new(Cell::new(data)), [INFO] [stdout] 83 | | grad: Rc::new(Cell::new(0.0)), [INFO] [stdout] 84 | | backward: Box::new(|| {}), [INFO] [stdout] 85 | | prev, [INFO] [stdout] 86 | | op, [INFO] [stdout] 87 | | }))) [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 241 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | &self + &(-&rhs) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 330 | fn div(self, rhs: Value) -> Self::Output { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | rhs.pow(-1.0) * self [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/nn.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Neuron { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn call(&self, x: &[Value]) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/nn.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Layer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/nn.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl MLP { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn call(&self, x: &[Value]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | op: Ops, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nn.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 36 | let mut w = (0..nin) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | b: Value::new(0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_MLP` should have a snake case name [INFO] [stdout] --> src/nn.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn test_MLP() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `test_mlp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 80 | fn _new(data: f32, prev: Vec, op: Ops) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self(Rc::new(RefCell::new(Inner { [INFO] [stdout] | ______________^ [INFO] [stdout] 82 | | data: Rc::new(Cell::new(data)), [INFO] [stdout] 83 | | grad: Rc::new(Cell::new(0.0)), [INFO] [stdout] 84 | | backward: Box::new(|| {}), [INFO] [stdout] 85 | | prev, [INFO] [stdout] 86 | | op, [INFO] [stdout] 87 | | }))) [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 241 | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ---- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | &self + &(-&rhs) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 330 | fn div(self, rhs: Value) -> Self::Output { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | rhs.pow(-1.0) * self [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ReLU` should have a snake case name [INFO] [stdout] --> src/engine.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn test_ReLU() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `test_re_lu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_ReLU_neg` should have a snake case name [INFO] [stdout] --> src/engine.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | fn test_ReLU_neg() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_re_lu_neg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smolgrad` (lib) due to 5 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smolgrad` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a703991ab5c4573c505163be5d0f91ca173f067502c1279c909f3af1659a076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a703991ab5c4573c505163be5d0f91ca173f067502c1279c909f3af1659a076", kill_on_drop: false }` [INFO] [stdout] 0a703991ab5c4573c505163be5d0f91ca173f067502c1279c909f3af1659a076