[INFO] cloning repository https://github.com/WellHiIGuess/Rust-Neural-Network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WellHiIGuess/Rust-Neural-Network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWellHiIGuess%2FRust-Neural-Network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWellHiIGuess%2FRust-Neural-Network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c22dfdbaaa1d9501bcee485171b2549396431df4 [INFO] checking WellHiIGuess/Rust-Neural-Network against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWellHiIGuess%2FRust-Neural-Network" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WellHiIGuess/Rust-Neural-Network [INFO] finished tweaking git repo https://github.com/WellHiIGuess/Rust-Neural-Network [INFO] tweaked toml for git repo https://github.com/WellHiIGuess/Rust-Neural-Network written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WellHiIGuess/Rust-Neural-Network on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WellHiIGuess/Rust-Neural-Network 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b255c3216e922b340152083eb26b9b0d44f2bba35bdf1f4cc14e171d661dc018 [INFO] running `Command { std: "docker" "start" "-a" "b255c3216e922b340152083eb26b9b0d44f2bba35bdf1f4cc14e171d661dc018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b255c3216e922b340152083eb26b9b0d44f2bba35bdf1f4cc14e171d661dc018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b255c3216e922b340152083eb26b9b0d44f2bba35bdf1f4cc14e171d661dc018", kill_on_drop: false }` [INFO] [stdout] b255c3216e922b340152083eb26b9b0d44f2bba35bdf1f4cc14e171d661dc018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bc2ae2a36d15ba4ee75005505cc36894789c3d53ad44af5d457d0ee5ed2f2e0 [INFO] running `Command { std: "docker" "start" "-a" "1bc2ae2a36d15ba4ee75005505cc36894789c3d53ad44af5d457d0ee5ed2f2e0", kill_on_drop: false }` [INFO] [stderr] Checking rust-neural-network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `nw` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut nw = NeuralNetwork::new(5, 1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nw` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut nw = NeuralNetwork::new(5, 1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut nw = NeuralNetwork::new(5, 1); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | value: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `set_value` are never used [INFO] [stdout] --> src/node.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_value(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_value(&mut self, value: f32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/nueral_network.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 4 | network: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `train` is never used [INFO] [stdout] --> src/nueral_network.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn train(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut nw = NeuralNetwork::new(5, 1); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | value: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `set_value` are never used [INFO] [stdout] --> src/node.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_value(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_value(&mut self, value: f32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/nueral_network.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NeuralNetwork { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 4 | network: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `train` is never used [INFO] [stdout] --> src/nueral_network.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn train(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "1bc2ae2a36d15ba4ee75005505cc36894789c3d53ad44af5d457d0ee5ed2f2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc2ae2a36d15ba4ee75005505cc36894789c3d53ad44af5d457d0ee5ed2f2e0", kill_on_drop: false }` [INFO] [stdout] 1bc2ae2a36d15ba4ee75005505cc36894789c3d53ad44af5d457d0ee5ed2f2e0