[INFO] cloning repository https://github.com/CHarrod283/ml-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CHarrod283/ml-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHarrod283%2Fml-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHarrod283%2Fml-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3e7314ea768edf2cdc8c3e3e8711796c171fc60 [INFO] building CHarrod283/ml-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCHarrod283%2Fml-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CHarrod283/ml-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CHarrod283/ml-rs [INFO] finished tweaking git repo https://github.com/CHarrod283/ml-rs [INFO] tweaked toml for git repo https://github.com/CHarrod283/ml-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CHarrod283/ml-rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0059208e6bf17095669948dc2b21806983d3ef23d0ef2a450fbe3bedca175777 [INFO] running `Command { std: "docker" "start" "-a" "0059208e6bf17095669948dc2b21806983d3ef23d0ef2a450fbe3bedca175777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0059208e6bf17095669948dc2b21806983d3ef23d0ef2a450fbe3bedca175777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0059208e6bf17095669948dc2b21806983d3ef23d0ef2a450fbe3bedca175777", kill_on_drop: false }` [INFO] [stdout] 0059208e6bf17095669948dc2b21806983d3ef23d0ef2a450fbe3bedca175777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54be812e296aa23cf3194a9499ab19024757a7aa5406a73cbfc9e72fa4fe9fbe [INFO] running `Command { std: "docker" "start" "-a" "54be812e296aa23cf3194a9499ab19024757a7aa5406a73cbfc9e72fa4fe9fbe", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling matrix v0.1.0 (/opt/rustwide/workdir/src/matrix) [INFO] [stdout] warning: unused import: `Zip` [INFO] [stdout] --> src/matrix/src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::{Zip}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatrixIter` is never used [INFO] [stdout] --> src/matrix/src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum MatrixIter<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `of` and `transpose` are never used [INFO] [stdout] --> src/matrix/src/lib.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> MatrixView<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 57 | fn of(m : &'a Matrix) -> MatrixView<'a>{ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn transpose(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/matrix/src/lib.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn iter(&self) -> MatrixIter<'_> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_index` is never used [INFO] [stdout] --> src/matrix/src/lib.rs:573:4 [INFO] [stdout] | [INFO] [stdout] 573 | fn transform_index(i : usize, num_rows : usize, num_cols : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dove-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::prelude` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_size` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FCLayer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | input_size : usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input_size` is never used [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl FCLayer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | fn input_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "54be812e296aa23cf3194a9499ab19024757a7aa5406a73cbfc9e72fa4fe9fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54be812e296aa23cf3194a9499ab19024757a7aa5406a73cbfc9e72fa4fe9fbe", kill_on_drop: false }` [INFO] [stdout] 54be812e296aa23cf3194a9499ab19024757a7aa5406a73cbfc9e72fa4fe9fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7f312b0fa71eb94ea0d4ef6e4bee3a9e40c3e61e9bd8add7a44980031552ada [INFO] running `Command { std: "docker" "start" "-a" "f7f312b0fa71eb94ea0d4ef6e4bee3a9e40c3e61e9bd8add7a44980031552ada", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Zip` [INFO] [stdout] --> src/matrix/src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::{Zip}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatrixIter` is never used [INFO] [stdout] --> src/matrix/src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum MatrixIter<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `of` and `transpose` are never used [INFO] [stdout] --> src/matrix/src/lib.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> MatrixView<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 57 | fn of(m : &'a Matrix) -> MatrixView<'a>{ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn transpose(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/matrix/src/lib.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn iter(&self) -> MatrixIter<'_> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_index` is never used [INFO] [stdout] --> src/matrix/src/lib.rs:573:4 [INFO] [stdout] | [INFO] [stdout] 573 | fn transform_index(i : usize, num_rows : usize, num_cols : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dove-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::prelude` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `altered_weights` [INFO] [stdout] --> src/main.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let altered_weights = Matrix::new_from_vec(&altered_weights_vec).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_altered_weights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weights_error` [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let weights_error = Matrix::new_from_vec(&weights_error_vec).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `altered_bias` [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | let altered_bias = Matrix::new_from_vec(&altered_bias_vec).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_altered_bias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mul` [INFO] [stdout] --> src/main.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let mul = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub` [INFO] [stdout] --> src/main.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let sub = vec![vec![-0.40979163]]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_size` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FCLayer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | input_size : usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `input_size` is never used [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl FCLayer { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | fn input_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "f7f312b0fa71eb94ea0d4ef6e4bee3a9e40c3e61e9bd8add7a44980031552ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7f312b0fa71eb94ea0d4ef6e4bee3a9e40c3e61e9bd8add7a44980031552ada", kill_on_drop: false }` [INFO] [stdout] f7f312b0fa71eb94ea0d4ef6e4bee3a9e40c3e61e9bd8add7a44980031552ada