[INFO] cloning repository https://github.com/Mehbark/screen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mehbark/screen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehbark%2Fscreen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehbark%2Fscreen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0465a63d9d7cea3e87a833346377ecdac09d7de1 [INFO] checking Mehbark/screen against master#1ab98933fa75d72e882b86feac1a0be3a5b02cb0 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehbark%2Fscreen" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mehbark/screen on toolchain 1ab98933fa75d72e882b86feac1a0be3a5b02cb0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mehbark/screen [INFO] finished tweaking git repo https://github.com/Mehbark/screen [INFO] tweaked toml for git repo https://github.com/Mehbark/screen written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Mehbark/screen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prime_tools v0.3.4 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a30d3d73ca0f986c8795a003929954ae5aa25f179657d426b424357a5a21a753 [INFO] running `Command { std: "docker" "start" "-a" "a30d3d73ca0f986c8795a003929954ae5aa25f179657d426b424357a5a21a753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a30d3d73ca0f986c8795a003929954ae5aa25f179657d426b424357a5a21a753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30d3d73ca0f986c8795a003929954ae5aa25f179657d426b424357a5a21a753", kill_on_drop: false }` [INFO] [stdout] a30d3d73ca0f986c8795a003929954ae5aa25f179657d426b424357a5a21a753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4385bbb93c2fd6a79b6fdc84d0399d3578005f9244dca6946ebff8c2490b17da [INFO] running `Command { std: "docker" "start" "-a" "4385bbb93c2fd6a79b6fdc84d0399d3578005f9244dca6946ebff8c2490b17da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking owo-colors v3.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.1.4 [INFO] [stderr] Checking prime_tools v0.3.4 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking clock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `components::Direction` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use components::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::Direction` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use components::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prime_tools::is_u32_prime` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use prime_tools::is_u32_prime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prime_tools::is_u32_prime` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use prime_tools::is_u32_prime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/components.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/components.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blinker`, `Breather`, `Channel`, `FallingSand`, `Pixel` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | components::{Blinker, Breather, FallingSand, Laser}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 15 | screen::{Bounds, Channel, Pixel, Pos, Screen}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blinker`, `Breather`, `Channel`, `FallingSand`, `Pixel` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | components::{Blinker, Breather, FallingSand, Laser}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 15 | screen::{Bounds, Channel, Pixel, Pos, Screen}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_bounds` [INFO] [stdout] --> src/screen/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let in_bounds = self.set_pixel(Pixel { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_bounds` [INFO] [stdout] --> src/screen/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let in_bounds = self.set_pixel(Pixel { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_down` [INFO] [stdout] --> src/components.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn is_down(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_left` [INFO] [stdout] --> src/components.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_right` [INFO] [stdout] --> src/components.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn is_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(color: u32, channel: Channel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn new(sands: Vec, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_num_sands` [INFO] [stdout] --> src/components.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new_num_sands(num_sands: usize, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step` [INFO] [stdout] --> src/components.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | step: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/components.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/components.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | offset: Pos, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/components.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color_direction` [INFO] [stdout] --> src/components.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | color_direction: Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/components.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/screen/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/screen/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get(&self, Pos { x, y }: Pos) -> Option<&u32> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alpha` [INFO] [stdout] --> src/screen/pixel.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/screen/pixel.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/screen/pixel.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/screen/pixel.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_down` [INFO] [stdout] --> src/components.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn is_down(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_left` [INFO] [stdout] --> src/components.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn is_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_right` [INFO] [stdout] --> src/components.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn is_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(color: u32, channel: Channel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn new(sands: Vec, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_num_sands` [INFO] [stdout] --> src/components.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new_num_sands(num_sands: usize, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `step` [INFO] [stdout] --> src/components.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | step: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/components.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/components.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | offset: Pos, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/components.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color_direction` [INFO] [stdout] --> src/components.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | color_direction: Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/components.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/screen/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/screen/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get(&self, Pos { x, y }: Pos) -> Option<&u32> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alpha` [INFO] [stdout] --> src/screen/pixel.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/screen/pixel.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/screen/pixel.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/pixel.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.90s [INFO] running `Command { std: "docker" "inspect" "4385bbb93c2fd6a79b6fdc84d0399d3578005f9244dca6946ebff8c2490b17da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4385bbb93c2fd6a79b6fdc84d0399d3578005f9244dca6946ebff8c2490b17da", kill_on_drop: false }` [INFO] [stdout] 4385bbb93c2fd6a79b6fdc84d0399d3578005f9244dca6946ebff8c2490b17da