[INFO] fetching crate scratch_genetic 22.5.23...
[INFO] testing scratch_genetic-22.5.23 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate scratch_genetic 22.5.23 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate scratch_genetic 22.5.23 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate scratch_genetic 22.5.23
[INFO] finished tweaking crates.io crate scratch_genetic 22.5.23
[INFO] tweaked toml for crates.io crate scratch_genetic 22.5.23 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 69 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3956e945f13382c31eec9044d6c76bb222120eeb62027fb95239d67d19b4f6c
[INFO] running `Command { std: "docker" "start" "-a" "f3956e945f13382c31eec9044d6c76bb222120eeb62027fb95239d67d19b4f6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3956e945f13382c31eec9044d6c76bb222120eeb62027fb95239d67d19b4f6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3956e945f13382c31eec9044d6c76bb222120eeb62027fb95239d67d19b4f6c", kill_on_drop: false }`
[INFO] [stdout] f3956e945f13382c31eec9044d6c76bb222120eeb62027fb95239d67d19b4f6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75dfd33817c61d0edf7a0c56674e36b2ab0167a46cc49b577ae46b0152edd55c
[INFO] running `Command { std: "docker" "start" "-a" "75dfd33817c61d0edf7a0c56674e36b2ab0167a46cc49b577ae46b0152edd55c", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling scratch_genetic v22.5.23 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.78s
[INFO] running `Command { std: "docker" "inspect" "75dfd33817c61d0edf7a0c56674e36b2ab0167a46cc49b577ae46b0152edd55c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75dfd33817c61d0edf7a0c56674e36b2ab0167a46cc49b577ae46b0152edd55c", kill_on_drop: false }`
[INFO] [stdout] 75dfd33817c61d0edf7a0c56674e36b2ab0167a46cc49b577ae46b0152edd55c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 252478416b07f58b5c5c2c1c913257f461422c9de44e89a4e476a312119330d1
[INFO] running `Command { std: "docker" "start" "-a" "252478416b07f58b5c5c2c1c913257f461422c9de44e89a4e476a312119330d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling scratch_genetic v22.5.23 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "252478416b07f58b5c5c2c1c913257f461422c9de44e89a4e476a312119330d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "252478416b07f58b5c5c2c1c913257f461422c9de44e89a4e476a312119330d1", kill_on_drop: false }`
[INFO] [stdout] 252478416b07f58b5c5c2c1c913257f461422c9de44e89a4e476a312119330d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4c41e8c420847ceabd694fae6d4feede77ec9706f254025c4c3185a993298513
[INFO] running `Command { std: "docker" "start" "-a" "4c41e8c420847ceabd694fae6d4feede77ec9706f254025c4c3185a993298513", 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/scratch_genetic-53972927d731cd02)
[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 scratch_genetic
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/genetic.rs - genetic::gen_pop (line 30) ... FAILED
[INFO] [stdout] test src/genetic.rs - genetic::test_and_sort (line 65) ... FAILED
[INFO] [stdout] test src/genetic.rs - genetic::reproduce (line 130) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/genetic.rs - genetic::gen_pop (line 30) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `gen_pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:31:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut pop = gen_pop(
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::gen_pop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `POP_SIZE` in this scope
[INFO] [stdout]  --> src/genetic.rs:32:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     POP_SIZE,
[INFO] [stdout]   |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LAYER_SIZES` in this scope
[INFO] [stdout]  --> src/genetic.rs:33:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LAYER_SIZES.to_vec(), NUM_INPUTS, NUM_OUTPUTS,
[INFO] [stdout]   |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_INPUTS` in this scope
[INFO] [stdout]  --> src/genetic.rs:33:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LAYER_SIZES.to_vec(), NUM_INPUTS, NUM_OUTPUTS,
[INFO] [stdout]   |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_OUTPUTS` in this scope
[INFO] [stdout]  --> src/genetic.rs:33:39
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LAYER_SIZES.to_vec(), NUM_INPUTS, NUM_OUTPUTS,
[INFO] [stdout]   |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NEURON_ACTIVATION_THRESH` in this scope
[INFO] [stdout]  --> src/genetic.rs:34:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NEURON_ACTIVATION_THRESH, TRAIT_SWAP_CHANCE,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRAIT_SWAP_CHANCE` in this scope
[INFO] [stdout]  --> src/genetic.rs:34:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NEURON_ACTIVATION_THRESH, TRAIT_SWAP_CHANCE,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WEIGHT_MUTATE_CHANCE` in this scope
[INFO] [stdout]  --> src/genetic.rs:35:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     WEIGHT_MUTATE_CHANCE, WEIGHT_MUTATE_AMOUNT,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WEIGHT_MUTATE_AMOUNT` in this scope
[INFO] [stdout]  --> src/genetic.rs:35:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     WEIGHT_MUTATE_CHANCE, WEIGHT_MUTATE_AMOUNT,
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OFFSET_MUTATE_CHANCE` in this scope
[INFO] [stdout]  --> src/genetic.rs:36:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     OFFSET_MUTATE_CHANCE, OFFSET_MUTATE_AMOUNT
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OFFSET_MUTATE_AMOUNT` in this scope
[INFO] [stdout]  --> src/genetic.rs:36:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     OFFSET_MUTATE_CHANCE, OFFSET_MUTATE_AMOUNT
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:37:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_30_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | ).await;
[INFO] [stdout]   |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/genetic.rs - genetic::test_and_sort (line 65) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:66:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | for i in 0..NUM_GENS {
[INFO] [stdout]   |             ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to write `.` instead of `..`
[INFO] [stdout]   |
[INFO] [stdout] 3 - for i in 0..NUM_GENS {
[INFO] [stdout] 3 + for i in 0.NUM_GENS {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:67:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("Generation {} / {}", i, NUM_GENS);
[INFO] [stdout]   |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_and_sort` in this scope
[INFO] [stdout]  --> src/genetic.rs:68:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::test_and_sort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:68:24
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `games` in this scope
[INFO] [stdout]  --> src/genetic.rs:68:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `reproduce` in this scope
[INFO] [stdout]  --> src/genetic.rs:69:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::reproduce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:69:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:68:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_65_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:69:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_65_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/genetic.rs - genetic::reproduce (line 130) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:131:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | for i in 0..NUM_GENS {
[INFO] [stdout]   |             ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to write `.` instead of `..`
[INFO] [stdout]   |
[INFO] [stdout] 3 - for i in 0..NUM_GENS {
[INFO] [stdout] 3 + for i in 0.NUM_GENS {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:132:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("Generation {} / {}", i, NUM_GENS);
[INFO] [stdout]   |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_and_sort` in this scope
[INFO] [stdout]  --> src/genetic.rs:133:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::test_and_sort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:133:24
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `games` in this scope
[INFO] [stdout]  --> src/genetic.rs:133:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `reproduce` in this scope
[INFO] [stdout]  --> src/genetic.rs:134:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::reproduce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:134:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:133:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_130_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:134:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_130_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[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/genetic.rs - genetic::gen_pop (line 30)
[INFO] [stdout]     src/genetic.rs - genetic::reproduce (line 130)
[INFO] [stdout]     src/genetic.rs - genetic::test_and_sort (line 65)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4c41e8c420847ceabd694fae6d4feede77ec9706f254025c4c3185a993298513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c41e8c420847ceabd694fae6d4feede77ec9706f254025c4c3185a993298513", kill_on_drop: false }`
[INFO] [stdout] 4c41e8c420847ceabd694fae6d4feede77ec9706f254025c4c3185a993298513
[INFO] testing scratch_genetic-22.5.23 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate scratch_genetic 22.5.23 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate scratch_genetic 22.5.23 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate scratch_genetic 22.5.23
[INFO] finished tweaking crates.io crate scratch_genetic 22.5.23
[INFO] tweaked toml for crates.io crate scratch_genetic 22.5.23 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 69 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5d4b97014b378b7164861d220d2266e17bf7b1019a706c137fd2754634736ce
[INFO] running `Command { std: "docker" "start" "-a" "b5d4b97014b378b7164861d220d2266e17bf7b1019a706c137fd2754634736ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5d4b97014b378b7164861d220d2266e17bf7b1019a706c137fd2754634736ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5d4b97014b378b7164861d220d2266e17bf7b1019a706c137fd2754634736ce", kill_on_drop: false }`
[INFO] [stdout] b5d4b97014b378b7164861d220d2266e17bf7b1019a706c137fd2754634736ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4173d549420b30ae0380d3dfaf154f5ba3dcb97cb1d00912a09164741bc192e
[INFO] running `Command { std: "docker" "start" "-a" "b4173d549420b30ae0380d3dfaf154f5ba3dcb97cb1d00912a09164741bc192e", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling scratch_genetic v22.5.23 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.48s
[INFO] running `Command { std: "docker" "inspect" "b4173d549420b30ae0380d3dfaf154f5ba3dcb97cb1d00912a09164741bc192e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4173d549420b30ae0380d3dfaf154f5ba3dcb97cb1d00912a09164741bc192e", kill_on_drop: false }`
[INFO] [stdout] b4173d549420b30ae0380d3dfaf154f5ba3dcb97cb1d00912a09164741bc192e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a09336f863ed6e5a9a39370141a02cda9c46b791a189af72b4f65ca12c9319a9
[INFO] running `Command { std: "docker" "start" "-a" "a09336f863ed6e5a9a39370141a02cda9c46b791a189af72b4f65ca12c9319a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling scratch_genetic v22.5.23 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "a09336f863ed6e5a9a39370141a02cda9c46b791a189af72b4f65ca12c9319a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a09336f863ed6e5a9a39370141a02cda9c46b791a189af72b4f65ca12c9319a9", kill_on_drop: false }`
[INFO] [stdout] a09336f863ed6e5a9a39370141a02cda9c46b791a189af72b4f65ca12c9319a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 114e7280f9e88374c8d565045e9175f7eb4a0b1c8c61ecb3d7d7a61f5a421139
[INFO] running `Command { std: "docker" "start" "-a" "114e7280f9e88374c8d565045e9175f7eb4a0b1c8c61ecb3d7d7a61f5a421139", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scratch_genetic-53972927d731cd02)
[INFO] [stderr]    Doc-tests scratch_genetic
[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 3 tests
[INFO] [stdout] test src/genetic.rs - genetic::test_and_sort (line 65) ... FAILED
[INFO] [stdout] test src/genetic.rs - genetic::gen_pop (line 30) ... FAILED
[INFO] [stdout] test src/genetic.rs - genetic::reproduce (line 130) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/genetic.rs - genetic::test_and_sort (line 65) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:66:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | for i in 0..NUM_GENS {
[INFO] [stdout]   |             ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to write `.` instead of `..`
[INFO] [stdout]   |
[INFO] [stdout] 3 - for i in 0..NUM_GENS {
[INFO] [stdout] 3 + for i in 0.NUM_GENS {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:67:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("Generation {} / {}", i, NUM_GENS);
[INFO] [stdout]   |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_and_sort` in this scope
[INFO] [stdout]  --> src/genetic.rs:68:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::test_and_sort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:68:24
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `games` in this scope
[INFO] [stdout]  --> src/genetic.rs:68:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `reproduce` in this scope
[INFO] [stdout]  --> src/genetic.rs:69:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::reproduce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:69:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:68:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_65_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:69:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_65_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/genetic.rs - genetic::gen_pop (line 30) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `gen_pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:31:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut pop = gen_pop(
[INFO] [stdout]   |               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::gen_pop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `POP_SIZE` in this scope
[INFO] [stdout]  --> src/genetic.rs:32:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     POP_SIZE,
[INFO] [stdout]   |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LAYER_SIZES` in this scope
[INFO] [stdout]  --> src/genetic.rs:33:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LAYER_SIZES.to_vec(), NUM_INPUTS, NUM_OUTPUTS,
[INFO] [stdout]   |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_INPUTS` in this scope
[INFO] [stdout]  --> src/genetic.rs:33:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LAYER_SIZES.to_vec(), NUM_INPUTS, NUM_OUTPUTS,
[INFO] [stdout]   |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_OUTPUTS` in this scope
[INFO] [stdout]  --> src/genetic.rs:33:39
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LAYER_SIZES.to_vec(), NUM_INPUTS, NUM_OUTPUTS,
[INFO] [stdout]   |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NEURON_ACTIVATION_THRESH` in this scope
[INFO] [stdout]  --> src/genetic.rs:34:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NEURON_ACTIVATION_THRESH, TRAIT_SWAP_CHANCE,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRAIT_SWAP_CHANCE` in this scope
[INFO] [stdout]  --> src/genetic.rs:34:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     NEURON_ACTIVATION_THRESH, TRAIT_SWAP_CHANCE,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WEIGHT_MUTATE_CHANCE` in this scope
[INFO] [stdout]  --> src/genetic.rs:35:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     WEIGHT_MUTATE_CHANCE, WEIGHT_MUTATE_AMOUNT,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WEIGHT_MUTATE_AMOUNT` in this scope
[INFO] [stdout]  --> src/genetic.rs:35:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     WEIGHT_MUTATE_CHANCE, WEIGHT_MUTATE_AMOUNT,
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OFFSET_MUTATE_CHANCE` in this scope
[INFO] [stdout]  --> src/genetic.rs:36:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     OFFSET_MUTATE_CHANCE, OFFSET_MUTATE_AMOUNT
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `OFFSET_MUTATE_AMOUNT` in this scope
[INFO] [stdout]  --> src/genetic.rs:36:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     OFFSET_MUTATE_CHANCE, OFFSET_MUTATE_AMOUNT
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:37:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_30_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | ).await;
[INFO] [stdout]   |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/genetic.rs - genetic::reproduce (line 130) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:131:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | for i in 0..NUM_GENS {
[INFO] [stdout]   |             ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to write `.` instead of `..`
[INFO] [stdout]   |
[INFO] [stdout] 3 - for i in 0..NUM_GENS {
[INFO] [stdout] 3 + for i in 0.NUM_GENS {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NUM_GENS` in this scope
[INFO] [stdout]  --> src/genetic.rs:132:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("Generation {} / {}", i, NUM_GENS);
[INFO] [stdout]   |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_and_sort` in this scope
[INFO] [stdout]  --> src/genetic.rs:133:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::test_and_sort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:133:24
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `games` in this scope
[INFO] [stdout]  --> src/genetic.rs:133:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `reproduce` in this scope
[INFO] [stdout]  --> src/genetic.rs:134:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use scratch_genetic::genetic::reproduce;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pop` in this scope
[INFO] [stdout]  --> src/genetic.rs:134:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:133:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_130_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     test_and_sort(&mut pop, &games).await;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/genetic.rs:134:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_130_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |     reproduce(&mut pop).await;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[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/genetic.rs - genetic::gen_pop (line 30)
[INFO] [stdout]     src/genetic.rs - genetic::reproduce (line 130)
[INFO] [stdout]     src/genetic.rs - genetic::test_and_sort (line 65)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "114e7280f9e88374c8d565045e9175f7eb4a0b1c8c61ecb3d7d7a61f5a421139", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "114e7280f9e88374c8d565045e9175f7eb4a0b1c8c61ecb3d7d7a61f5a421139", kill_on_drop: false }`
[INFO] [stdout] 114e7280f9e88374c8d565045e9175f7eb4a0b1c8c61ecb3d7d7a61f5a421139
