[INFO] fetching crate rust-sc2 1.1.2...
[INFO] testing rust-sc2-1.1.2 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate rust-sc2 1.1.2 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate rust-sc2 1.1.2 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v1.5.0
[INFO] [stderr]   Downloaded sha-1 v0.9.2
[INFO] [stderr]   Downloaded sc2-proc-macro v1.0.0
[INFO] [stderr]   Downloaded sc2-macro v1.0.0
[INFO] [stderr]   Downloaded which v4.0.2
[INFO] [stderr]   Downloaded matrixmultiply v0.3.1
[INFO] [stderr]   Downloaded ndarray v0.15.1
[INFO] [stderr]   Downloaded sc2-proto v0.2.3
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cceb4de58f993515e2fcfdefab1e762e33ca6d89f8336558eec734feba4b80e5
[INFO] running `Command { std: "docker" "start" "-a" "cceb4de58f993515e2fcfdefab1e762e33ca6d89f8336558eec734feba4b80e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cceb4de58f993515e2fcfdefab1e762e33ca6d89f8336558eec734feba4b80e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cceb4de58f993515e2fcfdefab1e762e33ca6d89f8336558eec734feba4b80e5", kill_on_drop: false }`
[INFO] [stdout] cceb4de58f993515e2fcfdefab1e762e33ca6d89f8336558eec734feba4b80e5
[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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91a8876285485237a7e90fe597f5bbed84d52d24abb4defe04f168b8f117ddc8
[INFO] running `Command { std: "docker" "start" "-a" "91a8876285485237a7e90fe597f5bbed84d52d24abb4defe04f168b8f117ddc8", 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 unicode-xid v0.2.1
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling syn v1.0.53
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling protobuf v2.22.1
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling tinyvec v1.1.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling sc2-proto v0.2.3
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[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 cpuid-bool v0.1.2
[INFO] [stderr]    Compiling matrixmultiply v0.3.1
[INFO] [stderr]    Compiling input_buffer v0.4.0
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.16
[INFO] [stderr]    Compiling utf-8 v0.7.5
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling itertools v0.10.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling dirs v3.0.1
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling ndarray v0.15.1
[INFO] [stderr]    Compiling sha-1 v0.9.2
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling url v2.2.0
[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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/unit_typeid.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UnitTypeId`
[INFO] [stdout] 8 | pub enum UnitTypeId {
[INFO] [stdout]   |          ---------- `UnitTypeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/unit_typeid.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UnitTypeId`
[INFO] [stdout] 8 | pub enum UnitTypeId {
[INFO] [stdout]   |          ---------- `UnitTypeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/ability_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AbilityId`
[INFO] [stdout] 8 | pub enum AbilityId {
[INFO] [stdout]   |          --------- `AbilityId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/ability_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AbilityId`
[INFO] [stdout] 8 | pub enum AbilityId {
[INFO] [stdout]   |          --------- `AbilityId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/upgrade_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UpgradeId`
[INFO] [stdout] 8 | pub enum UpgradeId {
[INFO] [stdout]   |          --------- `UpgradeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/upgrade_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UpgradeId`
[INFO] [stdout] 8 | pub enum UpgradeId {
[INFO] [stdout]   |          --------- `UpgradeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/buff_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BuffId`
[INFO] [stdout] 8 | pub enum BuffId {
[INFO] [stdout]   |          ------ `BuffId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/buff_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BuffId`
[INFO] [stdout] 8 | pub enum BuffId {
[INFO] [stdout]   |          ------ `BuffId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/effect_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EffectId`
[INFO] [stdout] 8 | pub enum EffectId {
[INFO] [stdout]   |          -------- `EffectId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/effect_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EffectId`
[INFO] [stdout] 8 | pub enum EffectId {
[INFO] [stdout]   |          -------- `EffectId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pixel_map.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pixel`
[INFO] [stdout] 89 | pub enum Pixel {
[INFO] [stdout]    |          ----- `Pixel` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pixel_map.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Pixel`
[INFO] [stdout] 89 | pub enum Pixel {
[INFO] [stdout]    |          ----- `Pixel` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/pixel_map.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Visibility`
[INFO] [stdout] 113 | pub enum Visibility {
[INFO] [stdout]     |          ---------- `Visibility` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/pixel_map.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Visibility`
[INFO] [stdout] 113 | pub enum Visibility {
[INFO] [stdout]     |          ---------- `Visibility` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/player.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Copy, Clone, FromPrimitive, FromStr)]
[INFO] [stdout]    |                              ^------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `FromPrimitive` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Difficulty`
[INFO] [stdout] 60 | #[enum_from_str(use_primitives)]
[INFO] [stdout] 61 | pub enum Difficulty {
[INFO] [stdout]    |          ---------- `Difficulty` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.97s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sc2-proto v0.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "91a8876285485237a7e90fe597f5bbed84d52d24abb4defe04f168b8f117ddc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91a8876285485237a7e90fe597f5bbed84d52d24abb4defe04f168b8f117ddc8", kill_on_drop: false }`
[INFO] [stdout] 91a8876285485237a7e90fe597f5bbed84d52d24abb4defe04f168b8f117ddc8
[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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ed5041a9c0b9cdb47e7a1d8d42fbe315e9a5903513574467fb66fec97717912
[INFO] running `Command { std: "docker" "start" "-a" "2ed5041a9c0b9cdb47e7a1d8d42fbe315e9a5903513574467fb66fec97717912", 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 bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/unit_typeid.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UnitTypeId`
[INFO] [stdout] 8 | pub enum UnitTypeId {
[INFO] [stdout]   |          ---------- `UnitTypeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/unit_typeid.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UnitTypeId`
[INFO] [stdout] 8 | pub enum UnitTypeId {
[INFO] [stdout]   |          ---------- `UnitTypeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/ability_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AbilityId`
[INFO] [stdout] 8 | pub enum AbilityId {
[INFO] [stdout]   |          --------- `AbilityId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/ability_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AbilityId`
[INFO] [stdout] 8 | pub enum AbilityId {
[INFO] [stdout]   |          --------- `AbilityId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/upgrade_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UpgradeId`
[INFO] [stdout] 8 | pub enum UpgradeId {
[INFO] [stdout]   |          --------- `UpgradeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/upgrade_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UpgradeId`
[INFO] [stdout] 8 | pub enum UpgradeId {
[INFO] [stdout]   |          --------- `UpgradeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/buff_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BuffId`
[INFO] [stdout] 8 | pub enum BuffId {
[INFO] [stdout]   |          ------ `BuffId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/buff_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BuffId`
[INFO] [stdout] 8 | pub enum BuffId {
[INFO] [stdout]   |          ------ `BuffId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/effect_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EffectId`
[INFO] [stdout] 8 | pub enum EffectId {
[INFO] [stdout]   |          -------- `EffectId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/effect_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EffectId`
[INFO] [stdout] 8 | pub enum EffectId {
[INFO] [stdout]   |          -------- `EffectId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pixel_map.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pixel`
[INFO] [stdout] 89 | pub enum Pixel {
[INFO] [stdout]    |          ----- `Pixel` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pixel_map.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Pixel`
[INFO] [stdout] 89 | pub enum Pixel {
[INFO] [stdout]    |          ----- `Pixel` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/pixel_map.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Visibility`
[INFO] [stdout] 113 | pub enum Visibility {
[INFO] [stdout]     |          ---------- `Visibility` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/pixel_map.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Visibility`
[INFO] [stdout] 113 | pub enum Visibility {
[INFO] [stdout]     |          ---------- `Visibility` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/player.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Copy, Clone, FromPrimitive, FromStr)]
[INFO] [stdout]    |                              ^------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `FromPrimitive` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Difficulty`
[INFO] [stdout] 60 | #[enum_from_str(use_primitives)]
[INFO] [stdout] 61 | pub enum Difficulty {
[INFO] [stdout]    |          ---------- `Difficulty` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/unit_typeid.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UnitTypeId`
[INFO] [stdout] 8 | pub enum UnitTypeId {
[INFO] [stdout]   |          ---------- `UnitTypeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/unit_typeid.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UnitTypeId`
[INFO] [stdout] 8 | pub enum UnitTypeId {
[INFO] [stdout]   |          ---------- `UnitTypeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/ability_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AbilityId`
[INFO] [stdout] 8 | pub enum AbilityId {
[INFO] [stdout]   |          --------- `AbilityId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/ability_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AbilityId`
[INFO] [stdout] 8 | pub enum AbilityId {
[INFO] [stdout]   |          --------- `AbilityId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/upgrade_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UpgradeId`
[INFO] [stdout] 8 | pub enum UpgradeId {
[INFO] [stdout]   |          --------- `UpgradeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/upgrade_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UpgradeId`
[INFO] [stdout] 8 | pub enum UpgradeId {
[INFO] [stdout]   |          --------- `UpgradeId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/buff_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BuffId`
[INFO] [stdout] 8 | pub enum BuffId {
[INFO] [stdout]   |          ------ `BuffId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/buff_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BuffId`
[INFO] [stdout] 8 | pub enum BuffId {
[INFO] [stdout]   |          ------ `BuffId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/effect_id.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                 ^------------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `FromPrimitive` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EffectId`
[INFO] [stdout] 8 | pub enum EffectId {
[INFO] [stdout]   |          -------- `EffectId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/ids/effect_id.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                ^----------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `ToPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EffectId`
[INFO] [stdout] 8 | pub enum EffectId {
[INFO] [stdout]   |          -------- `EffectId` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pixel_map.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pixel`
[INFO] [stdout] 89 | pub enum Pixel {
[INFO] [stdout]    |          ----- `Pixel` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pixel_map.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Pixel`
[INFO] [stdout] 89 | pub enum Pixel {
[INFO] [stdout]    |          ----- `Pixel` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/pixel_map.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                 ^------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `FromPrimitive` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Visibility`
[INFO] [stdout] 113 | pub enum Visibility {
[INFO] [stdout]     |          ---------- `Visibility` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/pixel_map.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                                ^----------
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                `ToPrimitive` is not local
[INFO] [stdout]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Visibility`
[INFO] [stdout] 113 | pub enum Visibility {
[INFO] [stdout]     |          ---------- `Visibility` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/player.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Copy, Clone, FromPrimitive, FromStr)]
[INFO] [stdout]    |                              ^------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `FromPrimitive` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Difficulty`
[INFO] [stdout] 60 | #[enum_from_str(use_primitives)]
[INFO] [stdout] 61 | pub enum Difficulty {
[INFO] [stdout]    |          ---------- `Difficulty` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sc2-proto v0.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "2ed5041a9c0b9cdb47e7a1d8d42fbe315e9a5903513574467fb66fec97717912", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ed5041a9c0b9cdb47e7a1d8d42fbe315e9a5903513574467fb66fec97717912", kill_on_drop: false }`
[INFO] [stdout] 2ed5041a9c0b9cdb47e7a1d8d42fbe315e9a5903513574467fb66fec97717912
[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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2c70cd073a2b8a86bf43f612b46f76085064248db3cc9eca2dad9d05b0d8a660
[INFO] running `Command { std: "docker" "start" "-a" "2c70cd073a2b8a86bf43f612b46f76085064248db3cc9eca2dad9d05b0d8a660", 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/unit_typeid.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                 ^------------
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `FromPrimitive` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UnitTypeId`
[INFO] [stderr] 8 | pub enum UnitTypeId {
[INFO] [stderr]   |          ---------- `UnitTypeId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/unit_typeid.rs:7:32
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                                ^----------
[INFO] [stderr]   |                                |
[INFO] [stderr]   |                                `ToPrimitive` is not local
[INFO] [stderr]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UnitTypeId`
[INFO] [stderr] 8 | pub enum UnitTypeId {
[INFO] [stderr]   |          ---------- `UnitTypeId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/ability_id.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                 ^------------
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `FromPrimitive` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AbilityId`
[INFO] [stderr] 8 | pub enum AbilityId {
[INFO] [stderr]   |          --------- `AbilityId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/ability_id.rs:7:32
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                                ^----------
[INFO] [stderr]   |                                |
[INFO] [stderr]   |                                `ToPrimitive` is not local
[INFO] [stderr]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AbilityId`
[INFO] [stderr] 8 | pub enum AbilityId {
[INFO] [stderr]   |          --------- `AbilityId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/upgrade_id.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                 ^------------
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `FromPrimitive` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UpgradeId`
[INFO] [stderr] 8 | pub enum UpgradeId {
[INFO] [stderr]   |          --------- `UpgradeId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/upgrade_id.rs:7:32
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                                ^----------
[INFO] [stderr]   |                                |
[INFO] [stderr]   |                                `ToPrimitive` is not local
[INFO] [stderr]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_UpgradeId`
[INFO] [stderr] 8 | pub enum UpgradeId {
[INFO] [stderr]   |          --------- `UpgradeId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/buff_id.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                 ^------------
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `FromPrimitive` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BuffId`
[INFO] [stderr] 8 | pub enum BuffId {
[INFO] [stderr]   |          ------ `BuffId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/buff_id.rs:7:32
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                                ^----------
[INFO] [stderr]   |                                |
[INFO] [stderr]   |                                `ToPrimitive` is not local
[INFO] [stderr]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_BuffId`
[INFO] [stderr] 8 | pub enum BuffId {
[INFO] [stderr]   |          ------ `BuffId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/effect_id.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                 ^------------
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `FromPrimitive` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EffectId`
[INFO] [stderr] 8 | pub enum EffectId {
[INFO] [stderr]   |          -------- `EffectId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/ids/effect_id.rs:7:32
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq, Hash)]
[INFO] [stderr]   |                                ^----------
[INFO] [stderr]   |                                |
[INFO] [stderr]   |                                `ToPrimitive` is not local
[INFO] [stderr]   |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_EffectId`
[INFO] [stderr] 8 | pub enum EffectId {
[INFO] [stderr]   |          -------- `EffectId` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/pixel_map.rs:88:10
[INFO] [stderr]    |
[INFO] [stderr] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stderr]    |          ^------------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `FromPrimitive` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pixel`
[INFO] [stderr] 89 | pub enum Pixel {
[INFO] [stderr]    |          ----- `Pixel` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/pixel_map.rs:88:25
[INFO] [stderr]    |
[INFO] [stderr] 88 | #[derive(FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stderr]    |                         ^----------
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         `ToPrimitive` is not local
[INFO] [stderr]    |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Pixel`
[INFO] [stderr] 89 | pub enum Pixel {
[INFO] [stderr]    |          ----- `Pixel` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/pixel_map.rs:112:17
[INFO] [stderr]     |
[INFO] [stderr] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stderr]     |                 ^------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 `FromPrimitive` is not local
[INFO] [stderr]     |                 move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Visibility`
[INFO] [stderr] 113 | pub enum Visibility {
[INFO] [stderr]     |          ---------- `Visibility` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/pixel_map.rs:112:32
[INFO] [stderr]     |
[INFO] [stderr] 112 | #[derive(Debug, FromPrimitive, ToPrimitive, Copy, Clone, PartialEq, Eq)]
[INFO] [stderr]     |                                ^----------
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                `ToPrimitive` is not local
[INFO] [stderr]     |                                move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Visibility`
[INFO] [stderr] 113 | pub enum Visibility {
[INFO] [stderr]     |          ---------- `Visibility` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/player.rs:59:30
[INFO] [stderr]    |
[INFO] [stderr] 59 | #[derive(Debug, Copy, Clone, FromPrimitive, FromStr)]
[INFO] [stderr]    |                              ^------------
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              `FromPrimitive` is not local
[INFO] [stderr]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Difficulty`
[INFO] [stderr] 60 | #[enum_from_str(use_primitives)]
[INFO] [stderr] 61 | pub enum Difficulty {
[INFO] [stderr]    |          ---------- `Difficulty` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-sc2` (lib) generated 15 warnings
[INFO] [stderr] warning: `rust-sc2` (lib test) generated 15 warnings (15 duplicates)
[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` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sc2-proto v0.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_sc2-b6508e6f91811f2f)
[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]    --> 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/lib.rs - bot (line 427) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 423) ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 512) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 431) ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 517) ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 507) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 242) ... FAILED
[INFO] [stdout] test src/lib.rs - Request (line 618) ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 502) ... FAILED
[INFO] [stdout] test src/consts.rs - consts::TECH_REQUIREMENTS (line 300) ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::counter (line 497) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 217) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 288) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 399) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 162) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 438) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 443) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 497) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 462) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 558) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 519) ... FAILED
[INFO] [stdout] test src/lib.rs - bot (line 470) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 510) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 546) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 573) ... FAILED
[INFO] [stdout] test src/lib.rs - bot_new (line 591) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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 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] ---- 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 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] ---- src/bot.rs - bot::Bot::counter (line 512) 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[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] 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] ---- 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 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] ---- src/bot.rs - bot::Bot::counter (line 517) 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[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] 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] ---- src/bot.rs - bot::Bot::counter (line 507) 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[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] 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] ---- src/lib.rs - (line 242) 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[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] 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]  --> 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[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] 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]  --> 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]    |                      ^^^^^^ 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]   --> 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]    |                      ^^^^^^ 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]   --> 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]    |                       ^^^^^^ 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]   --> 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]    |                      ^^^^^^ 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] ---- 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]   |                   ^^^^^^^ 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]  --> 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: 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 502) 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[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] 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] ---- src/consts.rs - consts::TECH_REQUIREMENTS (line 300) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `TECH_REQUIREMENTS` in this scope
[INFO] [stdout]  --> src/consts.rs:301: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]  --> src/consts.rs:301: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/bot.rs - bot::Bot::counter (line 497) 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[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] 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] ---- src/lib.rs - (line 217) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[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[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] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + 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] ---- src/lib.rs - (line 180) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + 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]   --> 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[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] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]    |
[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[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] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + 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] ---- 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 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] 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]  --> 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 - (line 162) 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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use rust_sc2::ids::UnitTypeId;
[INFO] [stdout]   |
[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[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] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + 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] ---- 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] 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] ---- 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]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]  ::: /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:237: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: 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 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]  --> src/lib.rs:448:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |       type Target = Bot;
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]  ::: /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:237: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 = 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 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] ---- 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] 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]  --> 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] ---- 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] 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]  --> 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_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]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]  ::: /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:237: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: 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] ---- 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]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the base struct must always be the last field
[INFO] [stdout] help: remove this comma
[INFO] [stdout]    |
[INFO] [stdout] 15 -             ..Default::default(),
[INFO] [stdout] 15 +             ..Default::default()
[INFO] [stdout]    |
[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] 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]  --> 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]    |                    ^^^^ 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]   --> 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: 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] ---- 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]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]  ::: /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:237: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: 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 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]  --> src/lib.rs:477:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |       type Target = Bot;
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]  ::: /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:237: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 = 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 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] ---- 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] 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] ---- 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] 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]  --> src/lib.rs:547: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] ---- 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] 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]  --> src/lib.rs:574: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]  --> 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]    |                    ^^^^ 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]   --> 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: 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_new (line 591) 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]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:234:1
[INFO] [stdout]  ::: /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:237: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: 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]    |                    ^^^^ 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]   --> 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: 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 - (line 27) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] thread 'main' panicked at src/paths.rs:52:17:
[INFO] [stdout] Can't find maps folder in: ~/StarCraftII
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x60a41ecdb0ea - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x60a41ecdb0ea - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x60a41ecdb0ea - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x60a41ecdb0ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x60a41ed02e23 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x60a41ed02e23 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x60a41ecd8083 - std::io::Write::write_fmt::hf1c1dcc8cc1287f0
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x60a41ecdaf32 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x60a41ecdbefc - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x60a41ecdbd42 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:295:9
[INFO] [stdout]   10:     0x60a41ecdc4f7 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:801:13
[INFO] [stdout]   11:     0x60a41ecdc38a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   12:     0x60a41ecdb5c9 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   13:     0x60a41ecdc01c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   14:     0x60a41ed00a40 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   15:     0x60a41e6315ff - rust_sc2::paths::get_map_path::hb6788e3d329b6587
[INFO] [stdout]                                at /opt/rustwide/workdir/src/paths.rs:52:5
[INFO] [stdout]   16:     0x60a41e54514c - rust_sc2::client::RunnerSingle<B>::new::h6556e1cc314f0a01
[INFO] [stdout]   17:     0x60a41e544dd7 - rust_sc2::client::run_vs_computer::had332ae7110af763
[INFO] [stdout]   18:     0x60a41e54db1c - rust_out::main::h18ca330c01019807
[INFO] [stdout]   19:     0x60a41e53c623 - core::ops::function::FnOnce::call_once::h88dc42cfa5c7a6da
[INFO] [stdout]   20:     0x60a41e53bc66 - std::sys::backtrace::__rust_begin_short_backtrace::h69591ead4a50534c
[INFO] [stdout]   21:     0x60a41e53bc49 - std::rt::lang_start::{{closure}}::hd6a70daba0aaa9ec
[INFO] [stdout]   22:     0x60a41ecd5297 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd87d66b906e0ccaf
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:284:13
[INFO] [stdout]   23:     0x60a41ecd5297 - std::panicking::try::do_call::hae3703de71fc9e3a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   24:     0x60a41ecd5297 - std::panicking::try::h1178330e9a2b2645
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   25:     0x60a41ecd5297 - std::panic::catch_unwind::h0acf49d2305d32ad
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   26:     0x60a41ecd5297 - std::rt::lang_start_internal::{{closure}}::h2d95182d798177be
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:48
[INFO] [stdout]   27:     0x60a41ecd5297 - std::panicking::try::do_call::hb506f5bfe11fd30c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x60a41ecd5297 - std::panicking::try::h54d825c46bd0fa95
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x60a41ecd5297 - std::panic::catch_unwind::hffbb0ad20c4e9fac
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x60a41ecd5297 - std::rt::lang_start_internal::h52c291ef1962c925
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:20
[INFO] [stdout]   31:     0x60a41e53bc27 - std::rt::lang_start::h354d47664dc0f7b3
[INFO] [stdout]   32:     0x60a41e54dbd5 - main
[INFO] [stdout]   33:     0x7fa95794dd90 - <unknown>
[INFO] [stdout]   34:     0x7fa95794de40 - __libc_start_main
[INFO] [stdout]   35:     0x60a41e539965 - _start
[INFO] [stdout]   36:                0x0 - <unknown>
[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 300)
[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 1.08s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2c70cd073a2b8a86bf43f612b46f76085064248db3cc9eca2dad9d05b0d8a660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c70cd073a2b8a86bf43f612b46f76085064248db3cc9eca2dad9d05b0d8a660", kill_on_drop: false }`
[INFO] [stdout] 2c70cd073a2b8a86bf43f612b46f76085064248db3cc9eca2dad9d05b0d8a660
