[INFO] cloning repository https://github.com/Daholli/screeps-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daholli/screeps-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaholli%2Fscreeps-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaholli%2Fscreeps-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 278179ef8f99568b31abe580edb591e5f9ec7c87
[INFO] checking Daholli/screeps-rust against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaholli%2Fscreeps-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Daholli/screeps-rust
[INFO] finished tweaking git repo https://github.com/Daholli/screeps-rust
[INFO] tweaked toml for git repo https://github.com/Daholli/screeps-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Daholli/screeps-rust on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Daholli/screeps-rust 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded screeps-game-api v0.21.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 11524b2d07914b287a0b91c7a66eeaf8fa9cb10a41360a24773239a0a639f579
[INFO] running `Command { std: "docker" "start" "-a" "11524b2d07914b287a0b91c7a66eeaf8fa9cb10a41360a24773239a0a639f579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11524b2d07914b287a0b91c7a66eeaf8fa9cb10a41360a24773239a0a639f579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11524b2d07914b287a0b91c7a66eeaf8fa9cb10a41360a24773239a0a639f579", kill_on_drop: false }`
[INFO] [stdout] 11524b2d07914b287a0b91c7a66eeaf8fa9cb10a41360a24773239a0a639f579
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 369f8ce2831365b22ea392fe01c566bc0d7cf606c51d508893d9ed67aa5b8ceb
[INFO] running `Command { std: "docker" "start" "-a" "369f8ce2831365b22ea392fe01c566bc0d7cf606c51d508893d9ed67aa5b8ceb", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]     Checking fern v0.6.2
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling enum-iterator-derive v1.4.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling enum_dispatch v0.3.13
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.42
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]     Checking enum-iterator v2.1.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]     Checking wasm-bindgen v0.2.92
[INFO] [stderr]     Checking serde v1.0.209
[INFO] [stderr]     Checking js-sys v0.3.69
[INFO] [stderr]     Checking console_error_panic_hook v0.1.7
[INFO] [stderr]     Checking serde-wasm-bindgen v0.6.5
[INFO] [stderr]     Checking web-sys v0.3.69
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.42
[INFO] [stderr]     Checking wasm-bindgen-test v0.3.42
[INFO] [stderr]     Checking screeps-game-api v0.21.3
[INFO] [stderr]     Checking screeps-rust v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `role::*`
[INFO] [stdout]  --> src/movement.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     role::*,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Source`
[INFO] [stdout]  --> src/role/spawn.rs:4:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | use screeps::{find, game, HasPosition, Part, Room, RoomName, Source, Store, StructureSpawn};
[INFO] [stdout]   |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `role::*`
[INFO] [stdout]  --> src/movement.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     role::*,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Source`
[INFO] [stdout]  --> src/role/spawn.rs:4:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | use screeps::{find, game, HasPosition, Part, Room, RoomName, Source, Store, StructureSpawn};
[INFO] [stdout]   |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `HashMap<_, _>`
[INFO] [stdout]   --> src/movement.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut moving_creeps = HashMap::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^   -------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `moving_creeps` an explicit type, where the type for type parameter `K` is specified
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut moving_creeps: HashMap<K, V> = HashMap::new();
[INFO] [stdout]    |                          +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `HashMap<_, _>`
[INFO] [stdout]   --> src/movement.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut moving_creeps = HashMap::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^   -------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `moving_creeps` an explicit type, where the type for type parameter `K` is specified
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut moving_creeps: HashMap<K, V> = HashMap::new();
[INFO] [stdout]    |                          +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/role/harvester.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_roles`
[INFO] [stdout]   --> src/role/harvester.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_roles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spawn`
[INFO] [stdout]   --> src/role/harvester.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn get_body_for_creep(&self, spawn: &StructureSpawn) -> Vec<Part> {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/role/spawn.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spawn`
[INFO] [stdout]   --> src/role/spawn.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_body_for_creep(&self, spawn: &StructureSpawn) -> Vec<Part> {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/role.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_roles`
[INFO] [stdout]   --> src/role.rs:25:40
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_roles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spawn`
[INFO] [stdout]   --> src/role.rs:29:34
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn get_body_for_creep(&self, spawn: &StructureSpawn) -> Vec<Part> {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shard_state`
[INFO] [stdout]   --> src/worker.rs:79:33
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn scan_and_register_creeps(shard_state: &mut ShardState) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shard_state`
[INFO] [stdout]   --> src/worker.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn scan_and_register_structures(shard_state: &mut ShardState) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shard_state`
[INFO] [stdout]   --> src/worker.rs:87:20
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn run_workers(shard_state: &mut ShardState) {
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/role/harvester.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_roles`
[INFO] [stdout]   --> src/role/harvester.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_roles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spawn`
[INFO] [stdout]   --> src/role/harvester.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn get_body_for_creep(&self, spawn: &StructureSpawn) -> Vec<Part> {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/role/spawn.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spawn`
[INFO] [stdout]   --> src/role/spawn.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_body_for_creep(&self, spawn: &StructureSpawn) -> Vec<Part> {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]   --> src/role.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `worker_roles`
[INFO] [stdout]   --> src/role.rs:25:40
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn find_task(&self, store: &Store, worker_roles: &HashSet<WorkerRole>) -> Task {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_roles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spawn`
[INFO] [stdout]   --> src/role.rs:29:34
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn get_body_for_creep(&self, spawn: &StructureSpawn) -> Vec<Part> {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shard_state`
[INFO] [stdout]   --> src/worker.rs:79:33
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn scan_and_register_creeps(shard_state: &mut ShardState) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shard_state`
[INFO] [stdout]   --> src/worker.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn scan_and_register_structures(shard_state: &mut ShardState) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shard_state`
[INFO] [stdout]   --> src/worker.rs:87:20
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn run_workers(shard_state: &mut ShardState) {
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shard_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `screeps-rust` (lib test) due to 1 previous error; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `screeps-rust` (lib) due to 1 previous error; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "369f8ce2831365b22ea392fe01c566bc0d7cf606c51d508893d9ed67aa5b8ceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "369f8ce2831365b22ea392fe01c566bc0d7cf606c51d508893d9ed67aa5b8ceb", kill_on_drop: false }`
[INFO] [stdout] 369f8ce2831365b22ea392fe01c566bc0d7cf606c51d508893d9ed67aa5b8ceb
