[INFO] cloning repository https://github.com/Hopson97/Asciimon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hopson97/Asciimon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHopson97%2FAsciimon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHopson97%2FAsciimon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cf12801839f163eb21e755228e874cec4167d47 [INFO] checking Hopson97/Asciimon against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHopson97%2FAsciimon" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hopson97/Asciimon on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hopson97/Asciimon [INFO] finished tweaking git repo https://github.com/Hopson97/Asciimon [INFO] tweaked toml for git repo https://github.com/Hopson97/Asciimon written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Hopson97/Asciimon 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bbf7f84929857ad1678646c732a1ca0a8cc4a5834666af853380a7c440762e1 [INFO] running `Command { std: "docker" "start" "-a" "4bbf7f84929857ad1678646c732a1ca0a8cc4a5834666af853380a7c440762e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bbf7f84929857ad1678646c732a1ca0a8cc4a5834666af853380a7c440762e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbf7f84929857ad1678646c732a1ca0a8cc4a5834666af853380a7c440762e1", kill_on_drop: false }` [INFO] [stdout] 4bbf7f84929857ad1678646c732a1ca0a8cc4a5834666af853380a7c440762e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d30c3b2943b1cc59c9bbc0f799b6355f90d5a7490964b12ef18557448c3a763 [INFO] running `Command { std: "docker" "start" "-a" "7d30c3b2943b1cc59c9bbc0f799b6355f90d5a7490964b12ef18557448c3a763", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking asciimon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::sprite::Sprite` [INFO] [stdout] --> src/graphics/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::sprite::Sprite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::sprite::Sprite` [INFO] [stdout] --> src/graphics/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::sprite::Sprite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game/world/chunk.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkLoadData` [INFO] [stdout] --> src/game/world/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use self::chunk_loader::{ChunkLoadData, load_chunk, extract_pos_from_path}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game/world/chunk.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkLoadData` [INFO] [stdout] --> src/game/world/mod.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use self::chunk_loader::{ChunkLoadData, load_chunk, extract_pos_from_path}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/game/mod.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/game/mod.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console` [INFO] [stdout] --> src/game/game_state/state_explore.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | fn draw(&mut self, renderer: &mut Renderer, console: &mut Console) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console` [INFO] [stdout] --> src/game/game_state/state_explore.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | fn draw(&mut self, renderer: &mut Renderer, console: &mut Console) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/game/mod.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | Some(UpdateResult::TransitionPush(state)) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/game/mod.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | Some(UpdateResult::TransitionPush(state)) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/graphics/renderer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | size: Vector2D, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `draw_sprite` are never used [INFO] [stdout] --> src/graphics/renderer.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn size(&self) -> Vector2D { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn draw_sprite(&self, section: &str, sprite: &Sprite) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/graphics/renderer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | size: Vector2D, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/graphics/sprite.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `draw_sprite` are never used [INFO] [stdout] --> src/graphics/renderer.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn size(&self) -> Vector2D { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn draw_sprite(&self, section: &str, sprite: &Sprite) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/graphics/sprite.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `square`, and `render_data` are never used [INFO] [stdout] --> src/graphics/sprite.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sprite { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Sprite { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn with_capacity(capacity: usize) -> Sprite { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn square(width: i32, height: i32, fill: char) -> Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render_data(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `square`, and `render_data` are never used [INFO] [stdout] --> src/graphics/sprite.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sprite { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Sprite { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn with_capacity(capacity: usize) -> Sprite { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn square(width: i32, height: i32, fill: char) -> Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render_data(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UI_BACKGROUND` is never used [INFO] [stdout] --> src/game/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | define_colour!(UI_BACKGROUND, 50, 50, 50); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_colour` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO` is never used [INFO] [stdout] --> src/util/vector.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ZERO: Vector2D = Vector2D { x: 0, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UI_BACKGROUND` is never used [INFO] [stdout] --> src/game/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | define_colour!(UI_BACKGROUND, 50, 50, 50); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_colour` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cast` is never used [INFO] [stdout] --> src/util/vector.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Vector2D { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn cast>(self) -> Vector2D { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZERO` is never used [INFO] [stdout] --> src/util/vector.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ZERO: Vector2D = Vector2D { x: 0, y: 0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cast` is never used [INFO] [stdout] --> src/util/vector.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Vector2D { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn cast>(self) -> Vector2D { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics/renderer.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | None => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 146 | | "Tried to render to section which doesn't exist: {}", [INFO] [stdout] 147 | | section [INFO] [stdout] 148 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 145 ~ None => panic!( [INFO] [stdout] 146 | "Tried to render to section which doesn't exist: {}", [INFO] [stdout] 147 | section [INFO] [stdout] 148 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics/renderer.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | None => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 146 | | "Tried to render to section which doesn't exist: {}", [INFO] [stdout] 147 | | section [INFO] [stdout] 148 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 145 ~ None => panic!( [INFO] [stdout] 146 | "Tried to render to section which doesn't exist: {}", [INFO] [stdout] 147 | section [INFO] [stdout] 148 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "7d30c3b2943b1cc59c9bbc0f799b6355f90d5a7490964b12ef18557448c3a763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d30c3b2943b1cc59c9bbc0f799b6355f90d5a7490964b12ef18557448c3a763", kill_on_drop: false }` [INFO] [stdout] 7d30c3b2943b1cc59c9bbc0f799b6355f90d5a7490964b12ef18557448c3a763