[INFO] cloning repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LelouBil/RustPerceptron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLelouBil%2FRustPerceptron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLelouBil%2FRustPerceptron'... [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/LelouBil/RustPerceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45d448240e66ba40bcee89fc31ea4daee0c0cbfb [INFO] checking LelouBil/RustPerceptron against master#7308c22c6a8d77e82187e290e1f7459870e48d12 for pr-99447 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLelouBil%2FRustPerceptron" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LelouBil/RustPerceptron on toolchain 7308c22c6a8d77e82187e290e1f7459870e48d12 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LelouBil/RustPerceptron [INFO] finished tweaking git repo https://github.com/LelouBil/RustPerceptron [INFO] tweaked toml for git repo https://github.com/LelouBil/RustPerceptron written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/LelouBil/RustPerceptron already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 850d98fdcdb4334ab9ceb73b3ad12517118d11c342eb7a20c036a46efde6357c [INFO] running `Command { std: "docker" "start" "-a" "850d98fdcdb4334ab9ceb73b3ad12517118d11c342eb7a20c036a46efde6357c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "850d98fdcdb4334ab9ceb73b3ad12517118d11c342eb7a20c036a46efde6357c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850d98fdcdb4334ab9ceb73b3ad12517118d11c342eb7a20c036a46efde6357c", kill_on_drop: false }` [INFO] [stdout] 850d98fdcdb4334ab9ceb73b3ad12517118d11c342eb7a20c036a46efde6357c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba67d28c7e2e2c6a0f48cdd1b73c9c3354fba228df11428b14a681f978c0494e [INFO] running `Command { std: "docker" "start" "-a" "ba67d28c7e2e2c6a0f48cdd1b73c9c3354fba228df11428b14a681f978c0494e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking plotters-bitmap v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking Perceptron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Array2` [INFO] [stdout] --> src/record.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/data_loading.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/data_loading.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/data_loading.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array2` [INFO] [stdout] --> src/record.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array1, Array2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::ErrorKind` [INFO] [stdout] --> src/data_loading.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use csv::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/data_loading.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `Itertools` [INFO] [stdout] --> src/data_loading.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::{Chunk, Itertools}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::IntoChunks` [INFO] [stdout] --> src/data_loading.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::IntoChunks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::record` [INFO] [stdout] --> src/data_loading.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::record; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/data_loading.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PerceptronLabel` [INFO] [stdout] --> src/data_loading.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::record::{PerceptronDataset, PerceptronLabel, PerceptronRecord}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/data_loading.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::ErrorKind` [INFO] [stdout] --> src/data_loading.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use csv::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/data_loading.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::{IntoIterator, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseFloatError` [INFO] [stdout] --> src/data_loading.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::num::ParseFloatError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `Itertools` [INFO] [stdout] --> src/data_loading.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::{Chunk, Itertools}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/data_loading.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::IntoChunks` [INFO] [stdout] --> src/data_loading.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::IntoChunks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/data_loading.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::record` [INFO] [stdout] --> src/data_loading.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::record; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Deref`, `Mul` [INFO] [stdout] --> src/train_perceptron.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Deref, Mul}; [INFO] [stdout] | ^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PerceptronLabel` [INFO] [stdout] --> src/data_loading.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::record::{PerceptronDataset, PerceptronLabel, PerceptronRecord}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/data_loading.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::{IntoIterator, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseFloatError` [INFO] [stdout] --> src/data_loading.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::num::ParseFloatError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayBase`, `ArrayView1`, `Dim`, `Ix2`, `Ix`, `OwnedRepr`, `Shape`, `StrideShape` [INFO] [stdout] --> src/train_perceptron.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | ...ay2, ArrayBase, ArrayView1, ArrayView2, Axis, concatenate, Dim, Ix, Ix2, OwnedRepr, Shape, ShapeBuilder, ShapeError, StrideShape}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/data_loading.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/data_loading.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array2` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray::Array2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Deref`, `Mul` [INFO] [stdout] --> src/train_perceptron.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Deref, Mul}; [INFO] [stdout] | ^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayBase`, `ArrayView1`, `Dim`, `Ix2`, `Ix`, `OwnedRepr`, `Shape`, `StrideShape` [INFO] [stdout] --> src/train_perceptron.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | ...ay2, ArrayBase, ArrayView1, ArrayView2, Axis, concatenate, Dim, Ix, Ix2, OwnedRepr, Shape, ShapeBuilder, ShapeError, StrideShape}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array2` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ndarray::Array2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train_perceptron.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | .find(|((i,j),elem) : &((usize,usize),&f64)| elem < &&0.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/train_perceptron.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | .find(|((i,j),elem) : &((usize,usize),&f64)| elem < &&0.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/train_perceptron.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(((i, j), value)) = pabien { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train_perceptron.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | .find(|((i,j),elem) : &((usize,usize),&f64)| elem < &&0.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/train_perceptron.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(((i, j), value)) = pabien { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/train_perceptron.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | .find(|((i,j),elem) : &((usize,usize),&f64)| elem < &&0.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/train_perceptron.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(((i, j), value)) = pabien { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/train_perceptron.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(((i, j), value)) = pabien { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Perceptron` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `perceptron` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Perceptron` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `perceptron` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/train_perceptron.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | let (X, Y) = to_matrix(dataset).map(|(x, y)| (x.mapv(|e| *e), y.mapv(|e| e as f64)))?; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/train_perceptron.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let (X, Y) = to_matrix(dataset).map(|(x, y)| (x.mapv(|e| *e), y.mapv(|e| e as f64)))?; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/train_perceptron.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | let (X, Y) = to_matrix(dataset).map(|(x, y)| (x.mapv(|e| *e), y.mapv(|e| e as f64)))?; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/train_perceptron.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let (X, Y) = to_matrix(dataset).map(|(x, y)| (x.mapv(|e| *e), y.mapv(|e| e as f64)))?; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.84s [INFO] running `Command { std: "docker" "inspect" "ba67d28c7e2e2c6a0f48cdd1b73c9c3354fba228df11428b14a681f978c0494e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba67d28c7e2e2c6a0f48cdd1b73c9c3354fba228df11428b14a681f978c0494e", kill_on_drop: false }` [INFO] [stdout] ba67d28c7e2e2c6a0f48cdd1b73c9c3354fba228df11428b14a681f978c0494e