[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] 68142096aa1f7460c342e89c1b58a130c80947b8
[INFO] building EugenioBarbieriViale/dl-framework against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenioBarbieriViale%2Fdl-framework" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EugenioBarbieriViale/dl-framework on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc2/source/Cargo.toml
[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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c36834a4b43c57087e93d685fd7f7d5d7471884b22c6d953b732c7ad3a9e6d4
[INFO] running `Command { std: "docker" "start" "-a" "8c36834a4b43c57087e93d685fd7f7d5d7471884b22c6d953b732c7ad3a9e6d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c36834a4b43c57087e93d685fd7f7d5d7471884b22c6d953b732c7ad3a9e6d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c36834a4b43c57087e93d685fd7f7d5d7471884b22c6d953b732c7ad3a9e6d4", kill_on_drop: false }`
[INFO] [stdout] 8c36834a4b43c57087e93d685fd7f7d5d7471884b22c6d953b732c7ad3a9e6d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89e98c8d96c61264a8c3cce71c0cd757f787232a6a33433c67f1b969d1e513bb
[INFO] running `Command { std: "docker" "start" "-a" "89e98c8d96c61264a8c3cce71c0cd757f787232a6a33433c67f1b969d1e513bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dl-framework v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `LEAKY_RELU` should have an upper camel case name
[INFO] [stdout]  --> src/nn/activation.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     LEAKY_RELU(f64),
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeakyRelu`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` 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 `RELU`, `LEAKY_RELU`, `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  |     RELU,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 8  |     LEAKY_RELU(f64),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 9  |     TANH,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     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:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn softmax(vec: &Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.54s
[INFO] running `Command { std: "docker" "inspect" "89e98c8d96c61264a8c3cce71c0cd757f787232a6a33433c67f1b969d1e513bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89e98c8d96c61264a8c3cce71c0cd757f787232a6a33433c67f1b969d1e513bb", kill_on_drop: false }`
[INFO] [stdout] 89e98c8d96c61264a8c3cce71c0cd757f787232a6a33433c67f1b969d1e513bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 942c67acbffcf374a5e521eaaa07a7fb0c664881e6d6774da4ccafa8cd15f4a4
[INFO] running `Command { std: "docker" "start" "-a" "942c67acbffcf374a5e521eaaa07a7fb0c664881e6d6774da4ccafa8cd15f4a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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: variant `LEAKY_RELU` should have an upper camel case name
[INFO] [stdout]  --> src/nn/activation.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     LEAKY_RELU(f64),
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeakyRelu`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[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] Some errors have detailed explanations: E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[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] [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 `RELU`, `LEAKY_RELU`, `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  |     RELU,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 8  |     LEAKY_RELU(f64),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 9  |     TANH,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     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:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn softmax(vec: &Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "942c67acbffcf374a5e521eaaa07a7fb0c664881e6d6774da4ccafa8cd15f4a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "942c67acbffcf374a5e521eaaa07a7fb0c664881e6d6774da4ccafa8cd15f4a4", kill_on_drop: false }`
[INFO] [stdout] 942c67acbffcf374a5e521eaaa07a7fb0c664881e6d6774da4ccafa8cd15f4a4
