[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 master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliqut%2Fneurotic" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aliqut/neurotic on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.91
[INFO] [stderr]   Downloaded portable-atomic-util v0.2.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d77a4d46e5eaffec288265c9a38743dfa51c8849354f94266cba9da4d9e9066e
[INFO] running `Command { std: "docker" "start" "-a" "d77a4d46e5eaffec288265c9a38743dfa51c8849354f94266cba9da4d9e9066e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d77a4d46e5eaffec288265c9a38743dfa51c8849354f94266cba9da4d9e9066e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d77a4d46e5eaffec288265c9a38743dfa51c8849354f94266cba9da4d9e9066e", kill_on_drop: false }`
[INFO] [stdout] d77a4d46e5eaffec288265c9a38743dfa51c8849354f94266cba9da4d9e9066e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7eb2031bd092f8466b0b7a552634ade0ddbda20141a41c82f0445580b3e1e044
[INFO] running `Command { std: "docker" "start" "-a" "7eb2031bd092f8466b0b7a552634ade0ddbda20141a41c82f0445580b3e1e044", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling rmp v0.8.14
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rayon v1.10.0
[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 20.95s
[INFO] running `Command { std: "docker" "inspect" "7eb2031bd092f8466b0b7a552634ade0ddbda20141a41c82f0445580b3e1e044", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7eb2031bd092f8466b0b7a552634ade0ddbda20141a41c82f0445580b3e1e044", kill_on_drop: false }`
[INFO] [stdout] 7eb2031bd092f8466b0b7a552634ade0ddbda20141a41c82f0445580b3e1e044
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc328e60caa7fb04841ed09dda8cffb1020b8b7b421b226a9bf413d807fbad06
[INFO] running `Command { std: "docker" "start" "-a" "bc328e60caa7fb04841ed09dda8cffb1020b8b7b421b226a9bf413d807fbad06", 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.31s
[INFO] running `Command { std: "docker" "inspect" "bc328e60caa7fb04841ed09dda8cffb1020b8b7b421b226a9bf413d807fbad06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc328e60caa7fb04841ed09dda8cffb1020b8b7b421b226a9bf413d807fbad06", kill_on_drop: false }`
[INFO] [stdout] bc328e60caa7fb04841ed09dda8cffb1020b8b7b421b226a9bf413d807fbad06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 327ca1e81244335f19a90847a78b4b0ab788d69d526bb1580e4019670a2bd1d7
[INFO] running `Command { std: "docker" "start" "-a" "327ca1e81244335f19a90847a78b4b0ab788d69d526bb1580e4019670a2bd1d7", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[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 70) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 75) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 58) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 83) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 36) - 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 <https://doc.rust-lang.org/reference/items.html>
[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 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 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 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<NoOptimiser> = 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<NoOptimiser> = 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<NoOptimiser> = 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<NoOptimiser> = 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 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<Adam> =
[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<Adam> =
[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] ---- 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] 
[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.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "327ca1e81244335f19a90847a78b4b0ab788d69d526bb1580e4019670a2bd1d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "327ca1e81244335f19a90847a78b4b0ab788d69d526bb1580e4019670a2bd1d7", kill_on_drop: false }`
[INFO] [stdout] 327ca1e81244335f19a90847a78b4b0ab788d69d526bb1580e4019670a2bd1d7
