[INFO] cloning repository https://github.com/arcticrevrus/gamething [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arcticrevrus/gamething" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcticrevrus%2Fgamething", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcticrevrus%2Fgamething'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f0404479a0819c454a503fadd95bee8a2f6727d [INFO] checking arcticrevrus/gamething against master#23718020b12d7e5a54f82a19910e8356ee719667 for pr-146013-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcticrevrus%2Fgamething" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arcticrevrus/gamething [INFO] finished tweaking git repo https://github.com/arcticrevrus/gamething [INFO] tweaked toml for git repo https://github.com/arcticrevrus/gamething written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arcticrevrus/gamething on toolchain 23718020b12d7e5a54f82a19910e8356ee719667 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arcticrevrus/gamething 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" "+23718020b12d7e5a54f82a19910e8356ee719667" "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 serde_derive v1.0.218 [INFO] [stderr] Downloaded ryu v1.0.19 [INFO] [stderr] Downloaded serde v1.0.218 [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded syn v2.0.98 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+23718020b12d7e5a54f82a19910e8356ee719667" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4792a3d48c90a8118b5308e6f692751093c3b572aa39d32c4cf1c2d1f87ac87 [INFO] running `Command { std: "docker" "start" "-a" "a4792a3d48c90a8118b5308e6f692751093c3b572aa39d32c4cf1c2d1f87ac87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4792a3d48c90a8118b5308e6f692751093c3b572aa39d32c4cf1c2d1f87ac87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4792a3d48c90a8118b5308e6f692751093c3b572aa39d32c4cf1c2d1f87ac87", kill_on_drop: false }` [INFO] [stdout] a4792a3d48c90a8118b5308e6f692751093c3b572aa39d32c4cf1c2d1f87ac87 [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=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" "+23718020b12d7e5a54f82a19910e8356ee719667" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 973c11f860caf80639764971bf54b77b06f37d5ba4369b8c94cb1e9ab5c46798 [INFO] running `Command { std: "docker" "start" "-a" "973c11f860caf80639764971bf54b77b06f37d5ba4369b8c94cb1e9ab5c46798", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Checking gamething v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `current_x` [INFO] [stdout] --> src/render.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut current_x: i32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 4 | let mut _current_x: i32 = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_WIDTH` [INFO] [stdout] | [INFO] [stdout] 4 - let mut current_x: i32 = 0; [INFO] [stdout] 4 + let mut MAX_WIDTH: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_y` [INFO] [stdout] --> src/render.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut current_y: i32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 5 | let mut _current_y: i32 = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_WIDTH` [INFO] [stdout] | [INFO] [stdout] 5 - let mut current_y: i32 = 0; [INFO] [stdout] 5 + let mut MAX_WIDTH: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/render.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for object in &playfield.entities {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_x` [INFO] [stdout] --> src/render.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut current_x: i32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 4 | let mut _current_x: i32 = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_WIDTH` [INFO] [stdout] | [INFO] [stdout] 4 - let mut current_x: i32 = 0; [INFO] [stdout] 4 + let mut MAX_WIDTH: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_y` [INFO] [stdout] --> src/render.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut current_y: i32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 5 | let mut _current_y: i32 = 0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_WIDTH` [INFO] [stdout] | [INFO] [stdout] 5 - let mut current_y: i32 = 0; [INFO] [stdout] 5 + let mut MAX_WIDTH: i32 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/render.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for object in &playfield.entities {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut current_x: i32 = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut current_y: i32 = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enemy`, `Item`, and `Water` are never constructed [INFO] [stdout] --> src/objects.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ObjectType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | Wall, [INFO] [stdout] 8 | Enemy(EnemyType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Player, [INFO] [stdout] 10 | Item(ItemType), [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Octorok` and `Dodongo` are never constructed [INFO] [stdout] --> src/objects.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum EnemyType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | Octorok, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Dodongo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnemyType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rupee` and `Heart` are never constructed [INFO] [stdout] --> src/objects.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum ItemType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 22 | Rupee, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Heart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_object`, `take_damage`, and `heal_damage` are never used [INFO] [stdout] --> src/objects.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Objects { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 46 | fn move_object(&mut self, direction: Direction, playfield: PlayField) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn take_damage(&mut self, damage: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn heal_damage(&mut self, healing: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/objects.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 85 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 86 | Down, [INFO] [stdout] 87 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/objects.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn check_collision(object: &Objects, direction: &Direction, playfield: &PlayField) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut current_x: i32 = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut current_y: i32 = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enemy`, `Item`, and `Water` are never constructed [INFO] [stdout] --> src/objects.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ObjectType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | Wall, [INFO] [stdout] 8 | Enemy(EnemyType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Player, [INFO] [stdout] 10 | Item(ItemType), [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Octorok` and `Dodongo` are never constructed [INFO] [stdout] --> src/objects.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum EnemyType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | Octorok, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Dodongo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnemyType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rupee` and `Heart` are never constructed [INFO] [stdout] --> src/objects.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum ItemType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 22 | Rupee, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Heart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_object`, `take_damage`, and `heal_damage` are never used [INFO] [stdout] --> src/objects.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Objects { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 46 | fn move_object(&mut self, direction: Direction, playfield: PlayField) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn take_damage(&mut self, damage: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn heal_damage(&mut self, healing: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/objects.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 85 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 86 | Down, [INFO] [stdout] 87 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/objects.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn check_collision(object: &Objects, direction: &Direction, playfield: &PlayField) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s [INFO] running `Command { std: "docker" "inspect" "973c11f860caf80639764971bf54b77b06f37d5ba4369b8c94cb1e9ab5c46798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973c11f860caf80639764971bf54b77b06f37d5ba4369b8c94cb1e9ab5c46798", kill_on_drop: false }` [INFO] [stdout] 973c11f860caf80639764971bf54b77b06f37d5ba4369b8c94cb1e9ab5c46798