[INFO] cloning repository https://github.com/bjmayor/rust-dl-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjmayor/rust-dl-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjmayor%2Frust-dl-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjmayor%2Frust-dl-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34d204db009d5cbce24636be166f060a8ccabc29 [INFO] building bjmayor/rust-dl-from-scratch against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjmayor%2Frust-dl-from-scratch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bjmayor/rust-dl-from-scratch [INFO] finished tweaking git repo https://github.com/bjmayor/rust-dl-from-scratch [INFO] tweaked toml for git repo https://github.com/bjmayor/rust-dl-from-scratch written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bjmayor/rust-dl-from-scratch on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bjmayor/rust-dl-from-scratch 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray-rand v0.15.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4576293c2047cd7bee9c0f4d3daeffeb645ead475db00cfed0335db33f398e3a [INFO] running `Command { std: "docker" "start" "-a" "4576293c2047cd7bee9c0f4d3daeffeb645ead475db00cfed0335db33f398e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4576293c2047cd7bee9c0f4d3daeffeb645ead475db00cfed0335db33f398e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4576293c2047cd7bee9c0f4d3daeffeb645ead475db00cfed0335db33f398e3a", kill_on_drop: false }` [INFO] [stdout] 4576293c2047cd7bee9c0f4d3daeffeb645ead475db00cfed0335db33f398e3a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5bc810f91767f3fe738354e05ce5c872185ce4e357f52a477316ba69bb4b9b2 [INFO] running `Command { std: "docker" "start" "-a" "e5bc810f91767f3fe738354e05ce5c872185ce4e357f52a477316ba69bb4b9b2", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling ndarray-rand v0.15.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rust-dl-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chapter01::cli::interactive_mode` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chapter01::cli::interactive_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactive_mode` is never used [INFO] [stdout] --> src/chapter01/cli.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn interactive_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_chapter01` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run_chapter01() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perceptron` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn perceptron(x: &Array1, w: &Array1, b: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_function` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn step_function(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and_gate` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn and_gate(x1: f64, x2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nand_gate` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn nand_gate(x1: f64, x2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or_gate` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn or_gate(x1: f64, x2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor_gate` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn xor_gate(x1: f64, x2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigmoid_matrix` is never used [INFO] [stdout] --> src/chapter02/activation.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn sigmoid_matrix(x: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax_matrix` is never used [INFO] [stdout] --> src/chapter02/activation.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn softmax_matrix(x: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean_squared_error` is never used [INFO] [stdout] --> src/chapter02/loss.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean_squared_error(y: &Array2, t: &Array2) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross_entropy_error_optimized` is never used [INFO] [stdout] --> src/chapter02/loss.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn cross_entropy_error_optimized(y: &Array2, t: &Array2) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/chapter02/matrix.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_vec`, `dot`, `add`, `map`, and `shape` are never used [INFO] [stdout] --> src/chapter02/matrix.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(rows: usize, cols: usize, val: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_vec(data: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn dot(&self, other: &Matrix) -> Matrix { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add(&self, other: &Matrix) -> Matrix { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn map(&self, func: F) -> Matrix [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn shape(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleNetMatrix` is never constructed [INFO] [stdout] --> src/chapter02/network.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SimpleNetMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `predict` are never used [INFO] [stdout] --> src/chapter02/network.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl SimpleNetMatrix { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(input_size: usize, hidden_size: usize, output_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn predict(&self, x: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.20s [INFO] running `Command { std: "docker" "inspect" "e5bc810f91767f3fe738354e05ce5c872185ce4e357f52a477316ba69bb4b9b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5bc810f91767f3fe738354e05ce5c872185ce4e357f52a477316ba69bb4b9b2", kill_on_drop: false }` [INFO] [stdout] e5bc810f91767f3fe738354e05ce5c872185ce4e357f52a477316ba69bb4b9b2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be7f0653eb6965b2013c88b5c7aee2321a9b944096c16dd6d70efb95d99675b6 [INFO] running `Command { std: "docker" "start" "-a" "be7f0653eb6965b2013c88b5c7aee2321a9b944096c16dd6d70efb95d99675b6", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rust-dl-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chapter01::cli::interactive_mode` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chapter01::cli::interactive_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:251:23 [INFO] [stdout] | [INFO] [stdout] 251 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_labels` [INFO] [stdout] --> examples/simple_mnist.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let (test_images, test_labels) = MnistDataset::load_test_normalized()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_labels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `small_labels` [INFO] [stdout] --> examples/simple_mnist.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let (small_images, small_labels) = MnistDataset::load_small_subset()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_small_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/all_plots.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | for (i, &w1) in w_range.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> examples/all_plots.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | for (j, &w2) in w_range.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> examples/plot_data_visualization.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactive_mode` is never used [INFO] [stdout] --> src/chapter01/cli.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn interactive_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_chapter01` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run_chapter01() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perceptron` is never used [INFO] [stdout] --> src/chapter01/perceptron.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn perceptron(x: &Array1, w: &Array1, b: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.78s [INFO] running `Command { std: "docker" "inspect" "be7f0653eb6965b2013c88b5c7aee2321a9b944096c16dd6d70efb95d99675b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7f0653eb6965b2013c88b5c7aee2321a9b944096c16dd6d70efb95d99675b6", kill_on_drop: false }` [INFO] [stdout] be7f0653eb6965b2013c88b5c7aee2321a9b944096c16dd6d70efb95d99675b6