[INFO] fetching crate neuralnyx 0.1.1... [INFO] testing neuralnyx-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate neuralnyx 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate neuralnyx 0.1.1 [INFO] finished tweaking crates.io crate neuralnyx 0.1.1 [INFO] tweaked toml for crates.io crate neuralnyx 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate neuralnyx 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate neuralnyx 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gpu-descriptor v0.3.1 [INFO] [stderr] Downloaded gpu-descriptor-types v0.2.0 [INFO] [stderr] Downloaded wgpu-types v24.0.0 [INFO] [stderr] Downloaded curl v0.4.47 [INFO] [stderr] Downloaded gpu-allocator v0.27.0 [INFO] [stderr] Downloaded rand_distr v0.5.1 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded glow v0.16.0 [INFO] [stderr] Downloaded wgpu v24.0.3 [INFO] [stderr] Downloaded wgpu-core v24.0.2 [INFO] [stderr] Downloaded wgpu-hal v24.0.4 [INFO] [stderr] Downloaded naga v24.0.0 [INFO] [stderr] Downloaded curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Downloaded metal v0.31.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8139dd11b39328e62cfc450a11e1ed36b12836c4d5b1d2ddfa66a7a47a04a42a [INFO] running `Command { std: "docker" "start" "-a" "8139dd11b39328e62cfc450a11e1ed36b12836c4d5b1d2ddfa66a7a47a04a42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8139dd11b39328e62cfc450a11e1ed36b12836c4d5b1d2ddfa66a7a47a04a42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8139dd11b39328e62cfc450a11e1ed36b12836c4d5b1d2ddfa66a7a47a04a42a", kill_on_drop: false }` [INFO] [stdout] 8139dd11b39328e62cfc450a11e1ed36b12836c4d5b1d2ddfa66a7a47a04a42a [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16eb2a7d1145cac37ae2fc010758e8283a196e46f051909e98a3fadb2ab98bf5 [INFO] running `Command { std: "docker" "start" "-a" "16eb2a7d1145cac37ae2fc010758e8283a196e46f051909e98a3fadb2ab98bf5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling wgpu-core v24.0.2 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling wgpu v24.0.3 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v24.0.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling neuralnyx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.60s [INFO] running `Command { std: "docker" "inspect" "16eb2a7d1145cac37ae2fc010758e8283a196e46f051909e98a3fadb2ab98bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16eb2a7d1145cac37ae2fc010758e8283a196e46f051909e98a3fadb2ab98bf5", kill_on_drop: false }` [INFO] [stdout] 16eb2a7d1145cac37ae2fc010758e8283a196e46f051909e98a3fadb2ab98bf5 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d8b377adfcc16bb986e79c6f590568de3e89b9e28c274fe965da3c7277b0c5b [INFO] running `Command { std: "docker" "start" "-a" "1d8b377adfcc16bb986e79c6f590568de3e89b9e28c274fe965da3c7277b0c5b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling curl v0.4.47 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-types v24.0.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling wgpu-core v24.0.2 [INFO] [stderr] Compiling wgpu v24.0.3 [INFO] [stderr] Compiling neuralnyx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 34.03s [INFO] running `Command { std: "docker" "inspect" "1d8b377adfcc16bb986e79c6f590568de3e89b9e28c274fe965da3c7277b0c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8b377adfcc16bb986e79c6f590568de3e89b9e28c274fe965da3c7277b0c5b", kill_on_drop: false }` [INFO] [stdout] 1d8b377adfcc16bb986e79c6f590568de3e89b9e28c274fe965da3c7277b0c5b [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2c71daff6802326a2a4600d006cbd309cae6ceb09237b89e005053904fb90fe [INFO] running `Command { std: "docker" "start" "-a" "c2c71daff6802326a2a4600d006cbd309cae6ceb09237b89e005053904fb90fe", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neuralnyx-6471049d5d7d7b6c) [INFO] [stdout] [INFO] [stderr] Doc-tests neuralnyx [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - (line 120) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 101) ... FAILED [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 132) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `nn` in this scope [INFO] [stdout] --> src/lib.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 3 | println!("{}", nn); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 140) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `run` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 1 | cargo run --example sine --release [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 120) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `nn` in this scope [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 3 | nn.train(training); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `training` in this scope [INFO] [stdout] --> src/lib.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 3 | nn.train(training); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 73) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Structure` in this scope [INFO] [stdout] --> src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 3 | let structure = Structure { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Structure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layers` in this scope [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 4 | layers: layers, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CostFunction` [INFO] [stdout] --> src/lib.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 6 | cost_function: CostFunction::MeanSquaredError, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CostFunction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::CostFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 29) stdout ---- [INFO] [stdout] error: expected `;`, found `i` [INFO] [stdout] --> src/lib.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 7 | y.push(vec![i.sin()]) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | i += 0.01 [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 6 | x.push(vec![i]); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Layer` in this scope [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 4 | Layer { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activation` [INFO] [stdout] --> src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 6 | activation: Activation::Tanh, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Activation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Activation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Layer` in this scope [INFO] [stdout] --> src/lib.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 7 | }, Layer { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activation` [INFO] [stdout] --> src/lib.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 9 | activation: Activation::Linear, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Activation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Activation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 101) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TrainingOptions` in this scope [INFO] [stdout] --> src/lib.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 3 | let training = TrainingOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::TrainingOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Optimizer` [INFO] [stdout] --> src/lib.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 4 | optimizer: Optimizer::Adam(0.001), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Optimizer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Optimizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 82) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Structure` in this scope [INFO] [stdout] --> src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 3 | let structure = Structure { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::Structure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layers` in this scope [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 4 | layers, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NeuralNet` [INFO] [stdout] --> src/lib.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut nn = NeuralNet::new(&mut x, &mut y, structure).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NeuralNet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::NeuralNet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/lib.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 3 | let mut nn = NeuralNet::new(&mut x, &mut y, structure).unwrap(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `y` in this scope [INFO] [stdout] --> src/lib.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 3 | let mut nn = NeuralNet::new(&mut x, &mut y, structure).unwrap(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `structure` in this scope [INFO] [stdout] --> src/lib.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 3 | let mut nn = NeuralNet::new(&mut x, &mut y, structure).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 112) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TrainingOptions` in this scope [INFO] [stdout] --> src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 3 | let training = TrainingOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use neuralnyx::TrainingOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 126) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `nn` in this scope [INFO] [stdout] --> src/lib.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 3 | println!("{:?}", nn.test(vec![3.14])); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 101) [INFO] [stdout] src/lib.rs - (line 112) [INFO] [stdout] src/lib.rs - (line 120) [INFO] [stdout] src/lib.rs - (line 126) [INFO] [stdout] src/lib.rs - (line 132) [INFO] [stdout] src/lib.rs - (line 140) [INFO] [stdout] src/lib.rs - (line 29) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/lib.rs - (line 82) [INFO] [stdout] src/lib.rs - (line 90) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c2c71daff6802326a2a4600d006cbd309cae6ceb09237b89e005053904fb90fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c71daff6802326a2a4600d006cbd309cae6ceb09237b89e005053904fb90fe", kill_on_drop: false }` [INFO] [stdout] c2c71daff6802326a2a4600d006cbd309cae6ceb09237b89e005053904fb90fe