[INFO] cloning repository https://github.com/gckohaku/cnn-learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gckohaku/cnn-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgckohaku%2Fcnn-learn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgckohaku%2Fcnn-learn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57d41c5662d1a14e39e5b4913afeade9a3d03d2a [INFO] building gckohaku/cnn-learn-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgckohaku%2Fcnn-learn-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/gckohaku/cnn-learn-rust [INFO] finished tweaking git repo https://github.com/gckohaku/cnn-learn-rust [INFO] tweaked toml for git repo https://github.com/gckohaku/cnn-learn-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gckohaku/cnn-learn-rust on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gckohaku/cnn-learn-rust 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1a899b5492d8fdd6a2f1499cd6b70c33f114c564250dcdedb8f2a454c8d840a [INFO] running `Command { std: "docker" "start" "-a" "e1a899b5492d8fdd6a2f1499cd6b70c33f114c564250dcdedb8f2a454c8d840a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1a899b5492d8fdd6a2f1499cd6b70c33f114c564250dcdedb8f2a454c8d840a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a899b5492d8fdd6a2f1499cd6b70c33f114c564250dcdedb8f2a454c8d840a", kill_on_drop: false }` [INFO] [stdout] e1a899b5492d8fdd6a2f1499cd6b70c33f114c564250dcdedb8f2a454c8d840a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 056da1815dd637ece75928c2322d4db1f9a2486a5ad3955a6d5bfcc43cae4af1 [INFO] running `Command { std: "docker" "start" "-a" "056da1815dd637ece75928c2322d4db1f9a2486a5ad3955a6d5bfcc43cae4af1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_pcg v0.9.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling ron v0.12.0 [INFO] [stderr] Compiling ndarray-stats v0.6.0 [INFO] [stderr] Compiling ndarray-ndimage v0.5.0 [INFO] [stderr] Compiling cnn-learn-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Array2`, `Array3`, `Array4`, `arr2`, and `array` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array2, Array3, Array4, arr2, array}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivationType`, `ConvolutionInformation`, `LayerInformationContent`, `LayerInformation`, `LayerType`, `OutputInformation`, `OutputType`, `PoolingInformation`, `PoolingType`, `cnn_transformations::im2col::im2col_for_pooling`, `convolution_network::ConvolutionNetwork`, `fully_connected_network::FullyConnectedNetwork`, and `rand::Rand` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ActivationType, ConvolutionInformation, LayerInformation, LayerInformationContent, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | LayerType, OutputInformation, OutputType, PoolingInformation, PoolingType, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | cnn_transformations::im2col::im2col_for_pooling, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | convolution_network::ConvolutionNetwork, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fully_connected_network::FullyConnectedNetwork, rand::Rand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/cnn_network.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/convolution_network.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convolution_network` [INFO] [stdout] --> src/convolution_network.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | convolution_network, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::zip` [INFO] [stdout] --> src/fully_connected_network.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::zip; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerInformation` [INFO] [stdout] --> src/fully_connected_network.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | cnn_information::{LayerInformation, OutputInformation, OutputType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `NonZero`, `Rem`, `Sub`, `process::Output`, and `self` [INFO] [stdout] --> src/rand.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | num::{self, NonZero}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 4 | ops::{Add, Div, Rem, Sub}, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] 5 | process::Output, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array3`, `array`, and `s` [INFO] [stdout] --> src/test_cnn_network.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array2, Array3, Array4, array, s}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | mod test_cnn_network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SmallData` [INFO] [stdout] --> src/test_cnn_network.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | simple_dataset::dataset::{SimpleDataset, SmallData}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | mod test_cnn_network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cnn_network.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cnn = ConvolutionNetwork::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cnn_network.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut fcnn = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/convolution_network.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut pooling_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pooling_count` [INFO] [stdout] --> src/convolution_network.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut pooling_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pooling_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/fully_connected_network.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_size` [INFO] [stdout] --> src/fully_connected_network.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let sample_size = expects.nrows(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight_gradient` [INFO] [stdout] --> src/fully_connected_network.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let weight_gradient = self.values_after_activation[i].t().dot(&self.deltas[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight_gradient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_quad_word` [INFO] [stdout] --> src/rand.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let top_quad_word = u128::from(seed ^ rotr64(seed, 5)) << 64; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_quad_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_quad_word` [INFO] [stdout] --> src/rand.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let bottom_quad_word = u128::from(seed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_quad_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_state` [INFO] [stdout] --> src/rand.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let before_state = self.state; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_cnn_network.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut batch_data = Array4::from(batch_array); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_cnn_network.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut expect_data = Array2::from(expect_array); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/test_cnn_network.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let batch_size = indices.len(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/cnn_activations.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn relu(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FullConnected` and `Output` are never constructed [INFO] [stdout] --> src/cnn_information.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum LayerType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | FullConnected, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerType` 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: variant `AveragePooling` is never constructed [INFO] [stdout] --> src/cnn_information.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum PoolingType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 13 | MaxPooling, [INFO] [stdout] 14 | AveragePooling, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolingType` 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: variants `Regression` and `BinaryClassification` are never constructed [INFO] [stdout] --> src/cnn_information.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OutputType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | Regression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | BinaryClassification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputType` 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: variants `FullConnected` and `Output` are never constructed [INFO] [stdout] --> src/cnn_information.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum LayerInformationContent { [INFO] [stdout] | ----------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | FullConnected(FullConnectedInformation), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | Output(OutputInformation), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerInformationContent` 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: methods `as_full_connected` and `as_output` are never used [INFO] [stdout] --> src/cnn_information.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl LayerInformationContent { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn as_full_connected(&self) -> Option<&FullConnectedInformation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn as_output(&self) -> Option<&OutputInformation> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activation_type` is never read [INFO] [stdout] --> src/cnn_information.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ConvolutionInformation { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub activation_type: ActivationType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConvolutionInformation` 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: fields `node_value` and `activation_type` are never read [INFO] [stdout] --> src/cnn_information.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FullConnectedInformation { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 91 | pub node_value: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 92 | pub activation_type: ActivationType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullConnectedInformation` 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: field `node_value` is never read [INFO] [stdout] --> src/cnn_information.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct OutputInformation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 97 | pub node_value: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputInformation` 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: type alias `InformationContentList` is never used [INFO] [stdout] --> src/cnn_information.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 101 | type InformationContentList = makeHList!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `windows` is never read [INFO] [stdout] --> src/convolution_network.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ConvolutionNetwork { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub windows: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConvolutionNetwork` 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: methods `set_seed_u64`, `set_seed_u128`, `rand_u32_range`, and `normal_use_sine` are never used [INFO] [stdout] --> src/rand.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Rand { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_seed_u64(&mut self, seed: u64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_seed_u128(&mut self, seed: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn rand_u32_range(&mut self, min: u32, max: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn normal_use_sine(&mut self, mu: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HNil` is never constructed [INFO] [stdout] --> src/type_utilities.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HNil; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HCons` is never constructed [INFO] [stdout] --> src/type_utilities.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HCons(Head, Tail); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HList` is never used [INFO] [stdout] --> src/type_utilities.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait HList {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Member` is never used [INFO] [stdout] --> src/type_utilities.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Member {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Here` is never constructed [INFO] [stdout] --> src/type_utilities.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Here; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `There` is never constructed [INFO] [stdout] --> src/type_utilities.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct There(Index); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libron-173b61623eac321d,libonce_cell-893b8114f475d64a,libtypeid-b029da31563eff2c,libbitflags-0ec34b6eb30e6d77,libunicode_ident-0a85a513ccf42c3e,libserde-1be01059e366f95a,libserde_core-595f4a574c203589,libndarray_ndimage-2cde8f55425ce249,libndarray_stats-5fef39ea986666ee,librand-165f8dcf4e6a3e3b,librand_chacha-11443f7157589388,libppv_lite86-57190b05dc813843,libzerocopy-c8b70dbf918b1fcf,librand_core-4645404d2d6f76ba,libgetrandom-dce7e7375e2b6f7a,libwasi-2489791937a01afd,libcfg_if-7ad52ab0b947f1bf,libindexmap-5b99f6160d9276bf,libequivalent-2e684669938dda7f,libhashbrown-80dfaf0e814971e3,libitertools-fa82aa533a3949c2,libnoisy_float-4674eee4192558c4,libndarray-66e3baf2ba7e5e6e,libmatrixmultiply-5589c55b10b32b3d,libapprox-ae9bde3c63aa24d4,libnum_complex-e3c0f06856bd5929,librayon-3b82c695df8ff4bd,librayon_core-aca7b41ac3a1d237,libcrossbeam_deque-ba08fa6773dce238,libcrossbeam_epoch-9b2883433b382518,libcrossbeam_utils-5a28bcb9600bf39b,libeither-996178cff71a8a28,libnum_integer-05aa87b99a5b8cbb,libnum_traits-9b40ac5f85c3ce37,librawpointer-9a8fd60edf80a161,libcblas_sys-f54d5384b52c8da6,liblibc-c93fe8db11d2fcca}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/cnn_learn_rust-bb516ec19c7f2a7b.wasm" "--gc-sections" "-O1" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cnn_learn_rust-bb516ec19c7f2a7b.cnn_learn_rust.38c76669e653ecb2-cgu.13.rcgu.o: undefined symbol: cblas_dgemm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cnn-learn-rust` (bin "cnn-learn-rust") due to 1 previous error; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "056da1815dd637ece75928c2322d4db1f9a2486a5ad3955a6d5bfcc43cae4af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056da1815dd637ece75928c2322d4db1f9a2486a5ad3955a6d5bfcc43cae4af1", kill_on_drop: false }` [INFO] [stdout] 056da1815dd637ece75928c2322d4db1f9a2486a5ad3955a6d5bfcc43cae4af1