[INFO] fetching crate scratch_genetic 22.5.23...
[INFO] testing scratch_genetic-22.5.23 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate scratch_genetic 22.5.23 into /workspace/builds/worker-6-tc2/source
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate scratch_genetic 22.5.23 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 52 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8b4cb8f152f560676232405f50d702f49f7ac539b856a70e608890c80964d0f
[INFO] running `Command { std: "docker" "start" "-a" "e8b4cb8f152f560676232405f50d702f49f7ac539b856a70e608890c80964d0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8b4cb8f152f560676232405f50d702f49f7ac539b856a70e608890c80964d0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8b4cb8f152f560676232405f50d702f49f7ac539b856a70e608890c80964d0f", kill_on_drop: false }`
[INFO] [stdout] e8b4cb8f152f560676232405f50d702f49f7ac539b856a70e608890c80964d0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfa06586cc958798771451a62894956c1744be9bfdfdb0f28a68cc8547ca2518
[INFO] running `Command { std: "docker" "start" "-a" "bfa06586cc958798771451a62894956c1744be9bfdfdb0f28a68cc8547ca2518", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling scratch_genetic v22.5.23 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.56s
[INFO] running `Command { std: "docker" "inspect" "bfa06586cc958798771451a62894956c1744be9bfdfdb0f28a68cc8547ca2518", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfa06586cc958798771451a62894956c1744be9bfdfdb0f28a68cc8547ca2518", kill_on_drop: false }`
[INFO] [stdout] bfa06586cc958798771451a62894956c1744be9bfdfdb0f28a68cc8547ca2518
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d64778f0ff4227898a828746847138d3a41b8df7202a31d84fb41f442ce3dec
[INFO] running `Command { std: "docker" "start" "-a" "0d64778f0ff4227898a828746847138d3a41b8df7202a31d84fb41f442ce3dec", 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 2.29s
[INFO] running `Command { std: "docker" "inspect" "0d64778f0ff4227898a828746847138d3a41b8df7202a31d84fb41f442ce3dec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d64778f0ff4227898a828746847138d3a41b8df7202a31d84fb41f442ce3dec", kill_on_drop: false }`
[INFO] [stdout] 0d64778f0ff4227898a828746847138d3a41b8df7202a31d84fb41f442ce3dec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3bd3279f034cd7bbe058a29e509ba4aa4d7db7eb57a95f0ba39415dc146552ce
[INFO] running `Command { std: "docker" "start" "-a" "3bd3279f034cd7bbe058a29e509ba4aa4d7db7eb57a95f0ba39415dc146552ce", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scratch_genetic-89df304d1cf7d0a2)
[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] 31 | 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] 30 + 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] 32 |     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] 33 |     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] 33 |     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] 33 |     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] 34 |     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] 34 |     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] 35 |     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] 35 |     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] 36 |     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] 36 |     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] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_30_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 37 | ).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] 66 | for i in 0..NUM_GENS {
[INFO] [stdout]    |             ^^^^^^^^ not found in this scope
[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] 67 |     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] 68 |     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] 65 + 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] 68 |     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] 68 |     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] 69 |     reproduce(&mut pop).await;
[INFO] [stdout]    |     ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 65 + 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] 69 |     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] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_65_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 68 |     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] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_65_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 69 |     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] 131 | for i in 0..NUM_GENS {
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[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] 132 |     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] 133 |     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] 130 + 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] 133 |     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] 133 |     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] 134 |     reproduce(&mut pop).await;
[INFO] [stdout]     |     ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 130 + 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] 134 |     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] 130 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_130_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 133 |     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] 130 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_genetic_rs_130_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 134 |     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.19s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3bd3279f034cd7bbe058a29e509ba4aa4d7db7eb57a95f0ba39415dc146552ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bd3279f034cd7bbe058a29e509ba4aa4d7db7eb57a95f0ba39415dc146552ce", kill_on_drop: false }`
[INFO] [stdout] 3bd3279f034cd7bbe058a29e509ba4aa4d7db7eb57a95f0ba39415dc146552ce
