[INFO] cloning repository https://github.com/skubed0007/ruty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skubed0007/ruty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskubed0007%2Fruty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskubed0007%2Fruty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94531399bff33cba2e0556a12ffd0ff238c6e160 [INFO] building skubed0007/ruty against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskubed0007%2Fruty" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skubed0007/ruty [INFO] finished tweaking git repo https://github.com/skubed0007/ruty [INFO] tweaked toml for git repo https://github.com/skubed0007/ruty written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skubed0007/ruty on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skubed0007/ruty 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded winres v0.1.12 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded avif-serialize v0.8.3 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded zune-jpeg v0.4.16 [INFO] [stderr] Downloaded ravif v0.11.12 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf7c5d25fcd0590c53aaf89b9ccb8b23eca0fb2ae224b5255613adb271e62ce1 [INFO] running `Command { std: "docker" "start" "-a" "cf7c5d25fcd0590c53aaf89b9ccb8b23eca0fb2ae224b5255613adb271e62ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf7c5d25fcd0590c53aaf89b9ccb8b23eca0fb2ae224b5255613adb271e62ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7c5d25fcd0590c53aaf89b9ccb8b23eca0fb2ae224b5255613adb271e62ce1", kill_on_drop: false }` [INFO] [stdout] cf7c5d25fcd0590c53aaf89b9ccb8b23eca0fb2ae224b5255613adb271e62ce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2a3e8b0d0b1ad6f0a9df41aeec5e68a8a838d8c0c6b1830399b62265f63e7de [INFO] running `Command { std: "docker" "start" "-a" "f2a3e8b0d0b1ad6f0a9df41aeec5e68a8a838d8c0c6b1830399b62265f63e7de", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling zune-jpeg v0.4.16 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling mqtst v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling winres v0.1.12 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stdout] warning: unused import: `crate::objects::point::Point` [INFO] [stdout] --> src/basics/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::objects::point::Point; [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: `crate::objects::quad::Quad` [INFO] [stdout] --> src/basics/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::objects::quad::Quad; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/objects/ui.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/test/ui_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/test/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ui_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::color::{Color, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UiSlider` [INFO] [stdout] --> src/main.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | Theme, UiText, UiButton, UiInput, UiSlider, UiCheckbox, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/ui_test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut progress_bar = UiProgressBar::new( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/point_example.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let (mut slope_points, mut slope_constraints) = create_slope(start_x, start_y, end_x, end_y, spacing, color); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preset` [INFO] [stdout] --> src/main.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let preset = match index { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_preset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut checkbox_label = UiText::new( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UiElement` [INFO] [stdout] --> src/main.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | UiPanel, UiProgressBar, UiDropdown, TextAlignment, UiElement [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/basics/collision.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let normal = self.calculate_slope_normal(slope_p1, slope_p2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> src/objects/quad.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | self.components.retain(|comp| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/objects/ui.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | fn draw(&self, theme: &Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/objects/ui.rs:568:26 [INFO] [stdout] | [INFO] [stdout] 568 | fn update(&mut self, theme: &Theme, _manager: Option<&mut UiManager>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/objects/ui.rs:1229:26 [INFO] [stdout] | [INFO] [stdout] 1229 | fn update(&mut self, theme: &Theme, manager: Option<&mut UiManager>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_element` is never read [INFO] [stdout] --> src/objects/ui.rs:1317:5 [INFO] [stdout] | [INFO] [stdout] 1314 | pub struct UiManager { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1317 | active_element: Option, [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 54.32s [INFO] running `Command { std: "docker" "inspect" "f2a3e8b0d0b1ad6f0a9df41aeec5e68a8a838d8c0c6b1830399b62265f63e7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a3e8b0d0b1ad6f0a9df41aeec5e68a8a838d8c0c6b1830399b62265f63e7de", kill_on_drop: false }` [INFO] [stdout] f2a3e8b0d0b1ad6f0a9df41aeec5e68a8a838d8c0c6b1830399b62265f63e7de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f69d8cfdc6810ca254a4f74343aa691744901e5bde42dff060b67b5a2995fa [INFO] running `Command { std: "docker" "start" "-a" "17f69d8cfdc6810ca254a4f74343aa691744901e5bde42dff060b67b5a2995fa", kill_on_drop: false }` [INFO] [stderr] Compiling mqtst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::objects::point::Point` [INFO] [stdout] --> src/basics/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::objects::point::Point; [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: `crate::objects::quad::Quad` [INFO] [stdout] --> src/basics/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::objects::quad::Quad; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/objects/ui.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/test/ui_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::color::{Color, BLACK, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UiSlider` [INFO] [stdout] --> src/main.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | Theme, UiText, UiButton, UiInput, UiSlider, UiCheckbox, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/ui_test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut progress_bar = UiProgressBar::new( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test/point_example.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let (mut slope_points, mut slope_constraints) = create_slope(start_x, start_y, end_x, end_y, spacing, color); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preset` [INFO] [stdout] --> src/main.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let preset = match index { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_preset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut checkbox_label = UiText::new( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UiElement` [INFO] [stdout] --> src/main.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | UiPanel, UiProgressBar, UiDropdown, TextAlignment, UiElement [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/basics/collision.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let normal = self.calculate_slope_normal(slope_p1, slope_p2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp` [INFO] [stdout] --> src/objects/quad.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | self.components.retain(|comp| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_comp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/objects/ui.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | fn draw(&self, theme: &Theme) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/objects/ui.rs:568:26 [INFO] [stdout] | [INFO] [stdout] 568 | fn update(&mut self, theme: &Theme, _manager: Option<&mut UiManager>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme` [INFO] [stdout] --> src/objects/ui.rs:1229:26 [INFO] [stdout] | [INFO] [stdout] 1229 | fn update(&mut self, theme: &Theme, manager: Option<&mut UiManager>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_element` is never read [INFO] [stdout] --> src/objects/ui.rs:1317:5 [INFO] [stdout] | [INFO] [stdout] 1314 | pub struct UiManager { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1317 | active_element: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "17f69d8cfdc6810ca254a4f74343aa691744901e5bde42dff060b67b5a2995fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f69d8cfdc6810ca254a4f74343aa691744901e5bde42dff060b67b5a2995fa", kill_on_drop: false }` [INFO] [stdout] 17f69d8cfdc6810ca254a4f74343aa691744901e5bde42dff060b67b5a2995fa