[INFO] cloning repository https://github.com/GlobalAstral/Hatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GlobalAstral/Hatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlobalAstral%2FHatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlobalAstral%2FHatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9720a07a705714071a1a520f5ca97b0c8b0896c [INFO] checking GlobalAstral/Hatch against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlobalAstral%2FHatch" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GlobalAstral/Hatch [INFO] finished tweaking git repo https://github.com/GlobalAstral/Hatch [INFO] tweaked toml for git repo https://github.com/GlobalAstral/Hatch written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GlobalAstral/Hatch on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GlobalAstral/Hatch 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 29e365f469ee7eceb33bed4651afef1ad4df9b3a2619ef526a865bf9a97ed436 [INFO] running `Command { std: "docker" "start" "29e365f469ee7eceb33bed4651afef1ad4df9b3a2619ef526a865bf9a97ed436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29e365f469ee7eceb33bed4651afef1ad4df9b3a2619ef526a865bf9a97ed436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29e365f469ee7eceb33bed4651afef1ad4df9b3a2619ef526a865bf9a97ed436" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29e365f469ee7eceb33bed4651afef1ad4df9b3a2619ef526a865bf9a97ed436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "29e365f469ee7eceb33bed4651afef1ad4df9b3a2619ef526a865bf9a97ed436" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking Hatch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::{color::Color, miniquad::conf::Icon, window::Conf}; [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 imports: `Button`, `Grid`, and `Label` [INFO] [stdout] --> src/main.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hatch::{core::Hatch, widgets::{Button, Grid, Label}}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/hatch/types.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, collections::HashMap, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId`, and `collections::HashMap` [INFO] [stdout] --> src/hatch/widgets.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, collections::HashMap, error::Error}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::{color::Color, miniquad::conf::Icon, window::Conf}; [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 imports: `Button`, `Grid`, and `Label` [INFO] [stdout] --> src/main.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hatch::{core::Hatch, widgets::{Button, Grid, Label}}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/hatch/types.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, collections::HashMap, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId`, and `collections::HashMap` [INFO] [stdout] --> src/hatch/widgets.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, collections::HashMap, error::Error}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `font_from_path` is never used [INFO] [stdout] --> src/hatch/types.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn font_from_path(path: &str) -> Font { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/hatch/widgets.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WidgetContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_transform` is never used [INFO] [stdout] --> src/hatch/widgets.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl WidgetContext { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 20 | pub fn with_transform(mut self, transform: Transform) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/hatch/widgets.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/hatch/widgets.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 41 | impl Group { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 42 | pub fn builder() -> GroupBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupBuilder` is never constructed [INFO] [stdout] --> src/hatch/widgets.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct GroupBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `child`, `place`, and `build` are never used [INFO] [stdout] --> src/hatch/widgets.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 54 | impl GroupBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 55 | pub fn child(&mut self, widget: Box) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn place(&mut self, x: f32, y: f32) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn build(self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/hatch/widgets.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hatch/widgets.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 105 | impl Label { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 106 | pub fn builder() -> LabelBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn measure(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn text(&self) -> &String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn line_distance(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn font(&self) -> &Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn font_scale(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn font_scale_aspect(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn font_size(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn rotation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn y(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_text(&mut self, text: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_line_distance(&mut self, line_distance: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn set_font(&mut self, font: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn set_font_scale(&mut self, font_scale: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn set_font_scale_aspect(&mut self, font_scale_aspect: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn set_font_size(&mut self, font_size: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn set_rotation(&mut self, rotation: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn set_x(&mut self, x: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn set_y(&mut self, y: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LabelBuilder` is never constructed [INFO] [stdout] --> src/hatch/widgets.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct LabelBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `line_distance`, `font`, `font_scale`, `font_scale_aspect`, `rotation`, and `build` are never used [INFO] [stdout] --> src/hatch/widgets.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 202 | impl LabelBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 203 | pub fn line_distance(mut self, line_distance: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn font(mut self, font: Font) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn font_scale(mut self, font_scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn font_scale_aspect(mut self, font_scale_aspect: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn rotation(mut self, rotation: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn build(self, text: &str, color: Color, font_size: u16, x: f32, y: f32) -> Box