[INFO] fetching crate puffpastry 0.1.0... [INFO] testing puffpastry-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate puffpastry 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate puffpastry 0.1.0 [INFO] finished tweaking crates.io crate puffpastry 0.1.0 [INFO] tweaked toml for crates.io crate puffpastry 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate puffpastry 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate puffpastry 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea63a499958a616f5a02118efbbf88f12a8925af574ead054a25b0aeaa329c1e [INFO] running `Command { std: "docker" "start" "-a" "ea63a499958a616f5a02118efbbf88f12a8925af574ead054a25b0aeaa329c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea63a499958a616f5a02118efbbf88f12a8925af574ead054a25b0aeaa329c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea63a499958a616f5a02118efbbf88f12a8925af574ead054a25b0aeaa329c1e", kill_on_drop: false }` [INFO] [stdout] ea63a499958a616f5a02118efbbf88f12a8925af574ead054a25b0aeaa329c1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7e2cc8eef32764707c6f74263973e092d94e21de3bfe7259f17718c02f92c727 [INFO] running `Command { std: "docker" "start" "-a" "7e2cc8eef32764707c6f74263973e092d94e21de3bfe7259f17718c02f92c727", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling csv v1.2.2 [INFO] [stderr] Compiling puffpastry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Activation`, `Transpose`, and `self` [INFO] [stdout] --> src/loss.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | vec_tools::{self, Transpose, ValidNumber}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | Activation, Tensor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::activation::Activation` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::activation::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddVec`, `ElementwiseMatrixMultiply`, and `self` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/vec_tools.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/activation.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec_tools::{Transpose, ValidNumber}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/model.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixMultiply` [INFO] [stdout] --> src/model.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/layer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StringRecord` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::{Reader, StringRecord}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Activation`, `Transpose`, and `self` [INFO] [stdout] --> src/loss.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | vec_tools::{self, Transpose, ValidNumber}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | Activation, Tensor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::activation::Activation` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::activation::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddVec`, `ElementwiseMatrixMultiply`, and `self` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/vec_tools.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/activation.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec_tools::{Transpose, ValidNumber}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/model.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixMultiply` [INFO] [stdout] --> src/model.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/layer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `Sigmoid`, and `Relu` are never constructed [INFO] [stdout] --> src/activation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Activation { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Relu, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Activation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `activate_tensor`, `activate_tensor_naive`, and `activate_num` are never used [INFO] [stdout] --> src/activation.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Activation { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn activate_tensor>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn activate_tensor_naive>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn activate_num>(&self, num: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_weights_biases` is never used [INFO] [stdout] --> src/layer.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl> Dense { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn from_weights_biases( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Conv2d` is never constructed [INFO] [stdout] --> src/layer.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Conv2d> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Conv2d` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_size`, `convolve2d`, and `convolve2d_all` are never used [INFO] [stdout] --> src/layer.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl> Conv2d { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 101 | pub fn from_size( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn convolve2d(&self, input: &Tensor, loc: Vec, filter_num: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn convolve2d_all(&self, input: &Tensor) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MeanSquaredError` is never constructed [INFO] [stdout] --> src/loss.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Loss { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 8 | MeanSquaredError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loss` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl> Model { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(loss: Loss) -> Model { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/tensor.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl> Tensor { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_mut(&mut self, loc: &[usize]) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `row_count` and `col_count` are never used [INFO] [stdout] --> src/tensor.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl> Tensor { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 205 | pub fn row_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn col_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AddVec` is never used [INFO] [stdout] --> src/vec_tools.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait AddVec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementwiseMatrixMultiply` is never used [INFO] [stdout] --> src/vec_tools.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait ElementwiseMatrixMultiply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DotProduct` is never used [INFO] [stdout] --> src/vec_tools.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait DotProduct { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transpose` is never used [INFO] [stdout] --> src/vec_tools.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait Transpose { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MatrixMultiply` is never used [INFO] [stdout] --> src/vec_tools.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait MatrixMultiply { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | write!(f, "{} ", elem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "7e2cc8eef32764707c6f74263973e092d94e21de3bfe7259f17718c02f92c727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2cc8eef32764707c6f74263973e092d94e21de3bfe7259f17718c02f92c727", kill_on_drop: false }` [INFO] [stdout] 7e2cc8eef32764707c6f74263973e092d94e21de3bfe7259f17718c02f92c727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f5f7879294b8bff98cd2e95d45e6602ee62b4e9be00452576ec3c2ad4a28f3b8 [INFO] running `Command { std: "docker" "start" "-a" "f5f7879294b8bff98cd2e95d45e6602ee62b4e9be00452576ec3c2ad4a28f3b8", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Activation`, `Transpose`, and `self` [INFO] [stdout] --> src/loss.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | vec_tools::{self, Transpose, ValidNumber}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | Activation, Tensor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::activation::Activation` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::activation::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddVec`, `ElementwiseMatrixMultiply`, and `self` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/vec_tools.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling puffpastry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/activation.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec_tools::{Transpose, ValidNumber}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/model.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixMultiply` [INFO] [stdout] --> src/model.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/layer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec_tools::MatrixMultiply` [INFO] [stdout] --> src/activation.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | use crate::vec_tools::MatrixMultiply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Activation`, `Transpose`, and `self` [INFO] [stdout] --> src/loss.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | vec_tools::{self, Transpose, ValidNumber}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | Activation, Tensor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::activation::Activation` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::activation::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StringRecord` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::{Reader, StringRecord}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddVec`, `ElementwiseMatrixMultiply`, and `self` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec_tools::MatrixMultiply` [INFO] [stdout] --> src/activation.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | use crate::vec_tools::MatrixMultiply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Activation`, `Transpose`, and `self` [INFO] [stdout] --> src/loss.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | vec_tools::{self, Transpose, ValidNumber}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | Activation, Tensor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::activation::Activation` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::activation::Activation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddVec`, `ElementwiseMatrixMultiply`, and `self` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/activation.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | assert!((res - 0.09003057).abs() < 0.001) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/activation.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | assert!((res[0] - 0.08192506).abs() < 0.001); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/activation.rs:218:64 [INFO] [stdout] | [INFO] [stdout] 218 | .fold(0.0, |err, (res, expec)| err + (expec - res).abs()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/activation.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | assert!((res - 0.09003057).abs() < 0.001) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/activation.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | assert!((res[0] - 0.08192506).abs() < 0.001); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/activation.rs:218:64 [INFO] [stdout] | [INFO] [stdout] 218 | .fold(0.0, |err, (res, expec)| err + (expec - res).abs()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/activation.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec_tools::{Transpose, ValidNumber}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixMultiply` [INFO] [stdout] --> src/model.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/model.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/activation.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec_tools::{Transpose, ValidNumber}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixMultiply` [INFO] [stdout] --> src/model.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transpose` [INFO] [stdout] --> src/model.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | self, AddVec, ElementwiseMatrixMultiply, MatrixMultiply, Transpose, ValidNumber, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/layer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stride` [INFO] [stdout] --> src/layer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | stride: (usize, usize), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stride` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/vec_tools.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let res = mat1.matrix_multiply(&mat2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truth` [INFO] [stdout] --> src/vec_tools.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let truth = vec![vec![14.0], vec![32.0], vec![50.0]]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_truth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/vec_tools.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let res = mat1.matrix_multiply(&mat2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truth` [INFO] [stdout] --> src/vec_tools.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let truth = vec![vec![14.0], vec![32.0], vec![50.0]]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_truth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0689`. [INFO] [stdout] [INFO] [stderr] error: could not compile `puffpastry` (lib test) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0689`. [INFO] [stdout] [INFO] [stderr] error: could not compile `puffpastry` (bin "puffpastry" test) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5f7879294b8bff98cd2e95d45e6602ee62b4e9be00452576ec3c2ad4a28f3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f7879294b8bff98cd2e95d45e6602ee62b4e9be00452576ec3c2ad4a28f3b8", kill_on_drop: false }` [INFO] [stdout] f5f7879294b8bff98cd2e95d45e6602ee62b4e9be00452576ec3c2ad4a28f3b8