[INFO] fetching crate neurotic 0.2.1...
[INFO] testing neurotic-0.2.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate neurotic 0.2.1 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate neurotic 0.2.1
[INFO] finished tweaking crates.io crate neurotic 0.2.1
[INFO] tweaked toml for crates.io crate neurotic 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate neurotic 0.2.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate neurotic 0.2.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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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] [stderr]   Downloaded syn v2.0.85
[INFO] [stderr]   Downloaded libc v0.2.161
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75b925f6340c9e0c9977be1aeee1d15c325c98f3a2f80f78f1571c982095604c
[INFO] running `Command { std: "docker" "start" "-a" "75b925f6340c9e0c9977be1aeee1d15c325c98f3a2f80f78f1571c982095604c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75b925f6340c9e0c9977be1aeee1d15c325c98f3a2f80f78f1571c982095604c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75b925f6340c9e0c9977be1aeee1d15c325c98f3a2f80f78f1571c982095604c", kill_on_drop: false }`
[INFO] [stdout] 75b925f6340c9e0c9977be1aeee1d15c325c98f3a2f80f78f1571c982095604c
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df69a4cddc8e21af105144a34f192b31a455b579e786150713c3121acf752239
[INFO] running `Command { std: "docker" "start" "-a" "df69a4cddc8e21af105144a34f192b31a455b579e786150713c3121acf752239", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling serde v1.0.214
[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 num-complex v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rmp v0.8.14
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[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 1m 25s
[INFO] running `Command { std: "docker" "inspect" "df69a4cddc8e21af105144a34f192b31a455b579e786150713c3121acf752239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df69a4cddc8e21af105144a34f192b31a455b579e786150713c3121acf752239", kill_on_drop: false }`
[INFO] [stdout] df69a4cddc8e21af105144a34f192b31a455b579e786150713c3121acf752239
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 580da4668a7bec5edd9e701866d596a0cc835809c63b2dcbc5d7ed1d25247399
[INFO] running `Command { std: "docker" "start" "-a" "580da4668a7bec5edd9e701866d596a0cc835809c63b2dcbc5d7ed1d25247399", 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.62s
[INFO] running `Command { std: "docker" "inspect" "580da4668a7bec5edd9e701866d596a0cc835809c63b2dcbc5d7ed1d25247399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "580da4668a7bec5edd9e701866d596a0cc835809c63b2dcbc5d7ed1d25247399", kill_on_drop: false }`
[INFO] [stdout] 580da4668a7bec5edd9e701866d596a0cc835809c63b2dcbc5d7ed1d25247399
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 161752e237f4d1a0b274b2e9a086a2facb492d392c12ce4b7137b457efec3fa3
[INFO] running `Command { std: "docker" "start" "-a" "161752e237f4d1a0b274b2e9a086a2facb492d392c12ce4b7137b457efec3fa3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neurotic-b6f7f2c2e7665b40)
[INFO] [stderr]    Doc-tests neurotic
[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 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 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] 7 | 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 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] 3 | 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] 2 + 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] 3 | 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[E0412]: cannot find type `NetworkTrainer` in this scope
[INFO] [stdout]  --> src/lib.rs:63:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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] 2 + use neurotic::training::NetworkTrainer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoOptimiser` in this scope
[INFO] [stdout]  --> src/lib.rs:63:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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] 2 + 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] 7 | 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] 2 + 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] 7 | 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] 8 | 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: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 4 | 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] 11 | 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] 2  + 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] 11 | let adam = Adam::new(&layer_dims, beta1, beta2, epsilon);
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NetworkTrainer` in this scope
[INFO] [stdout]   --> src/lib.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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] 2  + use neurotic::training::NetworkTrainer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Adam` in this scope
[INFO] [stdout]   --> src/lib.rs:95:33
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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] 2  + 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] 15 |     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] 2  + 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] 15 |     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] 15 |     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] 15 |     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: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 7 |     let mut data = Vec::with_capacity(usize);
[INFO] [stdout]   |                                       ^^^^^ help: a local variable with a similar name exists: `size`
[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] 9 |         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] 9 |         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] 10 |         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] 10 |         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.52s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "161752e237f4d1a0b274b2e9a086a2facb492d392c12ce4b7137b457efec3fa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "161752e237f4d1a0b274b2e9a086a2facb492d392c12ce4b7137b457efec3fa3", kill_on_drop: false }`
[INFO] [stdout] 161752e237f4d1a0b274b2e9a086a2facb492d392c12ce4b7137b457efec3fa3
