[INFO] cloning repository https://github.com/DavidPav123/soy_bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DavidPav123/soy_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidPav123%2Fsoy_bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidPav123%2Fsoy_bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b40204770f84a503d7ee78bb5e31e631387397ae
[INFO] testing DavidPav123/soy_bot against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidPav123%2Fsoy_bot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DavidPav123/soy_bot
[INFO] finished tweaking git repo https://github.com/DavidPav123/soy_bot
[INFO] tweaked toml for git repo https://github.com/DavidPav123/soy_bot written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DavidPav123/soy_bot on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DavidPav123/soy_bot 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded errno v0.3.14
[INFO] [stderr]   Downloaded tempfile v3.22.0
[INFO] [stderr]   Downloaded lazy-init v0.5.1
[INFO] [stderr]   Downloaded protobuf-codegen v2.28.0
[INFO] [stderr]   Downloaded wit-bindgen v0.45.1
[INFO] [stderr]   Downloaded wasi v0.14.5+wasi-0.2.4
[INFO] [stderr]   Downloaded protoc-rust v2.28.0
[INFO] [stderr]   Downloaded wasip2 v1.0.0+wasi-0.2.4
[INFO] [stderr]   Downloaded protoc v2.28.0
[INFO] [stderr]   Downloaded tungstenite v0.27.0
[INFO] [stderr]   Downloaded rustix v1.1.2
[INFO] [stderr]   Downloaded linux-raw-sys v0.11.0
[INFO] [stderr]   Downloaded indexmap v2.11.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6271afb6341f52df2febee561e597bc37fb2730dd13f746a1ead14c856d47244
[INFO] running `Command { std: "docker" "start" "-a" "6271afb6341f52df2febee561e597bc37fb2730dd13f746a1ead14c856d47244", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6271afb6341f52df2febee561e597bc37fb2730dd13f746a1ead14c856d47244", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6271afb6341f52df2febee561e597bc37fb2730dd13f746a1ead14c856d47244", kill_on_drop: false }`
[INFO] [stdout] 6271afb6341f52df2febee561e597bc37fb2730dd13f746a1ead14c856d47244
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8896b1cfa8e68f226dfee472d42bd9f43bd059041d4fb43d2491544adc647a1d
[INFO] running `Command { std: "docker" "start" "-a" "8896b1cfa8e68f226dfee472d42bd9f43bd059041d4fb43d2491544adc647a1d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling sc2-proto v0.2.3 (/opt/rustwide/workdir/sc2-proto-rs)
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling lazy-init v0.5.1
[INFO] [stderr]    Compiling ndarray v0.16.1
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling indexmap v2.11.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling sc2-proc-macro v1.0.0 (/opt/rustwide/workdir/macro)
[INFO] [stderr]    Compiling tungstenite v0.27.0
[INFO] [stderr]    Compiling sc2-macro v1.0.0 (/opt/rustwide/workdir/sc2-macro)
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling rust-sc2 v1.2.0 (/opt/rustwide/workdir/rust-sc2)
[INFO] [stderr]    Compiling soy_bot v0.1.0 (/opt/rustwide/workdir/soy_bot)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "8896b1cfa8e68f226dfee472d42bd9f43bd059041d4fb43d2491544adc647a1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8896b1cfa8e68f226dfee472d42bd9f43bd059041d4fb43d2491544adc647a1d", kill_on_drop: false }`
[INFO] [stdout] 8896b1cfa8e68f226dfee472d42bd9f43bd059041d4fb43d2491544adc647a1d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfcb0ff10cd7310d4e38c63ae40565a7894df5cbc0c6ac48d791c082537606b5
[INFO] running `Command { std: "docker" "start" "-a" "dfcb0ff10cd7310d4e38c63ae40565a7894df5cbc0c6ac48d791c082537606b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling sc2-proc-macro v1.0.0 (/opt/rustwide/workdir/macro)
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling sc2-proto v0.2.3 (/opt/rustwide/workdir/sc2-proto-rs)
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling sc2-macro v1.0.0 (/opt/rustwide/workdir/sc2-macro)
[INFO] [stderr]    Compiling rust-sc2 v1.2.0 (/opt/rustwide/workdir/rust-sc2)
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling soy_bot v0.1.0 (/opt/rustwide/workdir/soy_bot)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 55.28s
[INFO] running `Command { std: "docker" "inspect" "dfcb0ff10cd7310d4e38c63ae40565a7894df5cbc0c6ac48d791c082537606b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfcb0ff10cd7310d4e38c63ae40565a7894df5cbc0c6ac48d791c082537606b5", kill_on_drop: false }`
[INFO] [stdout] dfcb0ff10cd7310d4e38c63ae40565a7894df5cbc0c6ac48d791c082537606b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b7c8a6265fb1c0a94d70c39b1f178fae20346e443659562676988cdaa5be6b36
[INFO] running `Command { std: "docker" "start" "-a" "b7c8a6265fb1c0a94d70c39b1f178fae20346e443659562676988cdaa5be6b36", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_sc2-7adf9875305964f0)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sc2_macro-fa1cbc36984968f0)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sc2_proc_macro-11bfbf8c891a9f37)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sc2_proto-0e70e80c207c9ca8)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/soy_bot-cbd236fcb5bd5150)
[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 rust_sc2
[INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links`
[INFO] [stderr]    --> rust-sc2/src/lib.rs:322:9
[INFO] [stderr]     |
[INFO] [stderr] 322 | #![deny(broken_intra_doc_links)]
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test rust-sc2/src/consts.rs - consts::TECH_REQUIREMENTS (line 79) ... FAILED
[INFO] [stdout] test rust-sc2/src/bot.rs - bot::Bot::counter (line 510) ... FAILED
[INFO] [stdout] test rust-sc2/src/bot.rs - bot::Bot::counter (line 495) ... FAILED
[INFO] [stdout] test rust-sc2/src/bot.rs - bot::Bot::counter (line 515) ... FAILED
[INFO] [stdout] test rust-sc2/src/bot.rs - bot::Bot::counter (line 505) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - (line 162) ... FAILED
[INFO] [stdout] test rust-sc2/src/bot.rs - bot::Bot::counter (line 500) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - (line 180) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 423) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 427) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 431) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - (line 288) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - (line 217) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - (line 242) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - Request (line 614) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 462) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 510) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 443) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 438) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 517) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 399) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot (line 470) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 497) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 554) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 587) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 569) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - bot_new (line 542) ... FAILED
[INFO] [stdout] test rust-sc2/src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- rust-sc2/src/consts.rs - consts::TECH_REQUIREMENTS (line 79) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `TECH_REQUIREMENTS` in this scope
[INFO] [stdout]  --> rust-sc2/src/consts.rs:80:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | if let Some(requirment) = TECH_REQUIREMENTS.get(unit_type) {
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `unit_type` in this scope
[INFO] [stdout]  --> rust-sc2/src/consts.rs:80:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | if let Some(requirment) = TECH_REQUIREMENTS.get(unit_type) {
[INFO] [stdout]   |                                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/bot.rs - bot::Bot::counter (line 510) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:511:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_bot_rs_510_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let count = self.counter().alias().count(UnitTypeId::Zergling);
[INFO] [stdout]   |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:511:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | let count = self.counter().alias().count(UnitTypeId::Zergling);
[INFO] [stdout]   |                                          ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/bot.rs - bot::Bot::counter (line 495) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:496:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_bot_rs_495_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let count = self.counter().count(UnitTypeId::Marine);
[INFO] [stdout]   |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:496:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | let count = self.counter().count(UnitTypeId::Marine);
[INFO] [stdout]   |                                  ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/bot.rs - bot::Bot::counter (line 515) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:516:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_bot_rs_515_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let count = self.counter().all().tech().count(UnitTypeId::CommandCenter);
[INFO] [stdout]   |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:516:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | let count = self.counter().all().tech().count(UnitTypeId::CommandCenter);
[INFO] [stdout]   |                                               ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/bot.rs - bot::Bot::counter (line 505) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:506:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_bot_rs_505_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let count = self.counter().all().count(UnitTypeId::Nexus);
[INFO] [stdout]   |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:506:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | let count = self.counter().all().count(UnitTypeId::Nexus);
[INFO] [stdout]   |                                        ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - (line 162) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:164:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_162_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | // Iterating bot's barracks which are completed (ready) and not already training (idle).
[INFO] [stdout] 4 | for barrack in self.units.my.structures.iter().of_type(UnitTypeId::Barracks).ready().idle() {
[INFO] [stdout]   |                ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:164:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | for barrack in self.units.my.structures.iter().of_type(UnitTypeId::Barracks).ready().idle() {
[INFO] [stdout]   |                                                        ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:166:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_162_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 6 |     if self.can_afford(UnitTypeId::Marine, true) {
[INFO] [stdout]   |        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:166:24
[INFO] [stdout]   |
[INFO] [stdout] 6 |     if self.can_afford(UnitTypeId::Marine, true) {
[INFO] [stdout]   |                        ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:168:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |         barrack.train(UnitTypeId::Marine, false);
[INFO] [stdout]   |                       ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:170:9
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_162_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 10 |         self.subtract_resources(UnitTypeId::Marine, true);
[INFO] [stdout]    |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:170:33
[INFO] [stdout]    |
[INFO] [stdout] 10 |         self.subtract_resources(UnitTypeId::Marine, true);
[INFO] [stdout]    |                                 ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/bot.rs - bot::Bot::counter (line 500) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:501:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_bot_rs_500_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let count = self.counter().ordered().count(UnitTypeId::SupplyDepot);
[INFO] [stdout]   |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/bot.rs:501:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | let count = self.counter().ordered().count(UnitTypeId::SupplyDepot);
[INFO] [stdout]   |                                            ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - (line 180) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:182:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | // Building near start location, but a bit closer to map center to not accidentally block mineral line.
[INFO] [stdout] 4 | let main_base = self.start_location.towards(self.game_info.map_center, 8.0);
[INFO] [stdout]   |                 ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:182:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | // Building near start location, but a bit closer to map center to not accidentally block mineral line.
[INFO] [stdout] 4 | let main_base = self.start_location.towards(self.game_info.map_center, 8.0);
[INFO] [stdout]   |                                             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:185:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 7 | if self.can_afford(UnitTypeId::Barracks, false)
[INFO] [stdout]   |    ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:185:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | if self.can_afford(UnitTypeId::Barracks, false)
[INFO] [stdout]   |                    ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:187:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 9 |     && self.counter().all().count(UnitTypeId::Barracks) < 5
[INFO] [stdout]   |        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:187:35
[INFO] [stdout]   |
[INFO] [stdout] 9 |     && self.counter().all().count(UnitTypeId::Barracks) < 5
[INFO] [stdout]   |                                   ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:190:29
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 12 |     if let Some(location) = self.find_placement(
[INFO] [stdout]    |                             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:191:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         UnitTypeId::Barracks,
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlacementOptions` in this scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:193:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         PlacementOptions {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::bot::PlacementOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:200:32
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 22 |         if let Some(builder) = self.units
[INFO] [stdout]    |                                ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:207:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |             builder.build(UnitTypeId::Barracks, location, false);
[INFO] [stdout]    |                           ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:209:13
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_180_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 31 |             self.subtract_resources(UnitTypeId::Barracks, false);
[INFO] [stdout]    |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:209:37
[INFO] [stdout]    |
[INFO] [stdout] 31 |             self.subtract_resources(UnitTypeId::Barracks, false);
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 423) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:424:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_423_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | self.whatever_from_bot
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 427) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:428:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_427_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | (*self).whatever_from_bot
[INFO] [stdout]   |   ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 431) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:432:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_431_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | self._bot.whatever_from_bot
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - (line 288) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `run_ladder_game` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:289:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | run_ladder_game(
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::client::run_ladder_game;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:290:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     &mut bot,
[INFO] [stdout]   |          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ladder_server` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:291:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     ladder_server, // Should be 127.0.0.1 by default.
[INFO] [stdout]   |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `game_port` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:292:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     game_port,
[INFO] [stdout]   |     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `start_port` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:293:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     start_port,
[INFO] [stdout]   |     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `opponent_id` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:294:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     opponent_id, // Or `None`.
[INFO] [stdout]   |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - (line 217) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:219:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_217_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | // Checking if we have enough minerals for new expand.
[INFO] [stdout] 4 | if self.can_afford(UnitTypeId::CommandCenter, false)
[INFO] [stdout]   |    ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:219:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | if self.can_afford(UnitTypeId::CommandCenter, false)
[INFO] [stdout]   |                    ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:221:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_217_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 6 |     && self.counter().ordered().count(UnitTypeId::CommandCenter) == 0
[INFO] [stdout]   |        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:221:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |     && self.counter().ordered().count(UnitTypeId::CommandCenter) == 0
[INFO] [stdout]   |                                       ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:224:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_217_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 9 |     if let Some(expansion) = self.get_expansion() {
[INFO] [stdout]   |                              ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:225:32
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_217_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 10 |         if let Some(builder) = self.units
[INFO] [stdout]    |                                ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `location` in this scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:229:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |             .closest(location)
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:232:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |             builder.build(UnitTypeId::CommandCenter, expansion.loc, false);
[INFO] [stdout]    |                           ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:234:13
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_217_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 19 |             self.subtract_resources(UnitTypeId::CommandCenter, false);
[INFO] [stdout]    |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:234:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |             self.subtract_resources(UnitTypeId::CommandCenter, false);
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - (line 242) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:243:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let main_base = self.start_location.towards(self.game_info.map_center, 8.0);
[INFO] [stdout]   |                 ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:243:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let main_base = self.start_location.towards(self.game_info.map_center, 8.0);
[INFO] [stdout]   |                                             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:244:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let main_base = self.start_location.towards(self.game_info.map_center, 8.0);
[INFO] [stdout] 4 | let marines = self.units.my.units.iter().of_type(UnitTypeId::Marine).idle();
[INFO] [stdout]   |               ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:244:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | let marines = self.units.my.units.iter().of_type(UnitTypeId::Marine).idle();
[INFO] [stdout]   |                                                  ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:246:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 6 | if self.counter().count(UnitTypeId::Marine) >= 15 {
[INFO] [stdout]   |    ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:246:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | if self.counter().count(UnitTypeId::Marine) >= 15 {
[INFO] [stdout]   |                         ^^^^^^^^^^ use of undeclared type `UnitTypeId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:247:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 7 |     let targets = &self.units.enemy.all;
[INFO] [stdout]   |                    ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Target`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:250:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |             m.attack(Target::Pos(self.enemy_start), false);
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `Target`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::action::Target;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:250:34
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 10 |             m.attack(Target::Pos(self.enemy_start), false);
[INFO] [stdout]    |                                  ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Target`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:254:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |             m.attack(Target::Tag(targets.closest(m)?.tag()), false);
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `Target`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::action::Target;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:258:19
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 18 |     let targets = self.units.enemy.all.closer(25.0, self.start_location);
[INFO] [stdout]    |                   ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:258:53
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 18 |     let targets = self.units.enemy.all.closer(25.0, self.start_location);
[INFO] [stdout]    |                                                     ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Target`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:261:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |             m.move_to(Target::Pos(self.main_base), false);
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `Target`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::action::Target;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:261:35
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_242_0() {
[INFO] [stdout]    |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 21 |             m.move_to(Target::Pos(self.main_base), false);
[INFO] [stdout]    |                                   ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Target`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:265:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |             m.attack(Target::Tag(targets.closest(m)?.tag()), false);
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `Target`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::action::Target;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - Request (line 614) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:615:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut request = Request::new();
[INFO] [stdout]   |                   ^^^^^^^ use of undeclared type `Request`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_proto::sc2api::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tungstenite::handshake::client::Request;
[INFO] [stdout]   |
[INFO] [stdout]   = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:619:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_rust_sc2_src_lib_rs_614_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 7 | let response = self.api().send(request)?;
[INFO] [stdout]   |                ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 462) stdout ----
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:463:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:465:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     field: Type,
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use protobuf::well_known_types::Type;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type2` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:466:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     field2: Type2,
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 510) stdout ----
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:511:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 443) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:445:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |       _bot: Bot,
[INFO] [stdout]   |             ^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:231:1
[INFO] [stdout]  ::: /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 4 -     _bot: Bot,
[INFO] [stdout] 4 +     _bot: Box,
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot::Bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Deref` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:447:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Deref for MyBot {
[INFO] [stdout]   |      ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ops::Deref;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:448:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |       type Target = Bot;
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:231:1
[INFO] [stdout]  ::: /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 7 -     type Target = Bot;
[INFO] [stdout] 7 +     type Target = Box;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot::Bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `DerefMut` in this scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:454:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl DerefMut for MyBot {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ops::DerefMut;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 438) stdout ----
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:439:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 517) stdout ----
[INFO] [stdout] error: cannot use a comma after the base struct
[INFO] [stdout]   --> rust-sc2/src/lib.rs:531:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             ..Default::default(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the base struct must always be the last field
[INFO] [stdout] help: remove this comma
[INFO] [stdout]    |
[INFO] [stdout] 16 -             ..Default::default(),
[INFO] [stdout] 16 +             ..Default::default()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:518:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:521:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     field: Type,
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use protobuf::well_known_types::Type;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type2` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:522:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     field2: Type2,
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TypeN` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:523:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     field_n: TypeN,
[INFO] [stdout]   |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:529:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |             field: Type::init(),
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Type`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use protobuf::well_known_types::Type;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type2`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:530:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |             field2: Type2::init(),
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Type2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 399) stdout ----
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:400:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `race` on type `&MyBot`
[INFO] [stdout]  --> rust-sc2/src/lib.rs:405:40
[INFO] [stdout]   |
[INFO] [stdout] 8 |         println!("my race: {:?}", self.race);
[INFO] [stdout]   |                                        ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `game_step` found for reference `&MyBot` in the current scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:406:52
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("current \"game_step\": {}", self.game_step());
[INFO] [stdout]   |                                                    ^^^^^^^^^ method not found in `&MyBot`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `chat` found for mutable reference `&mut MyBot` in the current scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:409:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |         self.chat("It works!");
[INFO] [stdout]    |              ^^^^ method not found in `&mut MyBot`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_game_step` found for mutable reference `&mut MyBot` in the current scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:410:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |         self.set_game_step(8);
[INFO] [stdout]    |              ^^^^^^^^^^^^^ method not found in `&mut MyBot`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot (line 470) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:472:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |       _bot: Bot,
[INFO] [stdout]   |             ^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:231:1
[INFO] [stdout]  ::: /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 4 -     _bot: Bot,
[INFO] [stdout] 4 +     _bot: Box,
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot::Bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:473:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     field: Type,
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use protobuf::well_known_types::Type;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type2` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:474:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     field2: Type2,
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Deref` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:476:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Deref for MyBot {
[INFO] [stdout]   |      ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ops::Deref;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:477:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |       type Target = Bot;
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:231:1
[INFO] [stdout]  ::: /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 9 -     type Target = Bot;
[INFO] [stdout] 9 +     type Target = Box;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot::Bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `DerefMut` in this scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:483:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl DerefMut for MyBot {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ops::DerefMut;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 497) stdout ----
[INFO] [stdout] error: cannot find attribute `bot_new` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:502:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[bot_new]
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot_new;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot_new;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:498:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 554) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:556:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |       _bot: Bot,
[INFO] [stdout]   |             ^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:231:1
[INFO] [stdout]  ::: /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 4 -     _bot: Bot,
[INFO] [stdout] 4 +     _bot: Box,
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot::Bot;
[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 E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 587) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:589:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |       _bot: Bot,
[INFO] [stdout]   |             ^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:231:1
[INFO] [stdout]  ::: /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `Box` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 4 -     _bot: Bot,
[INFO] [stdout] 4 +     _bot: Box,
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot::Bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:590:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     field: Type,
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use protobuf::well_known_types::Type;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type2` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:591:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     field2: Type2,
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:598:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |             field: Type::init(),
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Type`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use protobuf::well_known_types::Type;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type2`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:599:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |             field2: Type2::init(),
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Type2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 569) stdout ----
[INFO] [stdout] error: cannot find attribute `bot_new` in this scope
[INFO] [stdout]   --> rust-sc2/src/lib.rs:577:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[bot_new]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]    |
[INFO] [stdout]  2 + use rust_sc2::bot_new;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use sc2_macro::bot_new;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:570:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:572:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     field: Type,
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use protobuf::well_known_types::Type;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Type2` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:573:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     field2: Type2,
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:580:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |             field: Type::init(),
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Type`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use protobuf::well_known_types::Type;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type2`
[INFO] [stdout]   --> rust-sc2/src/lib.rs:581:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |             field2: Type2::init(),
[INFO] [stdout]    |                     ^^^^^ use of undeclared type `Type2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - bot_new (line 542) stdout ----
[INFO] [stdout] error: cannot find attribute `bot_new` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:547:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[bot_new]
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot_new;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot_new;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `bot` in this scope
[INFO] [stdout]  --> rust-sc2/src/lib.rs:543:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[bot]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these attribute macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_sc2::bot;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sc2_macro::bot;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- rust-sc2/src/lib.rs - (line 27) stdout ----
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> rust-sc2/src/lib.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_player_settings(&self) -> PlayerSettings {
[INFO] [stdout]    |                            ^^^^^     -------------- the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_player_settings(&self) -> PlayerSettings<'_> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' panicked at rust-sc2/src/paths.rs:55:17:
[INFO] [stdout] Can't find maps folder in: /root/StarCraftII
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56cc003476e2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56cc003476e2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56cc003476e2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x56cc003476e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x56cc0036fb93 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x56cc0036fb93 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x56cc00344673 - std::io::default_write_fmt::ha27fbccbc65eb6fa
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x56cc00344673 - std::io::Write::write_fmt::h6556609fca33d0b1
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x56cc00347532 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x56cc00348943 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x56cc00348725 - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x56cc00349355 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x56cc003490ea - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   13:     0x56cc00347be9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   14:     0x56cc00348d7d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x56cc0036d7a0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x56cbffca49dc - rust_sc2::paths::get_map_path::h7e662891fe6a715a
[INFO] [stdout]                                at /opt/rustwide/workdir/rust-sc2/src/paths.rs:55:17
[INFO] [stdout]   17:     0x56cbffbd63b5 - rust_sc2::client::RunnerSingle<B>::new::h59b764dbf3efb60e
[INFO] [stdout]   18:     0x56cbffbd6007 - rust_sc2::client::run_vs_computer::hbe1eb98493e973bc
[INFO] [stdout]   19:     0x56cbffbdf528 - rust_out::main::h3f8a673292af7604
[INFO] [stdout]   20:     0x56cbffbcc8a3 - core::ops::function::FnOnce::call_once::h97caf5e20a5e4a36
[INFO] [stdout]   21:     0x56cbffbcc156 - std::sys::backtrace::__rust_begin_short_backtrace::h7fb87a50285bdc40
[INFO] [stdout]   22:     0x56cbffbcc139 - std::rt::lang_start::{{closure}}::h65d7d28009cc4665
[INFO] [stdout]   23:     0x56cc0033eb60 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h638295a043b40957
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21
[INFO] [stdout]   24:     0x56cc0033eb60 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   25:     0x56cc0033eb60 - std::panicking::catch_unwind::h50591d85bf847c7c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   26:     0x56cc0033eb60 - std::panic::catch_unwind::h2487b4c4f2ae22c6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x56cc0033eb60 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x56cc0033eb60 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x56cc0033eb60 - std::panicking::catch_unwind::hf9a822ea043fb0d6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x56cc0033eb60 - std::panic::catch_unwind::h5b3cac802237ed89
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x56cc0033eb60 - std::rt::lang_start_internal::h34f9328d113fd60a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x56cbffbcc121 - std::rt::lang_start::ha228067c56069ddc
[INFO] [stdout]   33:     0x56cbffbdf5e5 - main
[INFO] [stdout]   34:     0x71eb61b821ca - <unknown>
[INFO] [stdout]   35:     0x71eb61b8228b - __libc_start_main
[INFO] [stdout]   36:     0x56cbffbc9f35 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     rust-sc2/src/bot.rs - bot::Bot::counter (line 495)
[INFO] [stdout]     rust-sc2/src/bot.rs - bot::Bot::counter (line 500)
[INFO] [stdout]     rust-sc2/src/bot.rs - bot::Bot::counter (line 505)
[INFO] [stdout]     rust-sc2/src/bot.rs - bot::Bot::counter (line 510)
[INFO] [stdout]     rust-sc2/src/bot.rs - bot::Bot::counter (line 515)
[INFO] [stdout]     rust-sc2/src/consts.rs - consts::TECH_REQUIREMENTS (line 79)
[INFO] [stdout]     rust-sc2/src/lib.rs - (line 162)
[INFO] [stdout]     rust-sc2/src/lib.rs - (line 180)
[INFO] [stdout]     rust-sc2/src/lib.rs - (line 217)
[INFO] [stdout]     rust-sc2/src/lib.rs - (line 242)
[INFO] [stdout]     rust-sc2/src/lib.rs - (line 27)
[INFO] [stdout]     rust-sc2/src/lib.rs - (line 288)
[INFO] [stdout]     rust-sc2/src/lib.rs - Request (line 614)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 399)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 423)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 427)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 431)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 438)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 443)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 462)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot (line 470)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 497)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 510)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 517)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 542)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 554)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 569)
[INFO] [stdout]     rust-sc2/src/lib.rs - bot_new (line 587)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p rust-sc2 --doc`
[INFO] running `Command { std: "docker" "inspect" "b7c8a6265fb1c0a94d70c39b1f178fae20346e443659562676988cdaa5be6b36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7c8a6265fb1c0a94d70c39b1f178fae20346e443659562676988cdaa5be6b36", kill_on_drop: false }`
[INFO] [stdout] b7c8a6265fb1c0a94d70c39b1f178fae20346e443659562676988cdaa5be6b36
