[INFO] cloning repository https://github.com/Cathyprime/rust_gui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cathyprime/rust_gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCathyprime%2Frust_gui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCathyprime%2Frust_gui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63c339783243e9292d98d6cc354cdb2730a15da3 [INFO] testing Cathyprime/rust_gui against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCathyprime%2Frust_gui" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Cathyprime/rust_gui [INFO] finished tweaking git repo https://github.com/Cathyprime/rust_gui [INFO] tweaked toml for git repo https://github.com/Cathyprime/rust_gui written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cathyprime/rust_gui on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Cathyprime/rust_gui 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.13.0 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded wide v0.7.25 [INFO] [stderr] Downloaded safe_arch v0.7.2 [INFO] [stderr] Downloaded ttf-parser v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcd9f2f2102e3467afaec215a955a046cd7d975b92a2b48193f85bc84e875cef [INFO] running `Command { std: "docker" "start" "-a" "fcd9f2f2102e3467afaec215a955a046cd7d975b92a2b48193f85bc84e875cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcd9f2f2102e3467afaec215a955a046cd7d975b92a2b48193f85bc84e875cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd9f2f2102e3467afaec215a955a046cd7d975b92a2b48193f85bc84e875cef", kill_on_drop: false }` [INFO] [stdout] fcd9f2f2102e3467afaec215a955a046cd7d975b92a2b48193f85bc84e875cef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42af3e4672a9766fbedaceb2127c85eeb0af42052a0b228e5fa1a55cd6d7793f [INFO] running `Command { std: "docker" "start" "-a" "42af3e4672a9766fbedaceb2127c85eeb0af42052a0b228e5fa1a55cd6d7793f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling ttf-parser v0.24.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling wide v0.7.25 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling pixels v0.13.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling test_gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Grayscale` is never constructed [INFO] [stdout] --> src/types.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Grayscale { [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 function `new` is never used [INFO] [stdout] --> src/types.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 34 | impl Grayscale { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(scale: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/types.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 147 | width: u32, [INFO] [stdout] 148 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 171 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(width: u32, height: u32, window: &winit::window::Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn resize_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn pixels(&self) -> &Pixels { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn pixels_mut(&mut self) -> &mut Pixels { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_rgba(&self, idx: (usize, usize)) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn set_by_index(&mut self, index: usize, color: impl Color) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_background` is never used [INFO] [stdout] --> src/types.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 280 | impl<'a> FrameBuilder<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn with_background(mut self, color: impl Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap_value` is never used [INFO] [stdout] --> src/types.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn remap_value(value: T, from: (T, T), to: (T, T)) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resize_buffer`, `pixels`, `pixels_mut`, `get_rgba`, and `set` are never used [INFO] [stdout] --> src/types.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 171 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(width: u32, height: u32, window: &winit::window::Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn resize_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn pixels(&self) -> &Pixels { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn pixels_mut(&mut self) -> &mut Pixels { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_rgba(&self, idx: (usize, usize)) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn set(&mut self, width: usize, height: usize, color: &impl Color) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "42af3e4672a9766fbedaceb2127c85eeb0af42052a0b228e5fa1a55cd6d7793f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42af3e4672a9766fbedaceb2127c85eeb0af42052a0b228e5fa1a55cd6d7793f", kill_on_drop: false }` [INFO] [stdout] 42af3e4672a9766fbedaceb2127c85eeb0af42052a0b228e5fa1a55cd6d7793f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9be8a209a301f0c284a210be8669700c342f03626c2143d648e2ea3cf5891f87 [INFO] running `Command { std: "docker" "start" "-a" "9be8a209a301f0c284a210be8669700c342f03626c2143d648e2ea3cf5891f87", kill_on_drop: false }` [INFO] [stderr] Compiling test_gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new`, `resize_buffer`, `pixels`, `pixels_mut`, `get_rgba`, and `set` are never used [INFO] [stdout] --> src/types.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 171 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(width: u32, height: u32, window: &winit::window::Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn resize_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn pixels(&self) -> &Pixels { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn pixels_mut(&mut self) -> &mut Pixels { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_rgba(&self, idx: (usize, usize)) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn set(&mut self, width: usize, height: usize, color: &impl Color) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grayscale` is never constructed [INFO] [stdout] --> src/types.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Grayscale { [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 function `new` is never used [INFO] [stdout] --> src/types.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 34 | impl Grayscale { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(scale: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/types.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 147 | width: u32, [INFO] [stdout] 148 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 171 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(width: u32, height: u32, window: &winit::window::Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn resize_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn pixels(&self) -> &Pixels { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn pixels_mut(&mut self) -> &mut Pixels { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_rgba(&self, idx: (usize, usize)) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn set_by_index(&mut self, index: usize, color: impl Color) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_background` is never used [INFO] [stdout] --> src/types.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 280 | impl<'a> FrameBuilder<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn with_background(mut self, color: impl Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap_value` is never used [INFO] [stdout] --> src/types.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn remap_value(value: T, from: (T, T), to: (T, T)) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "9be8a209a301f0c284a210be8669700c342f03626c2143d648e2ea3cf5891f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be8a209a301f0c284a210be8669700c342f03626c2143d648e2ea3cf5891f87", kill_on_drop: false }` [INFO] [stdout] 9be8a209a301f0c284a210be8669700c342f03626c2143d648e2ea3cf5891f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebddfe02e8303f1aa5a3acf45b70834dd51a17be9fd2c5a408e2bedd79e1a2ec [INFO] running `Command { std: "docker" "start" "-a" "ebddfe02e8303f1aa5a3acf45b70834dd51a17be9fd2c5a408e2bedd79e1a2ec", kill_on_drop: false }` [INFO] [stderr] warning: associated items `new`, `resize_buffer`, `pixels`, `pixels_mut`, `get_rgba`, and `set` are never used [INFO] [stderr] --> src/types.rs:172:16 [INFO] [stderr] | [INFO] [stderr] 171 | impl Frame { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 172 | pub fn new(width: u32, height: u32, window: &winit::window::Window) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | pub fn resize_buffer( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | pub fn pixels(&self) -> &Pixels { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | pub fn pixels_mut(&mut self) -> &mut Pixels { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 225 | pub fn get_rgba(&self, idx: (usize, usize)) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 236 | pub fn set(&mut self, width: usize, height: usize, color: &impl Color) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Grayscale` is never constructed [INFO] [stderr] --> src/types.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Grayscale { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/types.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 34 | impl Grayscale { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 35 | pub fn new(scale: u8) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `height` is never read [INFO] [stderr] --> src/types.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 146 | pub struct Frame { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 147 | width: u32, [INFO] [stderr] 148 | height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/types.rs:172:16 [INFO] [stderr] | [INFO] [stderr] 171 | impl Frame { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 172 | pub fn new(width: u32, height: u32, window: &winit::window::Window) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | pub fn resize_buffer( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | pub fn width(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | pub fn height(&self) -> u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | pub fn pixels(&self) -> &Pixels { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | pub fn pixels_mut(&mut self) -> &mut Pixels { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 225 | pub fn get_rgba(&self, idx: (usize, usize)) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 250 | pub fn set_by_index(&mut self, index: usize, color: impl Color) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_background` is never used [INFO] [stderr] --> src/types.rs:305:16 [INFO] [stderr] | [INFO] [stderr] 280 | impl<'a> FrameBuilder<'a> { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 305 | pub fn with_background(mut self, color: impl Color) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remap_value` is never used [INFO] [stderr] --> src/types.rs:341:12 [INFO] [stderr] | [INFO] [stderr] 341 | pub fn remap_value(value: T, from: (T, T), to: (T, T)) -> T [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `test_gui` (bin "mandelbrot" test) generated 1 warning [INFO] [stderr] warning: `test_gui` (bin "test_gui" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/mandelbrot.rs (/opt/rustwide/target/debug/deps/mandelbrot-84e6ba1515d66cb3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/test_gui-88012718b2341cf0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebddfe02e8303f1aa5a3acf45b70834dd51a17be9fd2c5a408e2bedd79e1a2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebddfe02e8303f1aa5a3acf45b70834dd51a17be9fd2c5a408e2bedd79e1a2ec", kill_on_drop: false }` [INFO] [stdout] ebddfe02e8303f1aa5a3acf45b70834dd51a17be9fd2c5a408e2bedd79e1a2ec