[INFO] cloning repository https://github.com/hafley66/egui-bootcamp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hafley66/egui-bootcamp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafley66%2Fegui-bootcamp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafley66%2Fegui-bootcamp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 702f0f6dbb593d20f5df727f8b8ad2297302e99c [INFO] checking hafley66/egui-bootcamp against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafley66%2Fegui-bootcamp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hafley66/egui-bootcamp [INFO] finished tweaking git repo https://github.com/hafley66/egui-bootcamp [INFO] tweaked toml for git repo https://github.com/hafley66/egui-bootcamp written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hafley66/egui-bootcamp on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hafley66/egui-bootcamp 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c55fc80ebdaf85efdd3ed8c1a42921cbdc7f9574d46a602838843ec46df45bf [INFO] running `Command { std: "docker" "start" "-a" "4c55fc80ebdaf85efdd3ed8c1a42921cbdc7f9574d46a602838843ec46df45bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c55fc80ebdaf85efdd3ed8c1a42921cbdc7f9574d46a602838843ec46df45bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c55fc80ebdaf85efdd3ed8c1a42921cbdc7f9574d46a602838843ec46df45bf", kill_on_drop: false }` [INFO] [stdout] 4c55fc80ebdaf85efdd3ed8c1a42921cbdc7f9574d46a602838843ec46df45bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 170429b67fdacd357e2e6e6872043ca5b49f62aa315f8deccb136a854848b9dd [INFO] running `Command { std: "docker" "start" "-a" "170429b67fdacd357e2e6e6872043ca5b49f62aa315f8deccb136a854848b9dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Compiling wayland-client v0.31.13 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking immutable-chunkmap v2.1.2 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking nix v0.29.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking insta v1.46.3 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking wayland-protocols v0.32.11 [INFO] [stderr] Checking wayland-cursor v0.31.13 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking emath v0.31.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking webbrowser v1.2.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking egui_glow v0.31.1 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.11 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.11 [INFO] [stderr] Checking wayland-protocols-misc v0.3.11 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking egui-winit v0.31.1 [INFO] [stderr] Checking eframe v0.31.1 [INFO] [stderr] Checking egui-bootcamp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [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: `epaint::*` [INFO] [stdout] --> src/exercises/ex05_animation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::TAU` [INFO] [stdout] --> src/exercises/ex05_animation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::TAU; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] 50 + let pulse = (time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5 ; // 0..1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [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: `epaint::*` [INFO] [stdout] --> src/exercises/ex05_animation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::TAU` [INFO] [stdout] --> src/exercises/ex05_animation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::TAU; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] 50 + let pulse = (time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5 ; // 0..1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let offset = rect.min.to_vec2(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exercises/ex02_layout.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut clicks = 0; [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: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn button_row(ui: &mut Ui) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn styled_card(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn data_grid(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn scroll_list(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sidebar_layout(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let (rect, response) = ui.allocate_exact_size(size, Sense::drag()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let pos = state.drag_pos.get_or_insert(rect.center()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let (rect, response) = ui.allocate_exact_size(Vec2::new(200.0, 100.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex05_animation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let t = ui.ctx().animate_bool_with_time(Id::new("ex05_toggle"), state.toggle_on, 0.3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animated_x` [INFO] [stdout] --> src/exercises/ex05_animation.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let animated_x = ui.ctx().animate_value_with_time( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animated_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | for (i, &pos) in state.word_positions.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pulse` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let n = targets.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn animated_curves(ui: &mut Ui, state: &mut Ex06State, time: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let t = ui.ctx().animate_bool_with_time(id, state.active, 0.4); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | let (rect, response) = ui.allocate_exact_size(Vec2::new(400.0, 300.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let offset = rect.min.to_vec2(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exercises/ex02_layout.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut clicks = 0; [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: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn button_row(ui: &mut Ui) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn styled_card(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn data_grid(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn scroll_list(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sidebar_layout(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let (rect, response) = ui.allocate_exact_size(size, Sense::drag()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let pos = state.drag_pos.get_or_insert(rect.center()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let (rect, response) = ui.allocate_exact_size(Vec2::new(200.0, 100.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex05_animation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let t = ui.ctx().animate_bool_with_time(Id::new("ex05_toggle"), state.toggle_on, 0.3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animated_x` [INFO] [stdout] --> src/exercises/ex05_animation.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let animated_x = ui.ctx().animate_value_with_time( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animated_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | for (i, &pos) in state.word_positions.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pulse` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let n = targets.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn animated_curves(ui: &mut Ui, state: &mut Ex06State, time: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let t = ui.ctx().animate_bool_with_time(id, state.active, 0.4); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | let (rect, response) = ui.allocate_exact_size(Vec2::new(400.0, 300.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [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: `epaint::*` [INFO] [stdout] --> src/exercises/ex05_animation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::TAU` [INFO] [stdout] --> src/exercises/ex05_animation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::TAU; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] 50 + let pulse = (time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5 ; // 0..1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [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: `epaint::*` [INFO] [stdout] --> src/exercises/ex05_animation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::TAU` [INFO] [stdout] --> src/exercises/ex05_animation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::TAU; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epaint::*` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use epaint::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] 50 + let pulse = (time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5 ; // 0..1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> examples/radar.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::{PI, TAU}; [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 variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let offset = rect.min.to_vec2(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exercises/ex02_layout.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut clicks = 0; [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: unused variable: `offset` [INFO] [stdout] --> src/exercises/ex01_shapes.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let offset = rect.min.to_vec2(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn button_row(ui: &mut Ui) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exercises/ex02_layout.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut clicks = 0; [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: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn button_row(ui: &mut Ui) -> usize { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn styled_card(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn data_grid(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn scroll_list(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn styled_card(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn data_grid(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sidebar_layout(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn scroll_list(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex02_layout.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sidebar_layout(ui: &mut Ui) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn counter(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn todo_list(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn change_detector(ui: &mut Ui, state: &mut Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/exercises/ex03_state.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn derived_stats(ui: &mut Ui, state: &Ex03State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let (rect, response) = ui.allocate_exact_size(size, Sense::drag()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let pos = state.drag_pos.get_or_insert(rect.center()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let (rect, response) = ui.allocate_exact_size(size, Sense::drag()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let pos = state.drag_pos.get_or_insert(rect.center()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:210:85 [INFO] [stdout] | [INFO] [stdout] 210 | painter.line_segment([plot.left_bottom(), plot.right_bottom()], Stroke::new(1.0, axis_color)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:211:81 [INFO] [stdout] | [INFO] [stdout] 211 | painter.line_segment([plot.left_bottom(), plot.left_top()], Stroke::new(1.0, axis_color)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | Stroke::new(0.5, Color32::from_gray(35)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | Stroke::new(2.0, Color32::from_rgb(0, 220, 0)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:270:25 [INFO] [stdout] | [INFO] [stdout] 270 | Stroke::new(1.0, Color32::from_rgb(255, 140, 40)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:288:85 [INFO] [stdout] | [INFO] [stdout] 288 | painter.line_segment([plot.left_bottom(), plot.right_bottom()], Stroke::new(1.0, axis_color)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:289:81 [INFO] [stdout] | [INFO] [stdout] 289 | painter.line_segment([plot.left_bottom(), plot.left_top()], Stroke::new(1.0, axis_color)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | Stroke::new(0.5, Color32::from_gray(35)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:351:29 [INFO] [stdout] | [INFO] [stdout] 351 | Stroke::new(0.4, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.4_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let (rect, response) = ui.allocate_exact_size(Vec2::new(200.0, 100.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex04_interaction.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let (rect, response) = ui.allocate_exact_size(Vec2::new(200.0, 100.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex05_animation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let t = ui.ctx().animate_bool_with_time(Id::new("ex05_toggle"), state.toggle_on, 0.3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:432:38 [INFO] [stdout] | [INFO] [stdout] 432 | if frac == 1.0 { 1.5 } else { 0.5 }, [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex05_animation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let t = ui.ctx().animate_bool_with_time(Id::new("ex05_toggle"), state.toggle_on, 0.3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:432:51 [INFO] [stdout] | [INFO] [stdout] 432 | if frac == 1.0 { 1.5 } else { 0.5 }, [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:441:25 [INFO] [stdout] | [INFO] [stdout] 441 | Stroke::new(0.5, dim), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | Stroke::new(0.5, dim), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animated_x` [INFO] [stdout] --> src/exercises/ex05_animation.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let animated_x = ui.ctx().animate_value_with_time( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animated_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `animated_x` [INFO] [stdout] --> src/exercises/ex05_animation.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let animated_x = ui.ctx().animate_value_with_time( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animated_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | Stroke::new(0.3, Color32::from_rgba_unmultiplied(0, 40, 0, 80)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.3_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | Stroke::new(0.3, Color32::from_rgba_unmultiplied(0, 40, 0, 80)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.3_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | Stroke::new(1.0, Color32::from_rgba_unmultiplied(0, 200, 0, 100)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | Stroke::new(0.5, Color32::from_rgba_unmultiplied(0, 160, 0, alpha)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | for (i, &pos) in state.word_positions.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pulse` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | Stroke::new(2.0, vec_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | for (i, &pos) in state.word_positions.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pulse` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let pulse = ((time * TAU * 0.8 + phase_offset).sin() * 0.5 + 0.5); // 0..1 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pulse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let n = targets.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn animated_curves(ui: &mut Ui, state: &mut Ex06State, time: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:581:29 [INFO] [stdout] | [INFO] [stdout] 581 | Stroke::new(2.0, Color32::from_rgba_unmultiplied(255, 140, 0, halo_alpha)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let t = ui.ctx().animate_bool_with_time(id, state.active, 0.4); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:587:56 [INFO] [stdout] | [INFO] [stdout] 587 | painter.rect_stroke(btn_rect, 3.0, Stroke::new(1.5, border_color), StrokeKind::Outside); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let n = targets.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/radar.rs:606:25 [INFO] [stdout] | [INFO] [stdout] 606 | Stroke::new(1.5, tri_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.5_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn animated_curves(ui: &mut Ui, state: &mut Ex06State, time: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `painter` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let painter = ui.painter(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let origin = state.word_positions[0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | for (i, &target) in targets.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let t = ui.ctx().animate_bool_with_time(id, state.active, 0.4); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | let (rect, response) = ui.allocate_exact_size(Vec2::new(400.0, 300.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/exercises/ex06_overlay.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | let (rect, response) = ui.allocate_exact_size(Vec2::new(400.0, 300.0), Sense::click()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `text_input`, `items`, and `selected_index` are never read [INFO] [stdout] --> src/exercises/ex03_state.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Ex03State { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub counter: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub text_input: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub selected_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `animated_curves` is never used [INFO] [stdout] --> src/exercises/ex06_overlay.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn animated_curves(ui: &mut Ui, state: &mut Ex06State, time: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `text_input`, `items`, and `selected_index` are never read [INFO] [stdout] --> src/exercises/ex03_state.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Ex03State { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub counter: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub text_input: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub selected_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `animated_curves` is never used [INFO] [stdout] --> src/exercises/ex06_overlay.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn animated_curves(ui: &mut Ui, state: &mut Ex06State, time: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> tests/exercises.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let (_, ctx) = run_exercise_frame(|ui| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "170429b67fdacd357e2e6e6872043ca5b49f62aa315f8deccb136a854848b9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170429b67fdacd357e2e6e6872043ca5b49f62aa315f8deccb136a854848b9dd", kill_on_drop: false }` [INFO] [stdout] 170429b67fdacd357e2e6e6872043ca5b49f62aa315f8deccb136a854848b9dd