[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] testing Daholli/screeps-rust against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaholli%2Fscreeps-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Daholli/screeps-rust on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing Daholli/screeps-rust against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaholli%2Fscreeps-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Daholli/screeps-rust on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-iterator v2.1.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded screeps-game-api v0.21.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfd5dcbafd2a733a1cd3594a7dab3bfa45b380fa0d41c33fc74c0ce0946e12c4 [INFO] running `Command { std: "docker" "start" "-a" "bfd5dcbafd2a733a1cd3594a7dab3bfa45b380fa0d41c33fc74c0ce0946e12c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfd5dcbafd2a733a1cd3594a7dab3bfa45b380fa0d41c33fc74c0ce0946e12c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd5dcbafd2a733a1cd3594a7dab3bfa45b380fa0d41c33fc74c0ce0946e12c4", kill_on_drop: false }` [INFO] [stdout] bfd5dcbafd2a733a1cd3594a7dab3bfa45b380fa0d41c33fc74c0ce0946e12c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3e4f882880bca5b96c753a5004e09ab13b180d4542a8fcaa3bdf5e00df79aab9 [INFO] running `Command { std: "docker" "start" "-a" "3e4f882880bca5b96c753a5004e09ab13b180d4542a8fcaa3bdf5e00df79aab9", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [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 serde_repr v0.1.19 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling enum-iterator v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling screeps-game-api v0.21.3 [INFO] [stderr] Compiling 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] 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 = 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) -> 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) -> 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 { [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) -> 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 { [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) -> 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) -> 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 { [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) due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e4f882880bca5b96c753a5004e09ab13b180d4542a8fcaa3bdf5e00df79aab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4f882880bca5b96c753a5004e09ab13b180d4542a8fcaa3bdf5e00df79aab9", kill_on_drop: false }` [INFO] [stdout] 3e4f882880bca5b96c753a5004e09ab13b180d4542a8fcaa3bdf5e00df79aab9