[INFO] fetching crate rust-sc2 1.1.2... [INFO] testing rust-sc2-1.1.2 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate rust-sc2 1.1.2 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate rust-sc2 1.1.2 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-sc2 1.1.2 [INFO] finished tweaking crates.io crate rust-sc2 1.1.2 [INFO] tweaked toml for crates.io crate rust-sc2 1.1.2 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate crates.io crate rust-sc2 1.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27e9015f7cfcf611b1a679996ce2e876705a81755a12a291e6c9f13c63a94673 [INFO] running `Command { std: "docker" "start" "-a" "27e9015f7cfcf611b1a679996ce2e876705a81755a12a291e6c9f13c63a94673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e9015f7cfcf611b1a679996ce2e876705a81755a12a291e6c9f13c63a94673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e9015f7cfcf611b1a679996ce2e876705a81755a12a291e6c9f13c63a94673", kill_on_drop: false }` [INFO] [stdout] 27e9015f7cfcf611b1a679996ce2e876705a81755a12a291e6c9f13c63a94673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4622a2a5bb0a3115a25f610c2d02ee55b919f5122bc5d0770e740031ccab511a [INFO] running `Command { std: "docker" "start" "-a" "4622a2a5bb0a3115a25f610c2d02ee55b919f5122bc5d0770e740031ccab511a", kill_on_drop: false }` [INFO] [stderr] warning: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sc2-proto v0.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling ndarray v0.15.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling sc2-proc-macro v1.0.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling sc2-macro v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling rust-sc2 v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.39s [INFO] running `Command { std: "docker" "inspect" "4622a2a5bb0a3115a25f610c2d02ee55b919f5122bc5d0770e740031ccab511a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4622a2a5bb0a3115a25f610c2d02ee55b919f5122bc5d0770e740031ccab511a", kill_on_drop: false }` [INFO] [stdout] 4622a2a5bb0a3115a25f610c2d02ee55b919f5122bc5d0770e740031ccab511a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01cd9edc4e9bcb83a13bba2ff288b7fcf5e443b8946e53feaae8e90505717a4 [INFO] running `Command { std: "docker" "start" "-a" "c01cd9edc4e9bcb83a13bba2ff288b7fcf5e443b8946e53feaae8e90505717a4", kill_on_drop: false }` [INFO] [stderr] warning: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rust-sc2 v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> examples/events.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | Event::UnitDestroyed(tag, alliance) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/events.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(u) = self.units.my.units.get(tag) { /* your code here */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/events.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/events.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `race` [INFO] [stdout] --> examples/events.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | Event::RandomRaceDetected(race) => { /* your code here */ } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_race` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.58s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_sc2-045e06c5102556bb) [INFO] running `Command { std: "docker" "inspect" "c01cd9edc4e9bcb83a13bba2ff288b7fcf5e443b8946e53feaae8e90505717a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01cd9edc4e9bcb83a13bba2ff288b7fcf5e443b8946e53feaae8e90505717a4", kill_on_drop: false }` [INFO] [stdout] c01cd9edc4e9bcb83a13bba2ff288b7fcf5e443b8946e53feaae8e90505717a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65b9c5c2ec6ce4e15225e5eafbae5cbfd66317dd427381d5064f44d7b1ae9bba [INFO] running `Command { std: "docker" "start" "-a" "65b9c5c2ec6ce4e15225e5eafbae5cbfd66317dd427381d5064f44d7b1ae9bba", kill_on_drop: false }` [INFO] [stderr] warning: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> examples/events.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | Event::UnitDestroyed(tag, alliance) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> examples/events.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | if let Some(u) = self.units.my.units.get(tag) { /* your code here */ } [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> examples/events.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ } [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> examples/events.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ } [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `race` [INFO] [stderr] --> examples/events.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | Event::RandomRaceDetected(race) => { /* your code here */ } [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_race` [INFO] [stderr] [INFO] [stderr] warning: `rust-sc2` (example "events") generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_sc2-045e06c5102556bb) [INFO] [stdout] [INFO] [stderr] Doc-tests rust-sc2 [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] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> /opt/rustwide/workdir/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 src/bot.rs - bot::Bot::counter (line 507) ... FAILED [INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 427) ... FAILED [INFO] [stdout] test src/lib.rs - (line 162) ... FAILED [INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 512) ... FAILED [INFO] [stdout] test src/lib.rs - (line 288) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 423) ... FAILED [INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 502) ... FAILED [INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 517) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 462) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 431) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 443) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 438) ... FAILED [INFO] [stdout] test src/consts.rs - consts::TECH_REQUIREMENTS (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 546) ... FAILED [INFO] [stdout] test src/lib.rs - (line 217) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 558) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 573) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 470) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 591) ... FAILED [INFO] [stdout] test src/lib.rs - Request (line 618) ... FAILED [INFO] [stdout] test src/lib.rs - bot (line 399) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 510) ... FAILED [INFO] [stdout] test src/lib.rs - bot_new (line 519) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/bot.rs - bot::Bot::counter (line 507) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> src/bot.rs:508: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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/bot.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bot_rs_507_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: 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] ---- src/bot.rs - bot::Bot::counter (line 497) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> src/bot.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 3 | let count = self.counter().count(UnitTypeId::Marine); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnitTypeId` [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/bot.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bot_rs_497_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: 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] ---- src/lib.rs - bot (line 427) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:428:3 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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 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] ---- src/lib.rs - (line 162) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_162_0() { [INFO] [stdout] | ------------------------------ this function can't have a `self` parameter [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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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: 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] ---- src/bot.rs - bot::Bot::counter (line 512) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> src/bot.rs:513: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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/bot.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bot_rs_512_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: 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] ---- src/lib.rs - (line 288) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_ladder_game` in this scope [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] ---- src/lib.rs - bot (line 423) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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 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] ---- src/bot.rs - bot::Bot::counter (line 502) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> src/bot.rs:503: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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/bot.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bot_rs_502_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: 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] ---- src/bot.rs - bot::Bot::counter (line 517) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> src/bot.rs:518: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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/bot.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bot_rs_517_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: 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] ---- src/lib.rs - bot (line 462) stdout ---- [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:463:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> 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] --> 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] ---- src/lib.rs - bot (line 431) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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 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] ---- src/lib.rs - bot (line 443) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope [INFO] [stdout] --> src/lib.rs:445:11 [INFO] [stdout] | [INFO] [stdout] 4 | _bot: Bot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [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] --> 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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ops::Deref; [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] --> src/lib.rs:448:19 [INFO] [stdout] | [INFO] [stdout] 7 | type Target = Bot; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [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] --> 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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ops::DerefMut; [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] ---- src/lib.rs - bot (line 438) stdout ---- [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:439:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/consts.rs - consts::TECH_REQUIREMENTS (line 79) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `TECH_REQUIREMENTS` in this scope [INFO] [stdout] --> 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] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 2 | use rust_sc2::consts::TECH_REQUIREMENTS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unit_type` in this scope [INFO] [stdout] --> 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] ---- src/lib.rs - (line 242) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:243:45 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 10 | m.attack(Target::Pos(self.enemy_start), false); [INFO] [stdout] | ^^^^^^ not found in this scope [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] --> src/lib.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 14 | m.attack(Target::Tag(targets.closest(m)?.tag()), false); [INFO] [stdout] | ^^^^^^ not found in this scope [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] --> src/lib.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:258:53 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 21 | m.move_to(Target::Pos(self.main_base), false); [INFO] [stdout] | ^^^^^^ not found in this scope [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] --> src/lib.rs:261:35 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 25 | m.attack(Target::Tag(targets.closest(m)?.tag()), false); [INFO] [stdout] | ^^^^^^ not found in this scope [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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:254:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_242_0() { [INFO] [stdout] | ______________________________________- [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] 5 | | [INFO] [stdout] ... | [INFO] [stdout] 14 | | m.attack(Target::Tag(targets.closest(m)?.tag()), false); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } _doctest_main_src_lib_rs_242_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:265:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_242_0() { [INFO] [stdout] | ______________________________________- [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] 5 | | [INFO] [stdout] ... | [INFO] [stdout] 25 | | m.attack(Target::Tag(targets.closest(m)?.tag()), false); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } _doctest_main_src_lib_rs_242_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0424, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> src/lib.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 13 | UnitTypeId::Barracks, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnitTypeId` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_180_0() { [INFO] [stdout] | ------------------------------ this function can't have a `self` parameter [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] --> src/lib.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_180_0() { [INFO] [stdout] | ------------------------------ this function can't have a `self` parameter [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] --> src/lib.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0422]: cannot find struct, variant or union type `PlacementOptions` in this scope [INFO] [stdout] --> 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] 3 | use rust_sc2::bot::PlacementOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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: 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] ---- src/lib.rs - bot_new (line 546) stdout ---- [INFO] [stdout] error: cannot find attribute `bot_new` in this scope [INFO] [stdout] --> src/lib.rs:551:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[bot_new] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot_new [INFO] [stdout] sc2_macro::bot_new [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:547:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 217) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0433]: failed to resolve: use of undeclared type `UnitTypeId` [INFO] [stdout] --> 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] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_217_0() { [INFO] [stdout] | ------------------------------ this function can't have a `self` parameter [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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:224:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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] --> src/lib.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 14 | .closest(location) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_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: 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] ---- src/lib.rs - bot_new (line 558) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope [INFO] [stdout] --> src/lib.rs:560:11 [INFO] [stdout] | [INFO] [stdout] 4 | _bot: Bot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] | [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[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 10 | _bot: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bot_new (line 573) stdout ---- [INFO] [stdout] error: cannot find attribute `bot_new` in this scope [INFO] [stdout] --> src/lib.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[bot_new] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot_new [INFO] [stdout] sc2_macro::bot_new [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:574:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type2` [INFO] [stdout] --> src/lib.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 14 | field2: Type2::init(), [INFO] [stdout] | ^^^^^ use of undeclared type `Type2` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:576: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] --> src/lib.rs:577: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] --> src/lib.rs:584:20 [INFO] [stdout] | [INFO] [stdout] 13 | field: Type::init(), [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: 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] ---- src/lib.rs - bot (line 470) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope [INFO] [stdout] --> src/lib.rs:472:11 [INFO] [stdout] | [INFO] [stdout] 4 | _bot: Bot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [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] --> 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] --> 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] --> 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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ops::Deref; [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] --> src/lib.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 9 | type Target = Bot; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [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] --> 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 one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ops::DerefMut; [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] ---- src/lib.rs - bot_new (line 497) stdout ---- [INFO] [stdout] error: cannot find attribute `bot_new` in this scope [INFO] [stdout] --> src/lib.rs:502:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[bot_new] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot_new [INFO] [stdout] sc2_macro::bot_new [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:498:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bot_new (line 591) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type2` [INFO] [stdout] --> src/lib.rs:603:21 [INFO] [stdout] | [INFO] [stdout] 14 | field2: Type2::init(), [INFO] [stdout] | ^^^^^ use of undeclared type `Type2` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bot` in this scope [INFO] [stdout] --> src/lib.rs:593:11 [INFO] [stdout] | [INFO] [stdout] 4 | _bot: Bot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [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] --> src/lib.rs:594: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] --> src/lib.rs:595: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] --> src/lib.rs:602:20 [INFO] [stdout] | [INFO] [stdout] 13 | field: Type::init(), [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: 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] ---- src/lib.rs - Request (line 618) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/lib.rs:619:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut request = Request::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [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] 2 | use tungstenite::handshake::server::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:623:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_618_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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:623:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_618_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut request = Request::new(); [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | /* modify request through it's methods */ [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | let response = self.api().send(request)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_618_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0424, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bot (line 399) stdout ---- [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:400:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `race` on type `&MyBot` [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] ---- src/lib.rs - bot_new (line 510) stdout ---- [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:511:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bot_new (line 519) stdout ---- [INFO] [stdout] error: cannot use a comma after the base struct [INFO] [stdout] --> src/lib.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 15 | ..Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- help: remove this comma [INFO] [stdout] | [INFO] [stdout] = note: the base struct must always be the last field [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bot` in this scope [INFO] [stdout] --> src/lib.rs:520:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[bot] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] rust_sc2::bot [INFO] [stdout] sc2_macro::bot [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type2` [INFO] [stdout] --> src/lib.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 14 | field2: Type2::init(), [INFO] [stdout] | ^^^^^ use of undeclared type `Type2` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Type` in this scope [INFO] [stdout] --> src/lib.rs:523: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] --> src/lib.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 6 | field2: Type2, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypeN` in this scope [INFO] [stdout] --> src/lib.rs:525:14 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> src/lib.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 13 | field: Type::init(), [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[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 4 | struct MyBot { [INFO] [stdout] 5 | field: Type, [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'Can't find maps folder in: ~/StarCraftII', src/paths.rs:52:17 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555ba78f992d - std::backtrace_rs::backtrace::libunwind::trace::hf368f6ec047d835e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x555ba78f992d - std::backtrace_rs::backtrace::trace_unsynchronized::h5deaa62eab82df22 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x555ba78f992d - std::sys_common::backtrace::_print_fmt::h5a1c3a24a936a045 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x555ba78f992d - ::fmt::h0219f75f359b565d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x555ba791d1bc - core::fmt::write::hf0ed2ae6b5ba2d7d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x555ba78f4f71 - std::io::Write::write_fmt::h64e4bb98eba3545d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x555ba78faff5 - std::sys_common::backtrace::_print::h733b600962ba33ce [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x555ba78faff5 - std::sys_common::backtrace::print::h5dc0fa0616f7d4bf [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x555ba78faff5 - std::panicking::default_hook::{{closure}}::h3151cab60fd16f06 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x555ba78fac69 - std::panicking::default_hook::ha44b338b782f641e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x555ba78fb6d8 - std::panicking::rust_panic_with_hook::hddbb61d11ae83bc7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x555ba78fb587 - std::panicking::begin_panic_handler::{{closure}}::ha90ba42a51d96fb7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x555ba78f9de4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2f712e9f2c19288 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x555ba78fb2b9 - rust_begin_unwind [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x555ba791b313 - core::panicking::panic_fmt::ha7e9b4e73b08c9d5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x555ba711d50b - rust_sc2::paths::get_map_path::h1604cb15a8d74f08 [INFO] [stdout] at /opt/rustwide/workdir/src/paths.rs:52:5 [INFO] [stdout] 16: 0x555ba703f388 - rust_sc2::client::RunnerSingle::new::h19650258be10b604 [INFO] [stdout] 17: 0x555ba703efa2 - rust_sc2::client::run_vs_computer::h76d94b6d13b0a7c1 [INFO] [stdout] 18: 0x555ba704780e - rust_out::main::hcc8563875aea3f06 [INFO] [stdout] 19: 0x555ba70306c6 - core::ops::function::FnOnce::call_once::h5b44ea23e4530b81 [INFO] [stdout] 20: 0x555ba702fd89 - std::sys_common::backtrace::__rust_begin_short_backtrace::he9f53f237173122c [INFO] [stdout] 21: 0x555ba702fefc - std::rt::lang_start::{{closure}}::h5d9972600af6dc8b [INFO] [stdout] 22: 0x555ba78f1b4e - core::ops::function::impls:: for &F>::call_once::h6b608e082e6b5f94 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:280:13 [INFO] [stdout] 23: 0x555ba78f1b4e - std::panicking::try::do_call::h22acf7e0e6515d43 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x555ba78f1b4e - std::panicking::try::h41444899bb1baa07 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x555ba78f1b4e - std::panic::catch_unwind::h233a14c808596082 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x555ba78f1b4e - std::rt::lang_start_internal::{{closure}}::h98f48e984d2e6a79 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x555ba78f1b4e - std::panicking::try::do_call::h5472eef8c1e4cebc [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x555ba78f1b4e - std::panicking::try::h4271f85906dc2292 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x555ba78f1b4e - std::panic::catch_unwind::h303d73f8e1b8f3af [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x555ba78f1b4e - std::rt::lang_start_internal::h830ad10f96684e4b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x555ba702fee1 - std::rt::lang_start::h59486a2c4ddc87fa [INFO] [stdout] 32: 0x555ba70478c3 - main [INFO] [stdout] 33: 0x7f50b9c220b3 - __libc_start_main [INFO] [stdout] 34: 0x555ba702d4ae - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bot.rs - bot::Bot::counter (line 497) [INFO] [stdout] src/bot.rs - bot::Bot::counter (line 502) [INFO] [stdout] src/bot.rs - bot::Bot::counter (line 507) [INFO] [stdout] src/bot.rs - bot::Bot::counter (line 512) [INFO] [stdout] src/bot.rs - bot::Bot::counter (line 517) [INFO] [stdout] src/consts.rs - consts::TECH_REQUIREMENTS (line 79) [INFO] [stdout] src/lib.rs - (line 162) [INFO] [stdout] src/lib.rs - (line 180) [INFO] [stdout] src/lib.rs - (line 217) [INFO] [stdout] src/lib.rs - (line 242) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 288) [INFO] [stdout] src/lib.rs - Request (line 618) [INFO] [stdout] src/lib.rs - bot (line 399) [INFO] [stdout] src/lib.rs - bot (line 423) [INFO] [stdout] src/lib.rs - bot (line 427) [INFO] [stdout] src/lib.rs - bot (line 431) [INFO] [stdout] src/lib.rs - bot (line 438) [INFO] [stdout] src/lib.rs - bot (line 443) [INFO] [stdout] src/lib.rs - bot (line 462) [INFO] [stdout] src/lib.rs - bot (line 470) [INFO] [stdout] src/lib.rs - bot_new (line 497) [INFO] [stdout] src/lib.rs - bot_new (line 510) [INFO] [stdout] src/lib.rs - bot_new (line 519) [INFO] [stdout] src/lib.rs - bot_new (line 546) [INFO] [stdout] src/lib.rs - bot_new (line 558) [INFO] [stdout] src/lib.rs - bot_new (line 573) [INFO] [stdout] src/lib.rs - bot_new (line 591) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.71s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65b9c5c2ec6ce4e15225e5eafbae5cbfd66317dd427381d5064f44d7b1ae9bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65b9c5c2ec6ce4e15225e5eafbae5cbfd66317dd427381d5064f44d7b1ae9bba", kill_on_drop: false }` [INFO] [stdout] 65b9c5c2ec6ce4e15225e5eafbae5cbfd66317dd427381d5064f44d7b1ae9bba