[INFO] cloning repository https://github.com/EugenioBarbieriViale/dl-framework
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EugenioBarbieriViale/dl-framework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenioBarbieriViale%2Fdl-framework", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenioBarbieriViale%2Fdl-framework'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9d7c9916c68344173b55b25dbf3aa79530be699
[INFO] checking EugenioBarbieriViale/dl-framework against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenioBarbieriViale%2Fdl-framework" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EugenioBarbieriViale/dl-framework
[INFO] finished tweaking git repo https://github.com/EugenioBarbieriViale/dl-framework
[INFO] tweaked toml for git repo https://github.com/EugenioBarbieriViale/dl-framework written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EugenioBarbieriViale/dl-framework on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EugenioBarbieriViale/dl-framework 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ffb80efb9bbced1d37a12b4a01f5c8cbee82ec3af7a1e72e8fdc9f4cda079b7
[INFO] running `Command { std: "docker" "start" "-a" "7ffb80efb9bbced1d37a12b4a01f5c8cbee82ec3af7a1e72e8fdc9f4cda079b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ffb80efb9bbced1d37a12b4a01f5c8cbee82ec3af7a1e72e8fdc9f4cda079b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ffb80efb9bbced1d37a12b4a01f5c8cbee82ec3af7a1e72e8fdc9f4cda079b7", kill_on_drop: false }`
[INFO] [stdout] 7ffb80efb9bbced1d37a12b4a01f5c8cbee82ec3af7a1e72e8fdc9f4cda079b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ea2ee1a259df26d74784fd1ee19f764cea37d867f77c34d816988617b2d29cf
[INFO] running `Command { std: "docker" "start" "-a" "7ea2ee1a259df26d74784fd1ee19f764cea37d867f77c34d816988617b2d29cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking dl-framework v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `nn`
[INFO] [stdout]  --> examples/logic_gates.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod nn;
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `nn`, create file "examples/nn.rs" or "examples/nn/mod.rs"
[INFO] [stdout]   = note: if there is a `mod nn` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `D_SIGMOID` should have an upper camel case name
[INFO] [stdout]  --> src/nn/activation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     D_SIGMOID,
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `DSigmoid`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `D_RELU` should have an upper camel case name
[INFO] [stdout]   --> src/nn/activation.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     D_RELU(f64),
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `DRelu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `D_TANH` should have an upper camel case name
[INFO] [stdout]   --> src/nn/activation.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     D_TANH,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `DTanh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `D_SIGMOID` should have an upper camel case name
[INFO] [stdout]  --> src/nn/activation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     D_SIGMOID,
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `DSigmoid`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `D_RELU` should have an upper camel case name
[INFO] [stdout]   --> src/nn/activation.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     D_RELU(f64),
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `DRelu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `D_TANH` should have an upper camel case name
[INFO] [stdout]   --> src/nn/activation.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     D_TANH,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `DTanh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> examples/logic_gates.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::nn::{*, matrix::Mat, activation::Function};
[INFO] [stdout]   |                 ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from` and `print` are never used
[INFO] [stdout]    --> src/nn/matrix.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout] 10  | impl Mat {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19  |     pub fn from(elems: Vec<Vec<f64>>) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `D_SIGMOID`, `RELU`, `D_RELU`, `TANH`, `D_TANH`, and `SOFTMAX` are never constructed
[INFO] [stdout]   --> src/nn/activation.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub enum Function {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 6  |     SIGMOID,
[INFO] [stdout] 7  |     D_SIGMOID,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 8  |
[INFO] [stdout] 9  |     RELU(f64),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     D_RELU(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |     TANH,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     D_TANH,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     SOFTMAX,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Network`
[INFO] [stdout]   --> examples/logic_gates.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut net = Network::new_rand(arch, Function::SIGMOID);
[INFO] [stdout]    |                   ^^^^^^^ use of undeclared type `Network`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `softmax` is never used
[INFO] [stdout]   --> src/nn/activation.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn softmax(vec: &Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from` and `print` are never used
[INFO] [stdout]    --> src/nn/matrix.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout] 10  | impl Mat {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19  |     pub fn from(elems: Vec<Vec<f64>>) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `D_SIGMOID`, `RELU`, `D_RELU`, `TANH`, `D_TANH`, and `SOFTMAX` are never constructed
[INFO] [stdout]   --> src/nn/activation.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub enum Function {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 6  |     SIGMOID,
[INFO] [stdout] 7  |     D_SIGMOID,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 8  |
[INFO] [stdout] 9  |     RELU(f64),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     D_RELU(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |     TANH,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     D_TANH,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     SOFTMAX,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `softmax` is never used
[INFO] [stdout]   --> src/nn/activation.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn softmax(vec: &Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dl-framework` (example "logic_gates") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "7ea2ee1a259df26d74784fd1ee19f764cea37d867f77c34d816988617b2d29cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ea2ee1a259df26d74784fd1ee19f764cea37d867f77c34d816988617b2d29cf", kill_on_drop: false }`
[INFO] [stdout] 7ea2ee1a259df26d74784fd1ee19f764cea37d867f77c34d816988617b2d29cf
