[INFO] cloning repository https://github.com/gordug/space_command [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gordug/space_command" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordug%2Fspace_command", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordug%2Fspace_command'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a5092dda6bae0923ee63501d06ed9ac6cff1940 [INFO] checking gordug/space_command against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordug%2Fspace_command" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/gordug/space_command [INFO] finished tweaking git repo https://github.com/gordug/space_command [INFO] tweaked toml for git repo https://github.com/gordug/space_command written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gordug/space_command on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gordug/space_command 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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76 [INFO] running `Command { std: "docker" "start" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking space_command v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Base { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_explosion_spawn_time` is never used [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Bullet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_explosion_spawn_time(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_spawn_time` is never used [INFO] [stdout] --> src/main.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Explosion { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 76 | pub fn get_spawn_time(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `difficulty` and `grid` are never read [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | grid: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_menu` and `process_input` are never used [INFO] [stdout] --> src/main.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | async fn draw_menu(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | async fn process_input(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_missile_spawn_rate`, `get_missile_rounds`, `get_round`, and `get_explosion_size` are never used [INFO] [stdout] --> src/main.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl Difficulty { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn get_missile_spawn_rate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn get_missile_rounds(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_round(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn get_explosion_size(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Base { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_explosion_spawn_time` is never used [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Bullet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_explosion_spawn_time(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_spawn_time` is never used [INFO] [stdout] --> src/main.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Explosion { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 76 | pub fn get_spawn_time(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `difficulty` and `grid` are never read [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | grid: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_menu` and `process_input` are never used [INFO] [stdout] --> src/main.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | async fn draw_menu(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | async fn process_input(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_missile_spawn_rate`, `get_missile_rounds`, `get_round`, and `get_explosion_size` are never used [INFO] [stdout] --> src/main.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl Difficulty { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn get_missile_spawn_rate(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn get_missile_rounds(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_round(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn get_explosion_size(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rand` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | rand = "0.8.5" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: `space_command` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.47s [INFO] running `Command { std: "docker" "inspect" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76", kill_on_drop: false }` [INFO] [stdout] aeae7d7d41317d25dd3e5a799704f3c8060a3c0a8520626667933df43ef4dd76