[INFO] cloning repository https://github.com/DevNitrate/neuroxide
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevNitrate/neuroxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevNitrate%2Fneuroxide", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevNitrate%2Fneuroxide'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 818b7765fc3289f6f5ee8b2b6a136a84b27572b3
[INFO] checking DevNitrate/neuroxide/818b7765fc3289f6f5ee8b2b6a136a84b27572b3 against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevNitrate%2Fneuroxide" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DevNitrate/neuroxide
[INFO] finished tweaking git repo https://github.com/DevNitrate/neuroxide
[INFO] tweaked toml for git repo https://github.com/DevNitrate/neuroxide written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DevNitrate/neuroxide on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DevNitrate/neuroxide 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" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c
[INFO] running `Command { std: "docker" "start" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking neuroxide v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `layer::Layer`
[INFO] [stdout]   --> src/lib.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use crate::{layer::Layer, network::Network, ActivationFunction};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Sigmoid`, `Tanh`, and `LeakyRelu` are never constructed
[INFO] [stdout]   --> src/lib.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum ActivationFunction {
[INFO] [stdout]    |      ------------------ variants in this enum
[INFO] [stdout]  8 |     Sigmoid,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |     Tanh,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     Relu,
[INFO] [stdout] 11 |     LeakyRelu(f64)
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ActivationFunction` 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: method `derivative` is never used
[INFO] [stdout]   --> src/lib.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ActivationFunction {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn derivative(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ActivationFunction` is never used
[INFO] [stdout]  --> src/lib.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum ActivationFunction {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `apply` and `derivative` are never used
[INFO] [stdout]   --> src/lib.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ActivationFunction {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] 15 |     pub fn apply(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn derivative(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Layer` is never constructed
[INFO] [stdout]  --> src/layer.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Layer {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_weight`, `init_weights`, and `calculate_output` are never used
[INFO] [stdout]   --> src/layer.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Layer {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(inputs: Vec<f64>, nodes_out: usize, activation_function: ActivationFunction) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn get_weight(&self, node_in: usize, node_out: usize) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn init_weights(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn calculate_output(&mut self) -> Vec<f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]  --> src/network.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Network {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/network.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Network {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 9 |     pub fn new(input: Vec<f64>, num_hidden_layers: usize, layer_sizes: Vec<usize>, activation_functions: Vec<ActivationFunction>) -> ...
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s
[INFO] running `Command { std: "docker" "inspect" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c", kill_on_drop: false }`
[INFO] [stdout] e6a521212fc1c03e82b774fcb04c9f696e5d5e4d135b47d230871b33007b806c
