[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] testing Mehbark/screen against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehbark%2Fscreen" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mehbark/screen on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mehbark/screen 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfdd6169f53773e3c1d51a385ee38472a8b62b7818d3559c1580ab6af6e64f91 [INFO] running `Command { std: "docker" "start" "-a" "bfdd6169f53773e3c1d51a385ee38472a8b62b7818d3559c1580ab6af6e64f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfdd6169f53773e3c1d51a385ee38472a8b62b7818d3559c1580ab6af6e64f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfdd6169f53773e3c1d51a385ee38472a8b62b7818d3559c1580ab6af6e64f91", kill_on_drop: false }` [INFO] [stdout] bfdd6169f53773e3c1d51a385ee38472a8b62b7818d3559c1580ab6af6e64f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75a344fd7bbd6d68c5f679942e2b86c01f1f76201d21af6274ed25ea5bb69e76 [INFO] running `Command { std: "docker" "start" "-a" "75a344fd7bbd6d68c5f679942e2b86c01f1f76201d21af6274ed25ea5bb69e76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling 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] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling owo-colors v3.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling libmath v0.1.4 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling prime_tools v0.3.4 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling color-eyre v0.6.1 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: `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 imports: `Blinker`, `Breather`, `Channel`, `FallingSand`, and `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 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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blinker` is never constructed [INFO] [stdout] --> src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Blinker { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `toggle`, and `is_active` are never used [INFO] [stdout] --> src/components.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Blinker { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Breather` is never constructed [INFO] [stdout] --> src/components.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Breather { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_up`, `is_down`, `is_left`, and `is_right` are never used [INFO] [stdout] --> src/components.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Direction { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_up(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn is_down(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn is_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn is_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl Breather { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 133 | pub fn new(color: u32, channel: Channel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FallingSand` is never constructed [INFO] [stdout] --> src/components.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct FallingSand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_num_sands` are never used [INFO] [stdout] --> src/components.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl FallingSand { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 153 | pub fn new(sands: Vec, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [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: methods `is_available`, `is_in_bounds`, and `sand_move` are never used [INFO] [stdout] --> src/components.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl FallingSand { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 198 | #[must_use] [INFO] [stdout] 199 | fn is_available(&self, pos: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn is_in_bounds(&self, Pos { x, y }: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn sand_move(&self, sand: &Pos) -> Pos { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `step`, `offset`, and `color_direction` are never read [INFO] [stdout] --> src/components.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Laser { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 227 | step: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 228 | offset: Pos, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 229 | color: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/screen/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/screen/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get(&self, Pos { x, y }: Pos) -> Option<&u32> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Channel` is never used [INFO] [stdout] --> src/screen/pixel.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `negative_mask`, `positive_mask`, and `shift` are never used [INFO] [stdout] --> src/screen/pixel.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Channel { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 25 | fn negative_mask(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn positive_mask(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn shift(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RgbaChannel` is never used [INFO] [stdout] --> src/screen/pixel.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait RgbaChannel: Sized + Copy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.62s [INFO] running `Command { std: "docker" "inspect" "75a344fd7bbd6d68c5f679942e2b86c01f1f76201d21af6274ed25ea5bb69e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75a344fd7bbd6d68c5f679942e2b86c01f1f76201d21af6274ed25ea5bb69e76", kill_on_drop: false }` [INFO] [stdout] 75a344fd7bbd6d68c5f679942e2b86c01f1f76201d21af6274ed25ea5bb69e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3f667e52b889531171ecfb170f28a9a0f30a559eecd9d3ee3534cae391c1b2d [INFO] running `Command { std: "docker" "start" "-a" "a3f667e52b889531171ecfb170f28a9a0f30a559eecd9d3ee3534cae391c1b2d", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: `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 imports: `Blinker`, `Breather`, `Channel`, `FallingSand`, and `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 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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blinker` is never constructed [INFO] [stdout] --> src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Blinker { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `toggle`, and `is_active` are never used [INFO] [stdout] --> src/components.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Blinker { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Breather` is never constructed [INFO] [stdout] --> src/components.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Breather { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_up`, `is_down`, `is_left`, and `is_right` are never used [INFO] [stdout] --> src/components.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Direction { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_up(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn is_down(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn is_left(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn is_right(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl Breather { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 133 | pub fn new(color: u32, channel: Channel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FallingSand` is never constructed [INFO] [stdout] --> src/components.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct FallingSand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_num_sands` are never used [INFO] [stdout] --> src/components.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl FallingSand { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 153 | pub fn new(sands: Vec, width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [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: methods `is_available`, `is_in_bounds`, and `sand_move` are never used [INFO] [stdout] --> src/components.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl FallingSand { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 198 | #[must_use] [INFO] [stdout] 199 | fn is_available(&self, pos: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn is_in_bounds(&self, Pos { x, y }: Pos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn sand_move(&self, sand: &Pos) -> Pos { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `step`, `offset`, and `color_direction` are never read [INFO] [stdout] --> src/components.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Laser { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 227 | step: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 228 | offset: Pos, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 229 | color: u32, [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] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/screen/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/screen/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get(&self, Pos { x, y }: Pos) -> Option<&u32> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alpha`, `Green`, and `Blue` are never constructed [INFO] [stdout] --> src/screen/pixel.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Channel { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 17 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | Red, [INFO] [stdout] 19 | Green, [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "a3f667e52b889531171ecfb170f28a9a0f30a559eecd9d3ee3534cae391c1b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f667e52b889531171ecfb170f28a9a0f30a559eecd9d3ee3534cae391c1b2d", kill_on_drop: false }` [INFO] [stdout] a3f667e52b889531171ecfb170f28a9a0f30a559eecd9d3ee3534cae391c1b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e729202b4fef61e3ef4b4ca8b32370b9bf60623e3762e1ff4ca2c8e59f64e88d [INFO] running `Command { std: "docker" "start" "-a" "e729202b4fef61e3ef4b4ca8b32370b9bf60623e3762e1ff4ca2c8e59f64e88d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `components::Direction` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use components::Direction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `prime_tools::is_u32_prime` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use prime_tools::is_u32_prime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Blinker`, `Breather`, `Channel`, `FallingSand`, and `Pixel` [INFO] [stderr] --> src/main.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | components::{Blinker, Breather, FallingSand, Laser}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 15 | screen::{Bounds, Channel, Pixel, Pos, Screen}, [INFO] [stderr] | ^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/components.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `in_bounds` [INFO] [stderr] --> src/screen/mod.rs:95:21 [INFO] [stderr] | [INFO] [stderr] 95 | let in_bounds = self.set_pixel(Pixel { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_bounds` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Blinker` is never constructed [INFO] [stderr] --> src/components.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Blinker { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `toggle`, and `is_active` are never used [INFO] [stderr] --> src/components.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Blinker { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 32 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | fn toggle(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | fn is_active(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Breather` is never constructed [INFO] [stderr] --> src/components.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Breather { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_up`, `is_down`, `is_left`, and `is_right` are never used [INFO] [stderr] --> src/components.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 60 | impl Direction { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | fn is_up(&self) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn is_down(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | fn is_left(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | fn is_right(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/components.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 132 | impl Breather { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 133 | pub fn new(color: u32, channel: Channel) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FallingSand` is never constructed [INFO] [stderr] --> src/components.rs:146:12 [INFO] [stderr] | [INFO] [stderr] 146 | pub struct FallingSand { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_num_sands` are never used [INFO] [stderr] --> src/components.rs:153:12 [INFO] [stderr] | [INFO] [stderr] 152 | impl FallingSand { [INFO] [stderr] | ---------------- associated functions in this implementation [INFO] [stderr] 153 | pub fn new(sands: Vec, width: usize, height: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub fn new_num_sands(num_sands: usize, width: usize, height: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_available`, `is_in_bounds`, and `sand_move` are never used [INFO] [stderr] --> src/components.rs:199:8 [INFO] [stderr] | [INFO] [stderr] 197 | impl FallingSand { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 198 | #[must_use] [INFO] [stderr] 199 | fn is_available(&self, pos: Pos) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 204 | fn is_in_bounds(&self, Pos { x, y }: Pos) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | fn sand_move(&self, sand: &Pos) -> Pos { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `step`, `offset`, and `color_direction` are never read [INFO] [stderr] --> src/components.rs:227:5 [INFO] [stderr] | [INFO] [stderr] 223 | pub struct Laser { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 227 | step: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 228 | offset: Pos, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 229 | color: u32, [INFO] [stderr] 230 | color_direction: Direction, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Laser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `height` is never read [INFO] [stderr] --> src/screen/mod.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Screen { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | height: usize, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/screen/mod.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 43 | impl Screen { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn get(&self, Pos { x, y }: Pos) -> Option<&u32> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Alpha`, `Green`, and `Blue` are never constructed [INFO] [stderr] --> src/screen/pixel.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum Channel { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 17 | Alpha, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 18 | Red, [INFO] [stderr] 19 | Green, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 20 | Blue, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Channel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `clock` (bin "clock" test) generated 18 warnings (run `cargo fix --bin "clock" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/clock-1c84a980201c7908) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test screen::pixel::chanel_lol ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e729202b4fef61e3ef4b4ca8b32370b9bf60623e3762e1ff4ca2c8e59f64e88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e729202b4fef61e3ef4b4ca8b32370b9bf60623e3762e1ff4ca2c8e59f64e88d", kill_on_drop: false }` [INFO] [stdout] e729202b4fef61e3ef4b4ca8b32370b9bf60623e3762e1ff4ca2c8e59f64e88d