[INFO] cloning repository https://github.com/CodeyBoi/sc2-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodeyBoi/sc2-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeyBoi%2Fsc2-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeyBoi%2Fsc2-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faed9c202d60702bef077f1c5720cd931ee428bd [INFO] testing CodeyBoi/sc2-bot against 1.85.0 for beta-1.86-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodeyBoi%2Fsc2-bot" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CodeyBoi/sc2-bot on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CodeyBoi/sc2-bot [INFO] finished tweaking git repo https://github.com/CodeyBoi/sc2-bot [INFO] tweaked toml for git repo https://github.com/CodeyBoi/sc2-bot written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CodeyBoi/sc2-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/UltraMachine/rust-sc2` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.17 [INFO] [stderr] Downloaded tinyvec v1.8.0 [INFO] [stderr] Downloaded colorchoice v1.0.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.6 [INFO] [stderr] Downloaded anstyle-wincon v3.0.6 [INFO] [stderr] Downloaded anstream v0.6.18 [INFO] [stderr] Downloaded clap_derive v4.5.18 [INFO] [stderr] Downloaded clap v4.5.20 [INFO] [stderr] Downloaded url v2.5.2 [INFO] [stderr] Downloaded bitflags v2.6.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] [stderr] Downloaded unicode-normalization v0.1.24 [INFO] [stderr] Downloaded clap_builder v4.5.20 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded bytes v1.8.0 [INFO] [stderr] Downloaded log v0.4.22 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded quote v1.0.37 [INFO] [stderr] Downloaded regex v1.11.1 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded syn v2.0.85 [INFO] [stderr] Downloaded idna v0.5.0 [INFO] [stderr] Downloaded sc2-proto v0.2.3 [INFO] [stderr] Downloaded unicode-ident v1.0.13 [INFO] [stderr] Downloaded regex-syntax v0.8.5 [INFO] [stderr] Downloaded tungstenite v0.17.3 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded once_cell v1.20.2 [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded sha-1 v0.10.1 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded anstyle-query v1.1.2 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.1 [INFO] [stderr] Downloaded utf8parse v0.2.2 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] [stderr] Downloaded strsim v0.11.1 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded itoa v1.0.11 [INFO] [stderr] Downloaded cpufeatures v0.2.14 [INFO] [stderr] Downloaded libc v0.2.161 [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded libredox v0.1.3 [INFO] [stderr] Downloaded lazy-init v0.5.1 [INFO] [stderr] Downloaded windows-sys v0.59.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b832d081c02a4e613133ca550fcfe805bb205fcadf2ce2c6112d74bfa28f9045 [INFO] running `Command { std: "docker" "start" "-a" "b832d081c02a4e613133ca550fcfe805bb205fcadf2ce2c6112d74bfa28f9045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b832d081c02a4e613133ca550fcfe805bb205fcadf2ce2c6112d74bfa28f9045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b832d081c02a4e613133ca550fcfe805bb205fcadf2ce2c6112d74bfa28f9045", kill_on_drop: false }` [INFO] [stdout] b832d081c02a4e613133ca550fcfe805bb205fcadf2ce2c6112d74bfa28f9045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74416fe7e9526bdf0fe6d5a9fffdc3686bfd019d090b05ff850e2a4a990b6a80 [INFO] running `Command { std: "docker" "start" "-a" "74416fe7e9526bdf0fe6d5a9fffdc3686bfd019d090b05ff850e2a4a990b6a80", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling sc2-proto v0.2.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy-init v0.5.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sc2-proc-macro v1.0.0 (https://github.com/UltraMachine/rust-sc2#2719b988) [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling sc2-macro v1.0.0 (https://github.com/UltraMachine/rust-sc2#2719b988) [INFO] [stderr] Compiling rust-sc2 v1.2.0 (https://github.com/UltraMachine/rust-sc2#2719b988) [INFO] [stderr] Compiling sc2-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/bot.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let count = self.counter().alias().all().count(unit.type_id()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/bot.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let count = self.counter().alias().all().count(unit.type_id()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `avoid_close_allies` is never used [INFO] [stdout] --> src/army.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl TerranBot { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | fn avoid_close_allies(&self, unit: &Unit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tag` is never used [INFO] [stdout] --> src/bot.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type Tag = u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | NoSuitableLocation(UnitTypeId), [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 123 | NoSuitableLocation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | CannotAfford(UnitTypeId), [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 | CannotAfford(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | UnfulfilledTechRequirement(UnitTypeId), [INFO] [stdout] | -------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 | UnfulfilledTechRequirement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | NoProducer(UnitTypeId), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 | NoProducer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | InvalidArgument(UnitTypeId), [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 | InvalidArgument(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | CannotAffordUpgrade(UpgradeId), [INFO] [stdout] | ------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 130 | CannotAffordUpgrade(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | NoResearcher(UpgradeId), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 | NoResearcher(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [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 9` [INFO] running `Command { std: "docker" "inspect" "74416fe7e9526bdf0fe6d5a9fffdc3686bfd019d090b05ff850e2a4a990b6a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74416fe7e9526bdf0fe6d5a9fffdc3686bfd019d090b05ff850e2a4a990b6a80", kill_on_drop: false }` [INFO] [stdout] 74416fe7e9526bdf0fe6d5a9fffdc3686bfd019d090b05ff850e2a4a990b6a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 245196f27b21cfbee06963450e4732d313b4e187727d9d07f0eec994a93f5860 [INFO] running `Command { std: "docker" "start" "-a" "245196f27b21cfbee06963450e4732d313b4e187727d9d07f0eec994a93f5860", kill_on_drop: false }` [INFO] [stderr] Compiling sc2-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/bot.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | let count = self.counter().alias().all().count(unit.type_id()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/bot.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let count = self.counter().alias().all().count(unit.type_id()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `avoid_close_allies` is never used [INFO] [stdout] --> src/army.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl TerranBot { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | fn avoid_close_allies(&self, unit: &Unit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Tag` is never used [INFO] [stdout] --> src/bot.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type Tag = u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | NoSuitableLocation(UnitTypeId), [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 123 | NoSuitableLocation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | CannotAfford(UnitTypeId), [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 | CannotAfford(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | UnfulfilledTechRequirement(UnitTypeId), [INFO] [stdout] | -------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 126 | UnfulfilledTechRequirement(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | NoProducer(UnitTypeId), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 128 | NoProducer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | InvalidArgument(UnitTypeId), [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 | InvalidArgument(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | CannotAffordUpgrade(UpgradeId), [INFO] [stdout] | ------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 130 | CannotAffordUpgrade(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bot.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | NoResearcher(UpgradeId), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 | NoResearcher(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [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 9` [INFO] running `Command { std: "docker" "inspect" "245196f27b21cfbee06963450e4732d313b4e187727d9d07f0eec994a93f5860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245196f27b21cfbee06963450e4732d313b4e187727d9d07f0eec994a93f5860", kill_on_drop: false }` [INFO] [stdout] 245196f27b21cfbee06963450e4732d313b4e187727d9d07f0eec994a93f5860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6cf019c723c51f9fda7aaf0be8d9871e93d62171c9e5ee389df1809e0b0c063b [INFO] running `Command { std: "docker" "start" "-a" "6cf019c723c51f9fda7aaf0be8d9871e93d62171c9e5ee389df1809e0b0c063b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/bot.rs:86:29 [INFO] [stderr] | [INFO] [stderr] 86 | let count = self.counter().alias().all().count(unit.type_id()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/bot.rs:100:25 [INFO] [stderr] | [INFO] [stderr] 100 | let count = self.counter().alias().all().count(unit.type_id()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: method `avoid_close_allies` is never used [INFO] [stderr] --> src/army.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl TerranBot { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 131 | fn avoid_close_allies(&self, unit: &Unit) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Tag` is never used [INFO] [stderr] --> src/bot.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | type Tag = u64; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:123:24 [INFO] [stderr] | [INFO] [stderr] 123 | NoSuitableLocation(UnitTypeId), [INFO] [stderr] | ------------------ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 123 | NoSuitableLocation(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:124:18 [INFO] [stderr] | [INFO] [stderr] 124 | CannotAfford(UnitTypeId), [INFO] [stderr] | ------------ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 124 | CannotAfford(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:126:32 [INFO] [stderr] | [INFO] [stderr] 126 | UnfulfilledTechRequirement(UnitTypeId), [INFO] [stderr] | -------------------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 126 | UnfulfilledTechRequirement(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | NoProducer(UnitTypeId), [INFO] [stderr] | ---------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 128 | NoProducer(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | InvalidArgument(UnitTypeId), [INFO] [stderr] | --------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 129 | InvalidArgument(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:130:25 [INFO] [stderr] | [INFO] [stderr] 130 | CannotAffordUpgrade(UpgradeId), [INFO] [stderr] | ------------------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 130 | CannotAffordUpgrade(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bot.rs:131:18 [INFO] [stderr] | [INFO] [stderr] 131 | NoResearcher(UpgradeId), [INFO] [stderr] | ------------ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BuildError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 131 | NoResearcher(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `sc2-bot` (bin "sc2-bot" test) generated 11 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [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 9` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sc2_bot-0fc1ed9e32db07a7) [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] running `Command { std: "docker" "inspect" "6cf019c723c51f9fda7aaf0be8d9871e93d62171c9e5ee389df1809e0b0c063b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf019c723c51f9fda7aaf0be8d9871e93d62171c9e5ee389df1809e0b0c063b", kill_on_drop: false }` [INFO] [stdout] 6cf019c723c51f9fda7aaf0be8d9871e93d62171c9e5ee389df1809e0b0c063b