[INFO] cloning repository https://github.com/FredOden/nu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FredOden/nu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredOden%2Fnu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredOden%2Fnu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c3c95184e00716a8230a3b4589bfca3dd2d31b2 [INFO] checking FredOden/nu against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredOden%2Fnu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FredOden/nu [INFO] finished tweaking git repo https://github.com/FredOden/nu [INFO] tweaked toml for git repo https://github.com/FredOden/nu written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FredOden/nu on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FredOden/nu 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "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 FredOden/nu against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredOden%2Fnu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FredOden/nu [INFO] finished tweaking git repo https://github.com/FredOden/nu [INFO] tweaked toml for git repo https://github.com/FredOden/nu written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FredOden/nu on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FredOden/nu 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c010438fbaab9a986ce2974d104d3c2de2f6dbb943ee265997c1d63f23724e5 [INFO] running `Command { std: "docker" "start" "-a" "3c010438fbaab9a986ce2974d104d3c2de2f6dbb943ee265997c1d63f23724e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c010438fbaab9a986ce2974d104d3c2de2f6dbb943ee265997c1d63f23724e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c010438fbaab9a986ce2974d104d3c2de2f6dbb943ee265997c1d63f23724e5", kill_on_drop: false }` [INFO] [stdout] 3c010438fbaab9a986ce2974d104d3c2de2f6dbb943ee265997c1d63f23724e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 543c10c7f52ea453002d8de8f7cab5758ece936496e0835bce8f9dc620e2cbcd [INFO] running `Command { std: "docker" "start" "-a" "543c10c7f52ea453002d8de8f7cab5758ece936496e0835bce8f9dc620e2cbcd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [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 nu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `loss_gradient` [INFO] [stdout] --> src/neural_network.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn backward(&mut self, loss_gradient: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loss_gradient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loss_gradient` [INFO] [stdout] --> src/neural_network.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn backward(&mut self, loss_gradient: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loss_gradient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `learning_rate` [INFO] [stdout] --> src/neural_network.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn update_parameters(&mut self, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `learning_rate` [INFO] [stdout] --> src/neural_network.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn update_parameters(&mut self, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Neuron` is never constructed [INFO] [stdout] --> src/neuron.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Neuron { [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/neuron.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Neuron { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sigmoid`, `sigmoid_prime`, `forward`, `calculate_gradient`, and `update_parameters` are never used [INFO] [stdout] --> src/neuron.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | // Creates a new neuron with random weights and bias [INFO] [stdout] 11 | pub fn new(input_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn sigmoid(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn sigmoid_prime(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn forward(&self, inputs: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn calculate_gradient(&self, inputs: &[f64], output_gradient: f64) -> (Vec, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn update_parameters(&mut self, weights_gradient: &[f64], bias_gradient: f64, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sigmoid`, `sigmoid_prime`, `forward`, `calculate_gradient`, and `update_parameters` are never used [INFO] [stdout] --> src/neuron.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | // Creates a new neuron with random weights and bias [INFO] [stdout] 11 | pub fn new(input_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn sigmoid(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn sigmoid_prime(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn forward(&self, inputs: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn calculate_gradient(&self, inputs: &[f64], output_gradient: f64) -> (Vec, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn update_parameters(&mut self, weights_gradient: &[f64], bias_gradient: f64, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> src/layer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layer` is never constructed [INFO] [stdout] --> src/layer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Layer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `forward` are never used [INFO] [stdout] --> src/layer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 8 | // Create a new layer with a specified number of neurons, each with a specified number of inputs [INFO] [stdout] 9 | pub fn new(neuron_count: usize, input_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn forward(&self, inputs: &[f64]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `forward` are never used [INFO] [stdout] --> src/layer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 8 | // Create a new layer with a specified number of neurons, each with a specified number of inputs [INFO] [stdout] 9 | pub fn new(neuron_count: usize, input_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn forward(&self, inputs: &[f64]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeuralNetwork` is never constructed [INFO] [stdout] --> src/neural_network.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NeuralNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeuralNetwork` is never constructed [INFO] [stdout] --> src/neural_network.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NeuralNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `forward`, `train`, `calculate_loss_gradient`, `backward`, and `update_parameters` are never used [INFO] [stdout] --> src/neural_network.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NeuralNetwork { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | // Create a new neural network with a vector of layers [INFO] [stdout] 9 | pub fn new(layers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn forward(&self, input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn train(&mut self, inputs: Vec>, expected_outputs: Vec>, epochs: usize, learning_rate: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn calculate_loss_gradient(&self, outputs: &Vec, expected: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn backward(&mut self, loss_gradient: &Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn update_parameters(&mut self, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `forward`, `train`, `calculate_loss_gradient`, `backward`, and `update_parameters` are never used [INFO] [stdout] --> src/neural_network.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NeuralNetwork { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | // Create a new neural network with a vector of layers [INFO] [stdout] 9 | pub fn new(layers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn forward(&self, input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn train(&mut self, inputs: Vec>, expected_outputs: Vec>, epochs: usize, learning_rate: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn calculate_loss_gradient(&self, outputs: &Vec, expected: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn backward(&mut self, loss_gradient: &Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn update_parameters(&mut self, learning_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "543c10c7f52ea453002d8de8f7cab5758ece936496e0835bce8f9dc620e2cbcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "543c10c7f52ea453002d8de8f7cab5758ece936496e0835bce8f9dc620e2cbcd", kill_on_drop: false }` [INFO] [stdout] 543c10c7f52ea453002d8de8f7cab5758ece936496e0835bce8f9dc620e2cbcd