[INFO] fetching crate rail 0.3.1...
[INFO] testing rail-0.3.1 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate rail 0.3.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate rail 0.3.1 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rail 0.3.1
[INFO] finished tweaking crates.io crate rail 0.3.1
[INFO] tweaked toml for crates.io crate rail 0.3.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de38a74cc5e63a6cc7919c12f383c994b431a794aa255cae08c8f60d840e26ad
[INFO] running `Command { std: "docker" "start" "-a" "de38a74cc5e63a6cc7919c12f383c994b431a794aa255cae08c8f60d840e26ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de38a74cc5e63a6cc7919c12f383c994b431a794aa255cae08c8f60d840e26ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de38a74cc5e63a6cc7919c12f383c994b431a794aa255cae08c8f60d840e26ad", kill_on_drop: false }`
[INFO] [stdout] de38a74cc5e63a6cc7919c12f383c994b431a794aa255cae08c8f60d840e26ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1721a17abb7944caac70c4a9a1dafab8acd9e41ef1833de1c30e994149443b87
[INFO] running `Command { std: "docker" "start" "-a" "1721a17abb7944caac70c4a9a1dafab8acd9e41ef1833de1c30e994149443b87", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling arrayfire v3.8.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling rail v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub type LossFuntion = Fn(&Matrix, &Matrix) -> f64;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Matrix, &Matrix) -> f64`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type DLossFuntion = Fn(&Matrix, &Matrix) -> Matrix;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Matrix, &Matrix) -> Matrix`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type LossFuntionGenerator = Fn() -> (Box<LossFuntion>, Box<DLossFuntion>);
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box<LossFuntion>, Box<DLossFuntion>)`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_gen`
[INFO] [stdout]  --> src/layers/dense.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     print_gen
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/dense.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     activation: Box<Fn(Matrix) -> Matrix>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/dense.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     dactivation: Box<Fn(Matrix) -> Matrix>
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_gen`
[INFO] [stdout]  --> src/layers/conv.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     print_gen
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/conv.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |     activation: Box<Fn(Matrix) -> Matrix>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/conv.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |     dactivation: Box<Fn(Matrix) -> Matrix>
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/mod.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn load_layer(src: &[&str]) -> Box<Layer> {
[INFO] [stdout]    |                                        ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn layer(mut self, layer: Box<Layer>) -> Self {
[INFO] [stdout]    |                                       ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/model.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         unimplemented!();
[INFO] [stdout]     |         ----------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 343 |         let mut fd = File::create(filename).expect("unable to create file!");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]    --> src/layers/conv.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub fn deserialize(src: &[&str]) -> Box<Self> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]    --> src/model.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |     pub fn save_weights(&self, filename: &str) {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn build(mut self, init: bool) -> Result<Model, ModelError> {
[INFO] [stdout]    |                  ----^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/model.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let mut lines = buf.split('\n').collect::<Vec<_>>();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `convolve_valid`
[INFO] [stdout]   --> src/utils.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn convolve_valid(input: &Matrix, kernel: &Matrix) -> Matrix {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.04s
[INFO] running `Command { std: "docker" "inspect" "1721a17abb7944caac70c4a9a1dafab8acd9e41ef1833de1c30e994149443b87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1721a17abb7944caac70c4a9a1dafab8acd9e41ef1833de1c30e994149443b87", kill_on_drop: false }`
[INFO] [stdout] 1721a17abb7944caac70c4a9a1dafab8acd9e41ef1833de1c30e994149443b87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 15afa1a671f82d9227a0f705be2e894f90ed2b4b7d83c94ceaf5d5365f9817ca
[INFO] running `Command { std: "docker" "start" "-a" "15afa1a671f82d9227a0f705be2e894f90ed2b4b7d83c94ceaf5d5365f9817ca", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub type LossFuntion = Fn(&Matrix, &Matrix) -> f64;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Matrix, &Matrix) -> f64`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type DLossFuntion = Fn(&Matrix, &Matrix) -> Matrix;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Matrix, &Matrix) -> Matrix`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type LossFuntionGenerator = Fn() -> (Box<LossFuntion>, Box<DLossFuntion>);
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box<LossFuntion>, Box<DLossFuntion>)`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_gen`
[INFO] [stdout]  --> src/layers/dense.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     print_gen
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/dense.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     activation: Box<Fn(Matrix) -> Matrix>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/dense.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     dactivation: Box<Fn(Matrix) -> Matrix>
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_gen`
[INFO] [stdout]  --> src/layers/conv.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     print_gen
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/conv.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |     activation: Box<Fn(Matrix) -> Matrix>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/conv.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |     dactivation: Box<Fn(Matrix) -> Matrix>
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/mod.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn load_layer(src: &[&str]) -> Box<Layer> {
[INFO] [stdout]    |                                        ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn layer(mut self, layer: Box<Layer>) -> Self {
[INFO] [stdout]    |                                       ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/model.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         unimplemented!();
[INFO] [stdout]     |         ----------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 343 |         let mut fd = File::create(filename).expect("unable to create file!");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]    --> src/layers/conv.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub fn deserialize(src: &[&str]) -> Box<Self> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]    --> src/model.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |     pub fn save_weights(&self, filename: &str) {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rail v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn build(mut self, init: bool) -> Result<Model, ModelError> {
[INFO] [stdout]    |                  ----^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/model.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let mut lines = buf.split('\n').collect::<Vec<_>>();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `convolve_valid`
[INFO] [stdout]   --> src/utils.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn convolve_valid(input: &Matrix, kernel: &Matrix) -> Matrix {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `arrayfire::print_gen`
[INFO] [stdout]   --> src/utils.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use arrayfire::print_gen;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub type LossFuntion = Fn(&Matrix, &Matrix) -> f64;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Matrix, &Matrix) -> f64`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type DLossFuntion = Fn(&Matrix, &Matrix) -> Matrix;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Matrix, &Matrix) -> Matrix`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/functions/loss.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type LossFuntionGenerator = Fn() -> (Box<LossFuntion>, Box<DLossFuntion>);
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box<LossFuntion>, Box<DLossFuntion>)`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_gen`
[INFO] [stdout]  --> src/layers/dense.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     print_gen
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/dense.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     activation: Box<Fn(Matrix) -> Matrix>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/dense.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     dactivation: Box<Fn(Matrix) -> Matrix>
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_gen`
[INFO] [stdout]  --> src/layers/conv.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     print_gen
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/conv.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |     activation: Box<Fn(Matrix) -> Matrix>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/conv.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |     dactivation: Box<Fn(Matrix) -> Matrix>
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Matrix) -> Matrix`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/layers/mod.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn load_layer(src: &[&str]) -> Box<Layer> {
[INFO] [stdout]    |                                        ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn layer(mut self, layer: Box<Layer>) -> Self {
[INFO] [stdout]    |                                       ^^^^^ help: use `dyn`: `dyn Layer`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/model.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         unimplemented!();
[INFO] [stdout]     |         ----------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 343 |         let mut fd = File::create(filename).expect("unable to create file!");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]    --> src/layers/conv.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub fn deserialize(src: &[&str]) -> Box<Self> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]    --> src/model.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |     pub fn save_weights(&self, filename: &str) {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn build(mut self, init: bool) -> Result<Model, ModelError> {
[INFO] [stdout]    |                  ----^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/model.rs:315:13
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let mut lines = buf.split('\n').collect::<Vec<_>>();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade.13lazgg349h7j174.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-6e9019ff2cdb2237.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e9cc0b5f091b140c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-762dfa4479f14aad.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2a5ac1cc0b21909c.rlib" "/opt/rustwide/target/debug/deps/librand-1d1e8d4a73898565.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-c3e18d3e436e5604.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-f0835a424677a734.rlib" "/opt/rustwide/target/debug/deps/librand_hc-6cbd385c0b56fcf3.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-8b30312eb768f98b.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-35bf054478bfa051.rlib" "/opt/rustwide/target/debug/deps/librand_core-0cf8ba257351d7c6.rlib" "/opt/rustwide/target/debug/deps/librand_os-45bb03aa013ab469.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-bf596480c7ed4653.rlib" "/opt/rustwide/target/debug/deps/librand_core-75ac8cf8bc6e9c91.rlib" "/opt/rustwide/target/debug/deps/libarrayfire-0faf5155f1aec25f.rlib" "/opt/rustwide/target/debug/deps/libhalf-9020834cd2c22e45.rlib" "/opt/rustwide/target/debug/deps/liblibc-bd0a7f2f55865ae0.rlib" "/opt/rustwide/target/debug/deps/libnum-eea584fb5c2caaca.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-2d09c4907877dbb3.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-446d04f60574c627.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-9a65686d01452128.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-e3210b62262cfb06.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-9e994122904b2a71.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b2723efa9d31d314.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e92083d5a39a8b50.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-197d933f09d9a590.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-46a006cddfd334f0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b9870310e470b38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-260022ba8f1ab4ee.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-71377435a799394f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-658ee5924fde57cd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-9e8627da6bd1b94a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-19fdaac49f59be84.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-cb00e2691ea45905.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-50f6726defae5ae1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2afc16311deea26e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bb5cb0fe086ee8cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-896053247b5dfd0b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-735e1f2ac3cf23be.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9dfb6622644c732c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-a9a3b2ad67977f47.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rail-b424750e11b63ade" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.13.rcgu.o: in function `arrayfire::statistics::mean':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/statistics/mod.rs:109: undefined reference to `af_mean'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.13.rcgu.o: in function `arrayfire::algorithm::sum':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/algorithm/mod.rs:155: undefined reference to `af_sum'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `<arrayfire::core::array::Array<T> as core::clone::Clone>::clone':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:694: undefined reference to `af_retain_array'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `<arrayfire::core::array::Array<T> as core::ops::drop::Drop>::drop':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:710: undefined reference to `af_release_array'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `arrayfire::core::array::Array<T>::new':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:228: undefined reference to `af_create_array'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `arrayfire::core::array::Array<T>::dims':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:433: undefined reference to `af_get_dims'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `arrayfire::core::array::Array<T>::host':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:525: undefined reference to `af_get_data_ptr'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `arrayfire::core::array::Array<T>::elements':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:410: undefined reference to `af_get_elements'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `arrayfire::core::array::Array<T>::is_scalar':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:181: undefined reference to `af_is_scalar'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.15.rcgu.o: in function `arrayfire::signal::convolve2':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/signal/mod.rs:725: undefined reference to `af_convolve2'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.5.rcgu.o: in function `arrayfire::core::arith::div_helper':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:407: undefined reference to `af_div'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.5.rcgu.o: in function `arrayfire::core::arith::mul_helper':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:407: undefined reference to `af_mul'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.5.rcgu.o: in function `arrayfire::core::arith::sub_helper':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:407: undefined reference to `af_sub'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.5.rcgu.o: in function `arrayfire::core::arith::exp':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:129: undefined reference to `af_exp'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/rail-b424750e11b63ade.rail.941c7bdc-cgu.6.rcgu.o: in function `arrayfire::core::data::tile':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/data.rs:496: undefined reference to `af_tile'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-0faf5155f1aec25f.rlib(arrayfire-0faf5155f1aec25f.arrayfire.94a80604-cgu.13.rcgu.o): in function `arrayfire::core::error::get_last_error':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/error.rs:104: undefined reference to `af_get_last_error'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-0faf5155f1aec25f.rlib(arrayfire-0faf5155f1aec25f.arrayfire.94a80604-cgu.2.rcgu.o): in function `<f64 as arrayfire::core::data::ConstGenerator>::generate':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/data.rs:242: undefined reference to `af_constant'
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-0faf5155f1aec25f.rlib(arrayfire-0faf5155f1aec25f.arrayfire.94a80604-cgu.8.rcgu.o): in function `arrayfire::core::util::free_host':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/util.rs:68: undefined reference to `af_free_host'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rail` due to 2 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "15afa1a671f82d9227a0f705be2e894f90ed2b4b7d83c94ceaf5d5365f9817ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15afa1a671f82d9227a0f705be2e894f90ed2b4b7d83c94ceaf5d5365f9817ca", kill_on_drop: false }`
[INFO] [stdout] 15afa1a671f82d9227a0f705be2e894f90ed2b4b7d83c94ceaf5d5365f9817ca
