[INFO] cloning repository https://github.com/denimars/rs-cnn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denimars/rs-cnn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenimars%2Frs-cnn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenimars%2Frs-cnn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c215080b662f0ace871c1c0bcefe0fa64b43c821
[INFO] checking denimars/rs-cnn/c215080b662f0ace871c1c0bcefe0fa64b43c821 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenimars%2Frs-cnn" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/denimars/rs-cnn
[INFO] finished tweaking git repo https://github.com/denimars/rs-cnn
[INFO] tweaked toml for git repo https://github.com/denimars/rs-cnn written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/denimars/rs-cnn on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/denimars/rs-cnn 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.94
[INFO] [stderr]   Downloaded rand v0.9.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.23
[INFO] [stderr]   Downloaded zerocopy v0.8.23
[INFO] [stderr]   Downloaded libc v0.2.171
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea
[INFO] running `Command { std: "docker" "start" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea", 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" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea", 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" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling getrandom v0.3.1
[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.0
[INFO] [stderr]     Checking rust-cnn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `nn::Linear`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nn::Linear;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::Model`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use model::Model;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `activation::Activation`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use activation::Activation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]  --> src/model.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Model {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `forward` are never used
[INFO] [stdout]   --> src/model.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Model {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(layers: Vec<Linear>)->Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn forward (&self, x: &Matrix) -> Matrix{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SOFTMAX` is never constructed
[INFO] [stdout]  --> src/activation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Activation{
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 4 |     RELU,
[INFO] [stdout] 5 |     SOFTMAX
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nn::Linear`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nn::Linear;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::Model`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use model::Model;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `activation::Activation`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use activation::Activation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `zeros`, `set`, and `random` are never used
[INFO] [stdout]   --> src/matrix.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Matrix{
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn zeros(rows: usize, cols:usize) -> Self{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn set(&mut self, row: usize, col:usize, value:f32) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn random(rows: usize, cols:usize, low:f32, high:f32) -> Self{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul` is never used
[INFO] [stdout]   --> src/matrix.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn matmul(a: &Matrix, b:&Matrix)-> Matrix{
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Linear` is never constructed
[INFO] [stdout]  --> src/nn.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Linear {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `forward` are never used
[INFO] [stdout]   --> src/nn.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Linear {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(input: usize, output: usize, activition: Activation)-> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn forward(&self, x: &Matrix)-> Matrix{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.54s
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]  --> src/model.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Model {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `forward` are never used
[INFO] [stdout]   --> src/model.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Model {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(layers: Vec<Linear>)->Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn forward (&self, x: &Matrix) -> Matrix{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Activation` is never used
[INFO] [stdout]  --> src/activation.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Activation{
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_activation` is never used
[INFO] [stdout]  --> src/activation.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn apply_activation(x: &Matrix, activation: &Activation) -> Matrix{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]   --> src/activation.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn relu(x: &Matrix)-> Matrix{
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `softmax` is never used
[INFO] [stdout]   --> src/activation.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn softmax(x: &Matrix) -> Matrix{
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea", kill_on_drop: false }`
[INFO] [stdout] 4a7aa483c4caf0d1406f0ac41e3f14a95a518cf6560295e7539da18112a92bea
