[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 master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehbark%2Fscreen" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mehbark/screen on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing Mehbark/screen against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMehbark%2Fscreen" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mehbark/screen on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "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-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libmath v0.1.4 [INFO] [stderr] Downloaded prime_tools v0.3.4 [INFO] [stderr] Downloaded owo-colors v3.3.0 [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9342fbae46f8b24a6479a71b30a6e89e6c40148ae077a4a0ebaf1f8a2d991416 [INFO] running `Command { std: "docker" "start" "-a" "9342fbae46f8b24a6479a71b30a6e89e6c40148ae077a4a0ebaf1f8a2d991416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9342fbae46f8b24a6479a71b30a6e89e6c40148ae077a4a0ebaf1f8a2d991416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9342fbae46f8b24a6479a71b30a6e89e6c40148ae077a4a0ebaf1f8a2d991416", kill_on_drop: false }` [INFO] [stdout] 9342fbae46f8b24a6479a71b30a6e89e6c40148ae077a4a0ebaf1f8a2d991416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26c77b5417f7813d21f70d907498daa76e63a275a5e44856eb378f166102f3d9 [INFO] running `Command { std: "docker" "start" "-a" "26c77b5417f7813d21f70d907498daa76e63a275a5e44856eb378f166102f3d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [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 eyre v0.6.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling owo-colors v3.3.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand v0.4.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 tracing-error v0.2.0 [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 color-spantrace v0.2.0 [INFO] [stderr] Compiling prime_tools v0.3.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling xcursor v0.3.4 [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)]` 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`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Blinker { [INFO] [stdout] | ------------ associated function in this implementation [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: methods `is_down`, `is_left`, and `is_right` are never used [INFO] [stdout] --> src/components.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Direction { [INFO] [stdout] | -------------- methods in this implementation [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: 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: 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`, `Red`, `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] | ^^^ [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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.01s [INFO] running `Command { std: "docker" "inspect" "26c77b5417f7813d21f70d907498daa76e63a275a5e44856eb378f166102f3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c77b5417f7813d21f70d907498daa76e63a275a5e44856eb378f166102f3d9", kill_on_drop: false }` [INFO] [stdout] 26c77b5417f7813d21f70d907498daa76e63a275a5e44856eb378f166102f3d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95d0294245767b273af7a05fbcac6711d7bbd554d12740969f8f2e2325a3a25b [INFO] running `Command { std: "docker" "start" "-a" "95d0294245767b273af7a05fbcac6711d7bbd554d12740969f8f2e2325a3a25b", 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)]` 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`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Blinker { [INFO] [stdout] | ------------ associated function in this implementation [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: methods `is_down`, `is_left`, and `is_right` are never used [INFO] [stdout] --> src/components.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 60 | impl Direction { [INFO] [stdout] | -------------- methods in this implementation [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: 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: 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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "95d0294245767b273af7a05fbcac6711d7bbd554d12740969f8f2e2325a3a25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d0294245767b273af7a05fbcac6711d7bbd554d12740969f8f2e2325a3a25b", kill_on_drop: false }` [INFO] [stdout] 95d0294245767b273af7a05fbcac6711d7bbd554d12740969f8f2e2325a3a25b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 090c12759dc9304b9cd83d1566b668fd982f1eea75244c8142b8ad8ddd1160c3 [INFO] running `Command { std: "docker" "start" "-a" "090c12759dc9304b9cd83d1566b668fd982f1eea75244c8142b8ad8ddd1160c3", 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)]` 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`, `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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/components.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Blinker { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 32 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `is_down`, `is_left`, and `is_right` are never used [INFO] [stderr] --> src/components.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 60 | impl Direction { [INFO] [stderr] | -------------- methods in this implementation [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: 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: 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 14 warnings (run `cargo fix --bin "clock" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/clock-5a18ff0dd7451d21) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "090c12759dc9304b9cd83d1566b668fd982f1eea75244c8142b8ad8ddd1160c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090c12759dc9304b9cd83d1566b668fd982f1eea75244c8142b8ad8ddd1160c3", kill_on_drop: false }` [INFO] [stdout] 090c12759dc9304b9cd83d1566b668fd982f1eea75244c8142b8ad8ddd1160c3