[INFO] cloning repository https://github.com/alternyxx/neuralnyx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alternyxx/neuralnyx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falternyxx%2Fneuralnyx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falternyxx%2Fneuralnyx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 958cca2c388e1df705f8bffe701e28f6e67d9322 [INFO] testing alternyxx/neuralnyx against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falternyxx%2Fneuralnyx" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alternyxx/neuralnyx [INFO] finished tweaking git repo https://github.com/alternyxx/neuralnyx [INFO] tweaked toml for git repo https://github.com/alternyxx/neuralnyx written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alternyxx/neuralnyx 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding wgpu v24.0.5 (available: v26.0.1) [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] Downloading crates ... [INFO] [stderr] Downloaded curl v0.4.49 [INFO] [stderr] Downloaded rand_distr v0.5.1 [INFO] [stderr] Downloaded curl-sys v0.4.83+curl-8.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] df444f3da1dfd089943cb1f701485e253bb6d0077d6fcb18e3e5545706ea6896 [INFO] running `Command { std: "docker" "start" "-a" "df444f3da1dfd089943cb1f701485e253bb6d0077d6fcb18e3e5545706ea6896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df444f3da1dfd089943cb1f701485e253bb6d0077d6fcb18e3e5545706ea6896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df444f3da1dfd089943cb1f701485e253bb6d0077d6fcb18e3e5545706ea6896", kill_on_drop: false }` [INFO] [stdout] df444f3da1dfd089943cb1f701485e253bb6d0077d6fcb18e3e5545706ea6896 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8ae506d7489ee142a09a36ee776c94f6b4ebd247960bc7ad62c12d4f33c5ddb8 [INFO] running `Command { std: "docker" "start" "-a" "8ae506d7489ee142a09a36ee776c94f6b4ebd247960bc7ad62c12d4f33c5ddb8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling wgpu-core v24.0.5 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling wgpu v24.0.5 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.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-alloc v0.6.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [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 40.66s [INFO] running `Command { std: "docker" "inspect" "8ae506d7489ee142a09a36ee776c94f6b4ebd247960bc7ad62c12d4f33c5ddb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae506d7489ee142a09a36ee776c94f6b4ebd247960bc7ad62c12d4f33c5ddb8", kill_on_drop: false }` [INFO] [stdout] 8ae506d7489ee142a09a36ee776c94f6b4ebd247960bc7ad62c12d4f33c5ddb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3d7568af29e41562d8faa2c619e6a340181e37261bf9b9f91a50456bef3a29bb [INFO] running `Command { std: "docker" "start" "-a" "3d7568af29e41562d8faa2c619e6a340181e37261bf9b9f91a50456bef3a29bb", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.4 [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 gpu-alloc v0.6.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling wgpu-core v24.0.5 [INFO] [stderr] Compiling wgpu v24.0.5 [INFO] [stderr] Compiling neuralnyx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.23s [INFO] running `Command { std: "docker" "inspect" "3d7568af29e41562d8faa2c619e6a340181e37261bf9b9f91a50456bef3a29bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7568af29e41562d8faa2c619e6a340181e37261bf9b9f91a50456bef3a29bb", kill_on_drop: false }` [INFO] [stdout] 3d7568af29e41562d8faa2c619e6a340181e37261bf9b9f91a50456bef3a29bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] 562be3357bf616c55830d8d86f36ebe8298c0fbbee4f6891d0218ded87f48ba4 [INFO] running `Command { std: "docker" "start" "-a" "562be3357bf616c55830d8d86f36ebe8298c0fbbee4f6891d0218ded87f48ba4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neuralnyx-e26bbfe451dd1cc2) [INFO] [stderr] Running tests/test_neuralnet.rs (/opt/rustwide/target/debug/deps/test_neuralnet-691fc0b129f57e41) [INFO] [stdout] [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 1 test [INFO] [stdout] test tests::test_sin has been running for over 60 seconds [INFO] [stdout] test tests::test_sin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 81.94s [INFO] [stdout] [INFO] [stderr] Doc-tests neuralnyx [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... 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 132) ... FAILED [INFO] [stdout] test src/lib.rs - (line 101) ... FAILED [INFO] [stdout] test src/lib.rs - (line 120) ... 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 29) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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 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 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] ---- 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 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 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 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 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] [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 1.70s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "562be3357bf616c55830d8d86f36ebe8298c0fbbee4f6891d0218ded87f48ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562be3357bf616c55830d8d86f36ebe8298c0fbbee4f6891d0218ded87f48ba4", kill_on_drop: false }` [INFO] [stdout] 562be3357bf616c55830d8d86f36ebe8298c0fbbee4f6891d0218ded87f48ba4