[INFO] fetching crate rust-sc2 1.1.2...
[INFO] checking rust-sc2-1.1.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate rust-sc2 1.1.2 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate rust-sc2 1.1.2 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-4-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" "+5518eaa946291f00471af8b254b2a1715f234882" "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 percent-encoding v2.1.0
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded matches v0.1.8
[INFO] [stderr]   Downloaded cloudabi v0.1.0
[INFO] [stderr]   Downloaded tinyvec v1.1.0
[INFO] [stderr]   Downloaded instant v0.1.9
[INFO] [stderr]   Downloaded lock_api v0.4.2
[INFO] [stderr]   Downloaded rand_core v0.6.2
[INFO] [stderr]   Downloaded rand_hc v0.3.0
[INFO] [stderr]   Downloaded smallvec v1.5.0
[INFO] [stderr]   Downloaded indexmap v1.6.0
[INFO] [stderr]   Downloaded itertools v0.10.0
[INFO] [stderr]   Downloaded ndarray v0.15.1
[INFO] [stderr]   Downloaded syn v1.0.53
[INFO] [stderr]   Downloaded idna v0.2.0
[INFO] [stderr]   Downloaded rayon-core v1.9.0
[INFO] [stderr]   Downloaded rayon v1.5.0
[INFO] [stderr]   Downloaded tungstenite v0.13.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.16
[INFO] [stderr]   Downloaded rand v0.8.3
[INFO] [stderr]   Downloaded maplit v1.0.2
[INFO] [stderr]   Downloaded parking_lot v0.11.1
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.0
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.1
[INFO] [stderr]   Downloaded parking_lot_core v0.8.0
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded num-complex v0.4.0
[INFO] [stderr]   Downloaded getrandom v0.2.2
[INFO] [stderr]   Downloaded bytes v1.0.1
[INFO] [stderr]   Downloaded url v2.2.0
[INFO] [stderr]   Downloaded protobuf-codegen v2.22.1
[INFO] [stderr]   Downloaded rand_chacha v0.3.0
[INFO] [stderr]   Downloaded num_cpus v1.13.0
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.0
[INFO] [stderr]   Downloaded sha-1 v0.9.2
[INFO] [stderr]   Downloaded generic-array v0.14.4
[INFO] [stderr]   Downloaded either v1.6.1
[INFO] [stderr]   Downloaded const_fn v0.4.3
[INFO] [stderr]   Downloaded scopeguard v1.1.0
[INFO] [stderr]   Downloaded memoffset v0.6.1
[INFO] [stderr]   Downloaded dirs v3.0.1
[INFO] [stderr]   Downloaded which v4.0.2
[INFO] [stderr]   Downloaded protoc v2.22.1
[INFO] [stderr]   Downloaded sc2-macro v1.0.0
[INFO] [stderr]   Downloaded input_buffer v0.4.0
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded form_urlencoded v1.0.0
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.0
[INFO] [stderr]   Downloaded protoc-rust v2.22.1
[INFO] [stderr]   Downloaded cpuid-bool v0.1.2
[INFO] [stderr]   Downloaded utf-8 v0.7.5
[INFO] [stderr]   Downloaded sc2-proc-macro v1.0.0
[INFO] [stderr]   Downloaded http v0.2.1
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded unicode-bidi v0.3.4
[INFO] [stderr]   Downloaded matrixmultiply v0.3.1
[INFO] [stderr]   Downloaded protobuf v2.22.1
[INFO] [stderr]   Downloaded sc2-proto v0.2.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf6224006383d13970f5405afba47e9df4baa9615f879fb221276d0ecf69734b
[INFO] running `Command { std: "docker" "start" "-a" "bf6224006383d13970f5405afba47e9df4baa9615f879fb221276d0ecf69734b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf6224006383d13970f5405afba47e9df4baa9615f879fb221276d0ecf69734b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf6224006383d13970f5405afba47e9df4baa9615f879fb221276d0ecf69734b", kill_on_drop: false }`
[INFO] [stdout] bf6224006383d13970f5405afba47e9df4baa9615f879fb221276d0ecf69734b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ce7f9e82ec9253b714aa9018b91a2c17a3c8f6eea924fac1653d0af587b5e80
[INFO] running `Command { std: "docker" "start" "-a" "1ce7f9e82ec9253b714aa9018b91a2c17a3c8f6eea924fac1653d0af587b5e80", 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 memchr v2.3.4
[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 getrandom v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling protobuf v2.22.1
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking form_urlencoded v1.0.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling sc2-proto v0.2.3
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking matrixmultiply v0.3.1
[INFO] [stderr]     Checking input_buffer v0.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]     Checking dirs v3.0.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking ndarray v0.15.1
[INFO] [stderr]     Checking sha-1 v0.9.2
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling sc2-proc-macro v1.0.0
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking tungstenite v0.13.0
[INFO] [stderr]     Checking sc2-macro v1.0.0
[INFO] [stderr]     Checking rust-sc2 v1.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `tag`
[INFO] [stdout]   --> examples/events.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |             Event::UnitDestroyed(tag, alliance) => {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_tag`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> examples/events.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 if let Some(u) = self.units.my.units.get(tag) { /* your code here */ }
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> examples/events.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ }
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> examples/events.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ }
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `race`
[INFO] [stdout]   --> examples/events.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Event::RandomRaceDetected(race) => { /* your code here */ }
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_race`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.18s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "1ce7f9e82ec9253b714aa9018b91a2c17a3c8f6eea924fac1653d0af587b5e80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ce7f9e82ec9253b714aa9018b91a2c17a3c8f6eea924fac1653d0af587b5e80", kill_on_drop: false }`
[INFO] [stdout] 1ce7f9e82ec9253b714aa9018b91a2c17a3c8f6eea924fac1653d0af587b5e80
[INFO] checking rust-sc2-1.1.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate rust-sc2 1.1.2 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate rust-sc2 1.1.2 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-4-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffe3bc2685a78a2312ddd0605d2aa2be33f24e6e86dbc83fb9fb62a853ffbb53
[INFO] running `Command { std: "docker" "start" "-a" "ffe3bc2685a78a2312ddd0605d2aa2be33f24e6e86dbc83fb9fb62a853ffbb53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffe3bc2685a78a2312ddd0605d2aa2be33f24e6e86dbc83fb9fb62a853ffbb53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffe3bc2685a78a2312ddd0605d2aa2be33f24e6e86dbc83fb9fb62a853ffbb53", kill_on_drop: false }`
[INFO] [stdout] ffe3bc2685a78a2312ddd0605d2aa2be33f24e6e86dbc83fb9fb62a853ffbb53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 414dbdea09af843f4c36f1283243780b264dadbc76a205940eebeec1574fd853
[INFO] running `Command { std: "docker" "start" "-a" "414dbdea09af843f4c36f1283243780b264dadbc76a205940eebeec1574fd853", 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 memchr v2.3.4
[INFO] [stderr]    Compiling syn v1.0.53
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling protobuf v2.22.1
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking form_urlencoded v1.0.0
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling sc2-proto v0.2.3
[INFO] [stderr]     Checking input_buffer v0.4.0
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]     Checking matrixmultiply v0.3.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking dirs v3.0.1
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking ndarray v0.15.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha-1 v0.9.2
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling sc2-proc-macro v1.0.0
[INFO] [stderr]     Checking sc2-macro v1.0.0
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking tungstenite v0.13.0
[INFO] [stderr]     Checking rust-sc2 v1.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_UnitTypeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_UnitTypeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_AbilityId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_AbilityId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_UpgradeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_UpgradeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_BuffId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_BuffId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_EffectId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_EffectId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Pixel`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Pixel`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Visibility`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Visibility`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/player.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Copy, Clone, FromPrimitive, FromStr)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Difficulty`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-sc2` (lib test) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_UnitTypeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_UnitTypeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_AbilityId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_AbilityId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_UpgradeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_UpgradeId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_BuffId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_BuffId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_EffectId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_EffectId`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Pixel`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Pixel`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Visibility`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[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]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Visibility`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/player.rs:59:30
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, Copy, Clone, FromPrimitive, FromStr)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Difficulty`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-sc2` (lib) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "414dbdea09af843f4c36f1283243780b264dadbc76a205940eebeec1574fd853", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "414dbdea09af843f4c36f1283243780b264dadbc76a205940eebeec1574fd853", kill_on_drop: false }`
[INFO] [stdout] 414dbdea09af843f4c36f1283243780b264dadbc76a205940eebeec1574fd853
