[INFO] cloning repository https://github.com/KrisJe/babygrad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KrisJe/babygrad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fbabygrad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fbabygrad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94d63eeff44d51eb49dbcc7b59057d1127bacbec [INFO] checking KrisJe/babygrad against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fbabygrad" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KrisJe/babygrad on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KrisJe/babygrad [INFO] finished tweaking git repo https://github.com/KrisJe/babygrad [INFO] tweaked toml for git repo https://github.com/KrisJe/babygrad written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KrisJe/babygrad 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking KrisJe/babygrad against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fbabygrad" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KrisJe/babygrad on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KrisJe/babygrad [INFO] finished tweaking git repo https://github.com/KrisJe/babygrad [INFO] tweaked toml for git repo https://github.com/KrisJe/babygrad written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KrisJe/babygrad 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphviz-rust v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04d1964eb9fcc88402ed841304cbf5223577deda0d0e19ee8330feffd20cf663 [INFO] running `Command { std: "docker" "start" "-a" "04d1964eb9fcc88402ed841304cbf5223577deda0d0e19ee8330feffd20cf663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04d1964eb9fcc88402ed841304cbf5223577deda0d0e19ee8330feffd20cf663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d1964eb9fcc88402ed841304cbf5223577deda0d0e19ee8330feffd20cf663", kill_on_drop: false }` [INFO] [stdout] 04d1964eb9fcc88402ed841304cbf5223577deda0d0e19ee8330feffd20cf663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3afdccca119d03224182b7b072f24ab50e05965c43511bc7aae46853f41017 [INFO] running `Command { std: "docker" "start" "-a" "1e3afdccca119d03224182b7b072f24ab50e05965c43511bc7aae46853f41017", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking graphviz-rust v0.9.0 [INFO] [stderr] Checking babygrad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nn::Neuron` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nn::Neuron; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nn::Neuron` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nn::Neuron; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/engine.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn zero_gradient(&self, amount: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/engine.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/engine.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 318 | Op::Add => { opstr ="+".to_owned(); color = 1; } [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 319 | Op::Sub => { opstr ="-".to_owned(); color = 1; } [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 320 | Op::Mul => { opstr = "*".to_owned(); color = 2;} [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 321 | Op::Div => { opstr= "/".to_owned(); color = 2; } [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 328 | _ => (), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/nn.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/nn.rs:251:19 [INFO] [stdout] | [INFO] [stdout] 251 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl ValueData { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 50 | fn new(value: f64) -> ValueData { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/engine.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn child(&self, index: usize) -> Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn only_child(&self) -> Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn lhs(&self) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn rhs(&self) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn visited(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn inc_gradient(&self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | fn zero_gradient(&self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn topological_sort(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn backward(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `act` is never read [INFO] [stdout] --> src/nn.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct MLP { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 205 | pub layers: Vec, [INFO] [stdout] 206 | pub act: ActivationFunc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MLP` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/engine.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn zero_gradient(&self, amount: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/engine.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/engine.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 318 | Op::Add => { opstr ="+".to_owned(); color = 1; } [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 319 | Op::Sub => { opstr ="-".to_owned(); color = 1; } [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 320 | Op::Mul => { opstr = "*".to_owned(); color = 2;} [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 321 | Op::Div => { opstr= "/".to_owned(); color = 2; } [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 328 | _ => (), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/nn.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/nn.rs:251:19 [INFO] [stdout] | [INFO] [stdout] 251 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let mut inputs: Vec = Vec::new(); [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: `output` [INFO] [stdout] --> src/nn.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let output = mlp.forward(Value::vec(xs[0])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zero_gradient` is never used [INFO] [stdout] --> src/engine.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | fn zero_gradient(&self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `act` is never read [INFO] [stdout] --> src/nn.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct MLP { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 205 | pub layers: Vec, [INFO] [stdout] 206 | pub act: ActivationFunc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MLP` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_neutron` is never used [INFO] [stdout] --> src/nn.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | fn create_neutron() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `layer` is never used [INFO] [stdout] --> src/nn.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn layer() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MLP` is never used [INFO] [stdout] --> src/nn.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn MLP() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MLP` should have a snake case name [INFO] [stdout] --> src/nn.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn MLP() { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `mlp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.64s [INFO] running `Command { std: "docker" "inspect" "1e3afdccca119d03224182b7b072f24ab50e05965c43511bc7aae46853f41017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3afdccca119d03224182b7b072f24ab50e05965c43511bc7aae46853f41017", kill_on_drop: false }` [INFO] [stdout] 1e3afdccca119d03224182b7b072f24ab50e05965c43511bc7aae46853f41017