[INFO] cloning repository https://github.com/aliqut/neurotic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aliqut/neurotic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliqut%2Fneurotic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliqut%2Fneurotic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acd39aafa68dbe6f7f682522c4a8594b46fba792 [INFO] testing aliqut/neurotic against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliqut%2Fneurotic" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aliqut/neurotic [INFO] finished tweaking git repo https://github.com/aliqut/neurotic [INFO] tweaked toml for git repo https://github.com/aliqut/neurotic written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aliqut/neurotic on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aliqut/neurotic 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing aliqut/neurotic against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliqut%2Fneurotic" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aliqut/neurotic [INFO] finished tweaking git repo https://github.com/aliqut/neurotic [INFO] tweaked toml for git repo https://github.com/aliqut/neurotic written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aliqut/neurotic on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aliqut/neurotic 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.91 [INFO] [stderr] Downloaded portable-atomic-util v0.2.3 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbfe2669a3ad68aa1828bcb7af04e5739bb4c696e8696dd40a0311a4e8bf00cd [INFO] running `Command { std: "docker" "start" "-a" "dbfe2669a3ad68aa1828bcb7af04e5739bb4c696e8696dd40a0311a4e8bf00cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbfe2669a3ad68aa1828bcb7af04e5739bb4c696e8696dd40a0311a4e8bf00cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfe2669a3ad68aa1828bcb7af04e5739bb4c696e8696dd40a0311a4e8bf00cd", kill_on_drop: false }` [INFO] [stdout] dbfe2669a3ad68aa1828bcb7af04e5739bb4c696e8696dd40a0311a4e8bf00cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daa190aee71a5fb064f5f636e3c59ec7a5c1255204619f3ad953ae707aa627ff [INFO] running `Command { std: "docker" "start" "-a" "daa190aee71a5fb064f5f636e3c59ec7a5c1255204619f3ad953ae707aa627ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling neurotic v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.62s [INFO] running `Command { std: "docker" "inspect" "daa190aee71a5fb064f5f636e3c59ec7a5c1255204619f3ad953ae707aa627ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daa190aee71a5fb064f5f636e3c59ec7a5c1255204619f3ad953ae707aa627ff", kill_on_drop: false }` [INFO] [stdout] daa190aee71a5fb064f5f636e3c59ec7a5c1255204619f3ad953ae707aa627ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08d6dbe740d474a288cc575cbc58e9ab71aa93da81e09473f6920b9dd9807b65 [INFO] running `Command { std: "docker" "start" "-a" "08d6dbe740d474a288cc575cbc58e9ab71aa93da81e09473f6920b9dd9807b65", kill_on_drop: false }` [INFO] [stderr] Compiling neurotic v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "08d6dbe740d474a288cc575cbc58e9ab71aa93da81e09473f6920b9dd9807b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d6dbe740d474a288cc575cbc58e9ab71aa93da81e09473f6920b9dd9807b65", kill_on_drop: false }` [INFO] [stdout] 08d6dbe740d474a288cc575cbc58e9ab71aa93da81e09473f6920b9dd9807b65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2febc04a4e8d1bb3e206ed561a556b408d957bd3b14a7ddaac5bfa77afa95be [INFO] running `Command { std: "docker" "start" "-a" "d2febc04a4e8d1bb3e206ed561a556b408d957bd3b14a7ddaac5bfa77afa95be", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neurotic-75515621d38886b1) [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] [stderr] Doc-tests neurotic [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 11) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 75) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 83) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | let layer_sizes = &[2, 32, 16, 1]; // 2 neurons for the input layer, 32 and 16 for the hidden [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [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 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NeuralNetwork` [INFO] [stdout] --> src/lib.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | let network = NeuralNetwork::load("path/to/file").expect("Failed to load network"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `NeuralNetwork` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 75 + use neurotic::core::NeuralNetwork; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 70) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `trainer` in this scope [INFO] [stdout] --> src/lib.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | trainer.get_network().save("path/to/file").expect("Failed to save network"); [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 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `NetworkTrainer` in this scope [INFO] [stdout] --> src/lib.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let mut trainer: NetworkTrainer = NetworkTrainer::new(network, learning_rate, batch_size, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 58 + use neurotic::training::NetworkTrainer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `NoOptimiser` in this scope [INFO] [stdout] --> src/lib.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | let mut trainer: NetworkTrainer = NetworkTrainer::new(network, learning_rate, batch_size, None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 58 + use neurotic::optimisers::NoOptimiser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkTrainer` [INFO] [stdout] --> src/lib.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | let mut trainer: NetworkTrainer = NetworkTrainer::new(network, learning_rate, batch_size, None); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NetworkTrainer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 58 + use neurotic::training::NetworkTrainer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `network` in this scope [INFO] [stdout] --> src/lib.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 63 | let mut trainer: NetworkTrainer = NetworkTrainer::new(network, learning_rate, batch_size, None); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `training_data` in this scope [INFO] [stdout] --> src/lib.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | trainer.train(training_data, epochs); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 36) stdout ---- [INFO] [stdout] error[E0423]: expected value, found builtin type `usize` [INFO] [stdout] --> src/lib.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | let mut data = Vec::with_capacity(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 - let mut data = Vec::with_capacity(usize); [INFO] [stdout] 41 + let mut data = Vec::with_capacity(size); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for fn item `fn() -> ThreadRng {thread_rng}`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let a = rand::thread_rng.gen_range(0.0..range); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `fn() -> ThreadRng {thread_rng}` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fn() -> ThreadRng {thread_rng}: RngCore` [INFO] [stdout] which is required by `fn() -> ThreadRng {thread_rng}: Rng` [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 43 | let a = rand::thread_rng().gen_range(0.0..range); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `gen_range` exists for fn item `fn() -> ThreadRng {thread_rng}`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let b = rand::thread_rng.gen_range(0.0..range); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `fn() -> ThreadRng {thread_rng}` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `fn() -> ThreadRng {thread_rng}: RngCore` [INFO] [stdout] which is required by `fn() -> ThreadRng {thread_rng}: Rng` [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 44 | let b = rand::thread_rng().gen_range(0.0..range); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 83) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `layer_sizes` in this scope [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let layer_dimensions = layer_sizes [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Adam` [INFO] [stdout] --> src/lib.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | let adam = Adam::new(&layer_dims, beta1, beta2, epsilon); [INFO] [stdout] | ^^^^ use of undeclared type `Adam` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 + use neurotic::optimisers::Adam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer_dims` in this scope [INFO] [stdout] --> src/lib.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | let adam = Adam::new(&layer_dims, beta1, beta2, epsilon); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `NetworkTrainer` in this scope [INFO] [stdout] --> src/lib.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let mut trainer: NetworkTrainer = [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 + use neurotic::training::NetworkTrainer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Adam` in this scope [INFO] [stdout] --> src/lib.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let mut trainer: NetworkTrainer = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 + use neurotic::optimisers::Adam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkTrainer` [INFO] [stdout] --> src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | NetworkTrainer::new(network, learning_rate, batch_size, Some(adam)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NetworkTrainer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 83 + use neurotic::training::NetworkTrainer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `network` in this scope [INFO] [stdout] --> src/lib.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | NetworkTrainer::new(network, learning_rate, batch_size, Some(adam)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `learning_rate` in this scope [INFO] [stdout] --> src/lib.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | NetworkTrainer::new(network, learning_rate, batch_size, Some(adam)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `batch_size` in this scope [INFO] [stdout] --> src/lib.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | NetworkTrainer::new(network, learning_rate, batch_size, Some(adam)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] src/lib.rs - (line 75) [INFO] [stdout] src/lib.rs - (line 83) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d2febc04a4e8d1bb3e206ed561a556b408d957bd3b14a7ddaac5bfa77afa95be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2febc04a4e8d1bb3e206ed561a556b408d957bd3b14a7ddaac5bfa77afa95be", kill_on_drop: false }` [INFO] [stdout] d2febc04a4e8d1bb3e206ed561a556b408d957bd3b14a7ddaac5bfa77afa95be