[INFO] cloning repository https://github.com/DanL2015/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanL2015/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanL2015%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanL2015%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a89f974f7cd1bd0198f8ccfc6b3311d904d3aa7 [INFO] checking DanL2015/rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanL2015%2Frust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanL2015/rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanL2015/rust [INFO] finished tweaking git repo https://github.com/DanL2015/rust [INFO] tweaked toml for git repo https://github.com/DanL2015/rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanL2015/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v2.0.0 [INFO] [stderr] Downloaded noise v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0514656664f65cec4fce9249ca15768b222b66522c7efe3c0720dae7e910d7d [INFO] running `Command { std: "docker" "start" "-a" "e0514656664f65cec4fce9249ca15768b222b66522c7efe3c0720dae7e910d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0514656664f65cec4fce9249ca15768b222b66522c7efe3c0720dae7e910d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0514656664f65cec4fce9249ca15768b222b66522c7efe3c0720dae7e910d7d", kill_on_drop: false }` [INFO] [stdout] e0514656664f65cec4fce9249ca15768b222b66522c7efe3c0720dae7e910d7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea2550d150a3742ceebee96290fa006518b9fd5e13fff603a4d7f5d78d18a03b [INFO] running `Command { std: "docker" "start" "-a" "ea2550d150a3742ceebee96290fa006518b9fd5e13fff603a4d7f5d78d18a03b", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mod`, `TimerSubsystem` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::{event::Event, keyboard::{Keycode, Mod}, TimerSubsystem}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render` [INFO] [stdout] --> src/world/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::{pixels::Color, render}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/renderer/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf::Font` [INFO] [stdout] --> src/renderer/renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ttf::Font, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mod`, `Scancode`, `render::Canvas`, `video::Window` [INFO] [stdout] --> src/player/player.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{keyboard::{Keycode, Scancode, Mod}, pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player/player.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] 83 + if p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gui/gui.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{render::{Canvas, self}, video::Window, pixels::Color, ttf::Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gui_Window` should have an upper camel case name [INFO] [stdout] --> src/gui/gui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Gui_Window{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GuiWindow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mod`, `TimerSubsystem` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::{event::Event, keyboard::{Keycode, Mod}, TimerSubsystem}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render` [INFO] [stdout] --> src/world/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::{pixels::Color, render}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/renderer/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf::Font` [INFO] [stdout] --> src/renderer/renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ttf::Font, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mod`, `Scancode`, `render::Canvas`, `video::Window` [INFO] [stdout] --> src/player/player.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{keyboard::{Keycode, Scancode, Mod}, pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player/player.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] 83 + if p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gui/gui.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{render::{Canvas, self}, video::Window, pixels::Color, ttf::Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gui_Window` should have an upper camel case name [INFO] [stdout] --> src/gui/gui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Gui_Window{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GuiWindow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_creator` [INFO] [stdout] --> src/renderer/renderer.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | texture_creator: &TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut texture_creator = canvas.texture_creator(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut font = ttf_context.load_font(font_path, 32).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/world/world.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub symbol: char, //Text symbol drawn on tile (decoration) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/world/world.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_random_tile_id` and `random_load_debug` are never used [INFO] [stdout] --> src/world/world.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_random_tile_id(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn random_load_debug(&mut self, x: (i32, i32), y: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT` is never constructed [INFO] [stdout] --> src/renderer/renderer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Align { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `health`, `stamina`, and `hunger` are never read [INFO] [stdout] --> src/player/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub stamina: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub hunger: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_creator` [INFO] [stdout] --> src/renderer/renderer.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | texture_creator: &TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut texture_creator = canvas.texture_creator(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut font = ttf_context.load_font(font_path, 32).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/world/world.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub symbol: char, //Text symbol drawn on tile (decoration) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/world/world.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_random_tile_id` and `random_load_debug` are never used [INFO] [stdout] --> src/world/world.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_random_tile_id(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn random_load_debug(&mut self, x: (i32, i32), y: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT` is never constructed [INFO] [stdout] --> src/renderer/renderer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Align { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `health`, `stamina`, and `hunger` are never read [INFO] [stdout] --> src/player/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub stamina: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub hunger: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.45s [INFO] running `Command { std: "docker" "inspect" "ea2550d150a3742ceebee96290fa006518b9fd5e13fff603a4d7f5d78d18a03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2550d150a3742ceebee96290fa006518b9fd5e13fff603a4d7f5d78d18a03b", kill_on_drop: false }` [INFO] [stdout] ea2550d150a3742ceebee96290fa006518b9fd5e13fff603a4d7f5d78d18a03b [INFO] checking DanL2015/rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanL2015%2Frust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanL2015/rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanL2015/rust [INFO] finished tweaking git repo https://github.com/DanL2015/rust [INFO] tweaked toml for git repo https://github.com/DanL2015/rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DanL2015/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5de031d9bd705d2a7ce4b2eceea6d7e10dc726bfa3c4c8b745bd85a021dfc88 [INFO] running `Command { std: "docker" "start" "-a" "c5de031d9bd705d2a7ce4b2eceea6d7e10dc726bfa3c4c8b745bd85a021dfc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5de031d9bd705d2a7ce4b2eceea6d7e10dc726bfa3c4c8b745bd85a021dfc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5de031d9bd705d2a7ce4b2eceea6d7e10dc726bfa3c4c8b745bd85a021dfc88", kill_on_drop: false }` [INFO] [stdout] c5de031d9bd705d2a7ce4b2eceea6d7e10dc726bfa3c4c8b745bd85a021dfc88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2838a6d677ac1352827e3e9e051b575e1e60a045abff1b9761cad6bd2bbe4187 [INFO] running `Command { std: "docker" "start" "-a" "2838a6d677ac1352827e3e9e051b575e1e60a045abff1b9761cad6bd2bbe4187", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mod`, `TimerSubsystem` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::{event::Event, keyboard::{Keycode, Mod}, TimerSubsystem}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render` [INFO] [stdout] --> src/world/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::{pixels::Color, render}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/renderer/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf::Font` [INFO] [stdout] --> src/renderer/renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ttf::Font, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mod`, `Scancode`, `render::Canvas`, `video::Window` [INFO] [stdout] --> src/player/player.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{keyboard::{Keycode, Scancode, Mod}, pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player/player.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] 83 + if p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gui/gui.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{render::{Canvas, self}, video::Window, pixels::Color, ttf::Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gui_Window` should have an upper camel case name [INFO] [stdout] --> src/gui/gui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Gui_Window{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GuiWindow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mod`, `TimerSubsystem` [INFO] [stdout] --> src/main.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::{event::Event, keyboard::{Keycode, Mod}, TimerSubsystem}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render` [INFO] [stdout] --> src/world/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::{pixels::Color, render}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/renderer/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttf::Font` [INFO] [stdout] --> src/renderer/renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ttf::Font, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mod`, `Scancode`, `render::Canvas`, `video::Window` [INFO] [stdout] --> src/player/player.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{keyboard::{Keycode, Scancode, Mod}, pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player/player.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right) { [INFO] [stdout] 83 + if p_down <= t_up || p_up >= t_down || p_right <= t_left || p_left >= t_right { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/gui/gui.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{render::{Canvas, self}, video::Window, pixels::Color, ttf::Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gui_Window` should have an upper camel case name [INFO] [stdout] --> src/gui/gui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Gui_Window{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GuiWindow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_creator` [INFO] [stdout] --> src/renderer/renderer.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | texture_creator: &TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_creator` [INFO] [stdout] --> src/renderer/renderer.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | texture_creator: &TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut texture_creator = canvas.texture_creator(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut font = ttf_context.load_font(font_path, 32).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/world/world.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub symbol: char, //Text symbol drawn on tile (decoration) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/world/world.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_random_tile_id` and `random_load_debug` are never used [INFO] [stdout] --> src/world/world.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_random_tile_id(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn random_load_debug(&mut self, x: (i32, i32), y: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT` is never constructed [INFO] [stdout] --> src/renderer/renderer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Align { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `health`, `stamina`, and `hunger` are never read [INFO] [stdout] --> src/player/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub stamina: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub hunger: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut texture_creator = canvas.texture_creator(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut font = ttf_context.load_font(font_path, 32).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/world/world.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub symbol: char, //Text symbol drawn on tile (decoration) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rng` is never read [INFO] [stdout] --> src/world/world.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_random_tile_id` and `random_load_debug` are never used [INFO] [stdout] --> src/world/world.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_random_tile_id(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn random_load_debug(&mut self, x: (i32, i32), y: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT` is never constructed [INFO] [stdout] --> src/renderer/renderer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Align { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `health`, `stamina`, and `hunger` are never read [INFO] [stdout] --> src/player/player.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub health: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub stamina: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub hunger: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "2838a6d677ac1352827e3e9e051b575e1e60a045abff1b9761cad6bd2bbe4187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2838a6d677ac1352827e3e9e051b575e1e60a045abff1b9761cad6bd2bbe4187", kill_on_drop: false }` [INFO] [stdout] 2838a6d677ac1352827e3e9e051b575e1e60a045abff1b9761cad6bd2bbe4187