[INFO] cloning repository https://github.com/mjaun/rust-coderoyale [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjaun/rust-coderoyale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjaun%2Frust-coderoyale", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjaun%2Frust-coderoyale'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cdc8c571259b8a80a9e141de29871d711d66fb8 [INFO] checking mjaun/rust-coderoyale against master#6b6610b8bd5112bbb3bd2b73a97250cb06979505 for pr-102713 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjaun%2Frust-coderoyale" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjaun/rust-coderoyale on toolchain 6b6610b8bd5112bbb3bd2b73a97250cb06979505 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mjaun/rust-coderoyale [INFO] finished tweaking git repo https://github.com/mjaun/rust-coderoyale [INFO] tweaked toml for git repo https://github.com/mjaun/rust-coderoyale written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/mjaun/rust-coderoyale already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37c82e81a245b12a714b634d98529df11c14c19f88f67a926ebf52d23c6aa0b8 [INFO] running `Command { std: "docker" "start" "-a" "37c82e81a245b12a714b634d98529df11c14c19f88f67a926ebf52d23c6aa0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37c82e81a245b12a714b634d98529df11c14c19f88f67a926ebf52d23c6aa0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c82e81a245b12a714b634d98529df11c14c19f88f67a926ebf52d23c6aa0b8", kill_on_drop: false }` [INFO] [stdout] 37c82e81a245b12a714b634d98529df11c14c19f88f67a926ebf52d23c6aa0b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+6b6610b8bd5112bbb3bd2b73a97250cb06979505" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f1a745aab3352243b7310811900fbc5372a3139815b501f42d46d84d5d98023 [INFO] running `Command { std: "docker" "start" "-a" "9f1a745aab3352243b7310811900fbc5372a3139815b501f42d46d84d5d98023", kill_on_drop: false }` [INFO] [stderr] Checking code-royale v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `loop_count` is assigned to, but never used [INFO] [stdout] --> main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut loop_count = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_loop_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loop_count` is assigned to, but never used [INFO] [stdout] --> main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut loop_count = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_loop_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> unit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> site.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct TowerStructure { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | owner: Owner, [INFO] [stdout] 16 | health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `comp` is never used [INFO] [stdout] --> point.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn comp(self, other: Vector2) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `proj` is never used [INFO] [stdout] --> point.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn proj(self, other: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_mine` is never used [INFO] [stdout] --> site.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_mine(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mine` is never used [INFO] [stdout] --> site.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn mine(&self) -> &MineStructure { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_site` is never used [INFO] [stdout] --> command.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn for_site(site: &Site, build_type: BuildType) -> BuildCommand { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> unit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> site.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct TowerStructure { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 15 | owner: Owner, [INFO] [stdout] 16 | health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `comp` is never used [INFO] [stdout] --> point.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn comp(self, other: Vector2) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `proj` is never used [INFO] [stdout] --> point.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn proj(self, other: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_mine` is never used [INFO] [stdout] --> site.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn is_mine(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mine` is never used [INFO] [stdout] --> site.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn mine(&self) -> &MineStructure { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_site` is never used [INFO] [stdout] --> command.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn for_site(site: &Site, build_type: BuildType) -> BuildCommand { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "9f1a745aab3352243b7310811900fbc5372a3139815b501f42d46d84d5d98023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1a745aab3352243b7310811900fbc5372a3139815b501f42d46d84d5d98023", kill_on_drop: false }` [INFO] [stdout] 9f1a745aab3352243b7310811900fbc5372a3139815b501f42d46d84d5d98023