[INFO] cloning repository https://github.com/KaustubhKhulbe/cs128h-final [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KaustubhKhulbe/cs128h-final" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaustubhKhulbe%2Fcs128h-final", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaustubhKhulbe%2Fcs128h-final'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b8909ad5b4be64ab8a29be2aa23989b84be4afe [INFO] checking KaustubhKhulbe/cs128h-final against master#1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaustubhKhulbe%2Fcs128h-final" "/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/KaustubhKhulbe/cs128h-final on toolchain 1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KaustubhKhulbe/cs128h-final [INFO] finished tweaking git repo https://github.com/KaustubhKhulbe/cs128h-final [INFO] tweaked toml for git repo https://github.com/KaustubhKhulbe/cs128h-final written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KaustubhKhulbe/cs128h-final 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" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "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 [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking KaustubhKhulbe/cs128h-final against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaustubhKhulbe%2Fcs128h-final" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KaustubhKhulbe/cs128h-final on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KaustubhKhulbe/cs128h-final [INFO] finished tweaking git repo https://github.com/KaustubhKhulbe/cs128h-final [INFO] tweaked toml for git repo https://github.com/KaustubhKhulbe/cs128h-final written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KaustubhKhulbe/cs128h-final 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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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 KaustubhKhulbe/cs128h-final against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaustubhKhulbe%2Fcs128h-final" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KaustubhKhulbe/cs128h-final on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KaustubhKhulbe/cs128h-final [INFO] finished tweaking git repo https://github.com/KaustubhKhulbe/cs128h-final [INFO] tweaked toml for git repo https://github.com/KaustubhKhulbe/cs128h-final written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KaustubhKhulbe/cs128h-final 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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c7918ebe1e5673bb86469b265693831e61a28166cffbe4c809c00d0a6d33189 [INFO] running `Command { std: "docker" "start" "-a" "3c7918ebe1e5673bb86469b265693831e61a28166cffbe4c809c00d0a6d33189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c7918ebe1e5673bb86469b265693831e61a28166cffbe4c809c00d0a6d33189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7918ebe1e5673bb86469b265693831e61a28166cffbe4c809c00d0a6d33189", kill_on_drop: false }` [INFO] [stdout] 3c7918ebe1e5673bb86469b265693831e61a28166cffbe4c809c00d0a6d33189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e21974e5d2738247c8fa6074738cfd75f61919c529cd3f3028ab238ae879754f [INFO] running `Command { std: "docker" "start" "-a" "e21974e5d2738247c8fa6074738cfd75f61919c529cd3f3028ab238ae879754f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.33 [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 approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking cs128h-final v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DMatrix` [INFO] [stdout] --> src/utils/neural_net.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DVector, DMatrix}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DMatrix` [INFO] [stdout] --> src/utils/neural_net.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DVector, DMatrix}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let c = network.get_cost_val(&y_hat, &y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut network = NeuralNetwork::new(DVector::from(vec![1.0, 2.0, 3.0])); [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: associated items `new` and `single_layer_forward_propogation` are never used [INFO] [stdout] --> src/utils/layer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(num_layers: usize, num_prev_layers: usize, activation: Activation, previous_layer: DVector) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn single_layer_forward_propogation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Relu`, `Tanx`, and `Sigmoid` are never constructed [INFO] [stdout] --> src/utils/activation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 2 | Relu, Tanx, Sigmoid, Input // etc [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `relu` and `sigmoid` are never used [INFO] [stdout] --> src/utils/activation.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Activation { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 6 | pub fn relu(x: f64) -> f64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn sigmoid(x: f64) -> f64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layers` is never read [INFO] [stdout] --> src/utils/neural_net.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | layers: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_layer`, `forward_propogation`, and `print_network` are never used [INFO] [stdout] --> src/utils/neural_net.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NeuralNetwork { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn add_layer(&mut self, size: usize, activation: Activation) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn forward_propogation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn print_network(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let c = network.get_cost_val(&y_hat, &y); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut network = NeuralNetwork::new(DVector::from(vec![1.0, 2.0, 3.0])); [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: method `single_layer_forward_propogation` is never used [INFO] [stdout] --> src/utils/layer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Layer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn single_layer_forward_propogation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tanx` and `Sigmoid` are never constructed [INFO] [stdout] --> src/utils/activation.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 2 | Relu, Tanx, Sigmoid, Input // etc [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `relu` and `sigmoid` are never used [INFO] [stdout] --> src/utils/activation.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Activation { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 6 | pub fn relu(x: f64) -> f64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn sigmoid(x: f64) -> f64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layers` is never read [INFO] [stdout] --> src/utils/neural_net.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | layers: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_layer`, `forward_propogation`, and `print_network` are never used [INFO] [stdout] --> src/utils/neural_net.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NeuralNetwork { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn add_layer(&mut self, size: usize, activation: Activation) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn forward_propogation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn print_network(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.87s [INFO] running `Command { std: "docker" "inspect" "e21974e5d2738247c8fa6074738cfd75f61919c529cd3f3028ab238ae879754f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21974e5d2738247c8fa6074738cfd75f61919c529cd3f3028ab238ae879754f", kill_on_drop: false }` [INFO] [stdout] e21974e5d2738247c8fa6074738cfd75f61919c529cd3f3028ab238ae879754f