[INFO] cloning repository https://github.com/OrtheSnowJames/rayinteract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OrtheSnowJames/rayinteract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrtheSnowJames%2Frayinteract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrtheSnowJames%2Frayinteract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b01bb31ca9543511a8d0aaba58390447be7cdaf8 [INFO] building OrtheSnowJames/rayinteract against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrtheSnowJames%2Frayinteract" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OrtheSnowJames/rayinteract [INFO] finished tweaking git repo https://github.com/OrtheSnowJames/rayinteract [INFO] tweaked toml for git repo https://github.com/OrtheSnowJames/rayinteract written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OrtheSnowJames/rayinteract on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OrtheSnowJames/rayinteract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded arboard v3.6.0 [INFO] [stderr] Downloaded objc2-io-surface v0.3.1 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded clipboard-win v5.4.1 [INFO] [stderr] Downloaded objc2-core-graphics v0.3.1 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded prettyplease v0.2.35 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded objc2-app-kit v0.3.1 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1429fafdb236859d356ee619a04d4b6e5982485562e82df2ef381b3d89d3682d [INFO] running `Command { std: "docker" "start" "-a" "1429fafdb236859d356ee619a04d4b6e5982485562e82df2ef381b3d89d3682d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1429fafdb236859d356ee619a04d4b6e5982485562e82df2ef381b3d89d3682d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1429fafdb236859d356ee619a04d4b6e5982485562e82df2ef381b3d89d3682d", kill_on_drop: false }` [INFO] [stdout] 1429fafdb236859d356ee619a04d4b6e5982485562e82df2ef381b3d89d3682d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e529c0952acc6acc71e19df4d8f883f7e9db43af2be4846b83514fc885e8f6cc [INFO] running `Command { std: "docker" "start" "-a" "e529c0952acc6acc71e19df4d8f883f7e9db43af2be4846b83514fc885e8f6cc", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arboard v3.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Compiling raylib v5.5.1 [INFO] [stderr] Compiling raylib_interactive v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raylib::prelude::*` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::prelude::*; [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: `was_active` [INFO] [stdout] --> src/textfield.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let was_active = self.is_active; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_was_active` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc_width` [INFO] [stdout] --> src/textfield.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut acc_width = 0.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acc_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clear_selection` [INFO] [stdout] --> src/textfield.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let mut clear_selection = || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/textfield.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | ... for (i, (pos, ch)) in chars.iter().enumerate().rev() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/textfield.rs:367:42 [INFO] [stdout] | [INFO] [stdout] 367 | ... for (i, (pos, ch)) in chars.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | let mut acc_width = 0.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: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut clear_selection = || { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | ... let mut idx = self.cursor_position; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/textfield.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | let mut width = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let mut width = 0.0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_cursor` is assigned to, but never used [INFO] [stdout] --> src/textfield.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let mut found_cursor = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_cursor` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cursor_x` is assigned to, but never used [INFO] [stdout] --> src/textfield.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | let mut cursor_x = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cursor_x` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PADDING` [INFO] [stdout] | [INFO] [stdout] 544 - let mut cursor_x = 0.0; [INFO] [stdout] 544 + let mut PADDING = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_cursor` is never read [INFO] [stdout] --> src/textfield.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | found_cursor = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cursor_x` is never read [INFO] [stdout] --> src/textfield.rs:555:17 [INFO] [stdout] | [INFO] [stdout] 555 | cursor_x = w; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_end` [INFO] [stdout] --> src/textfield.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let mut temp_end = temp_start; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | let mut start = self.scroll_offset; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut temp_end = temp_start; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/textfield.rs:614:25 [INFO] [stdout] | [INFO] [stdout] 614 | for (i, ch) in text_slice.char_indices() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/button.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 140 | let _text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PADDING` [INFO] [stdout] | [INFO] [stdout] 140 - let text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] 140 + let PADDING = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.82s [INFO] running `Command { std: "docker" "inspect" "e529c0952acc6acc71e19df4d8f883f7e9db43af2be4846b83514fc885e8f6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e529c0952acc6acc71e19df4d8f883f7e9db43af2be4846b83514fc885e8f6cc", kill_on_drop: false }` [INFO] [stdout] e529c0952acc6acc71e19df4d8f883f7e9db43af2be4846b83514fc885e8f6cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ccb8de6954931500e92c5952d4315db8c6262df4b11d635df77dbf71c08f235 [INFO] running `Command { std: "docker" "start" "-a" "7ccb8de6954931500e92c5952d4315db8c6262df4b11d635df77dbf71c08f235", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `raylib::prelude::*` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::prelude::*; [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: `was_active` [INFO] [stdout] --> src/textfield.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let was_active = self.is_active; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_was_active` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc_width` [INFO] [stdout] --> src/textfield.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut acc_width = 0.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acc_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raylib_interactive v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `clear_selection` [INFO] [stdout] --> src/textfield.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let mut clear_selection = || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/textfield.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | ... for (i, (pos, ch)) in chars.iter().enumerate().rev() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/textfield.rs:367:42 [INFO] [stdout] | [INFO] [stdout] 367 | ... for (i, (pos, ch)) in chars.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | let mut acc_width = 0.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: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut clear_selection = || { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | ... let mut idx = self.cursor_position; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/textfield.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | let mut width = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let mut width = 0.0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_cursor` is assigned to, but never used [INFO] [stdout] --> src/textfield.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let mut found_cursor = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_cursor` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cursor_x` is assigned to, but never used [INFO] [stdout] --> src/textfield.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | let mut cursor_x = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cursor_x` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PADDING` [INFO] [stdout] | [INFO] [stdout] 544 - let mut cursor_x = 0.0; [INFO] [stdout] 544 + let mut PADDING = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_cursor` is never read [INFO] [stdout] --> src/textfield.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | found_cursor = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cursor_x` is never read [INFO] [stdout] --> src/textfield.rs:555:17 [INFO] [stdout] | [INFO] [stdout] 555 | cursor_x = w; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_end` [INFO] [stdout] --> src/textfield.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let mut temp_end = temp_start; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | let mut start = self.scroll_offset; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut temp_end = temp_start; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/textfield.rs:614:25 [INFO] [stdout] | [INFO] [stdout] 614 | for (i, ch) in text_slice.char_indices() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/button.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 140 | let _text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PADDING` [INFO] [stdout] | [INFO] [stdout] 140 - let text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] 140 + let PADDING = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> examples/dropdown_test.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib_interactive::{Button, Dropdown, Style, presets, update_all, draw_all}; [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: `raylib::prelude::*` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::prelude::*; [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: `Style` [INFO] [stdout] --> examples/test_runner.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib_interactive::{Button, TextField, Checkbox, Dropdown, Style, presets, TestResults, run_all_tests, update_all, draw_all}; [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: `was_active` [INFO] [stdout] --> src/textfield.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let was_active = self.is_active; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_was_active` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc_width` [INFO] [stdout] --> src/textfield.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let mut acc_width = 0.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acc_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clear_selection` [INFO] [stdout] --> src/textfield.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let mut clear_selection = || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/textfield.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | ... for (i, (pos, ch)) in chars.iter().enumerate().rev() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/textfield.rs:367:42 [INFO] [stdout] | [INFO] [stdout] 367 | ... for (i, (pos, ch)) in chars.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | let mut acc_width = 0.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: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let mut clear_selection = || { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | ... let mut idx = self.cursor_position; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/textfield.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | let mut width = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let mut width = 0.0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_cursor` is assigned to, but never used [INFO] [stdout] --> src/textfield.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | let mut found_cursor = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_cursor` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cursor_x` is assigned to, but never used [INFO] [stdout] --> src/textfield.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | let mut cursor_x = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cursor_x` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PADDING` [INFO] [stdout] | [INFO] [stdout] 544 - let mut cursor_x = 0.0; [INFO] [stdout] 544 + let mut PADDING = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_cursor` is never read [INFO] [stdout] --> src/textfield.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | found_cursor = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cursor_x` is never read [INFO] [stdout] --> src/textfield.rs:555:17 [INFO] [stdout] | [INFO] [stdout] 555 | cursor_x = w; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_end` [INFO] [stdout] --> src/textfield.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let mut temp_end = temp_start; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | let mut start = self.scroll_offset; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/textfield.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut temp_end = temp_start; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/textfield.rs:614:25 [INFO] [stdout] | [INFO] [stdout] 614 | for (i, ch) in text_slice.char_indices() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/button.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 140 | let _text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PADDING` [INFO] [stdout] | [INFO] [stdout] 140 - let text_x = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] 140 + let PADDING = self.bounds.x + (self.bounds.width - text_width as f32) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "7ccb8de6954931500e92c5952d4315db8c6262df4b11d635df77dbf71c08f235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ccb8de6954931500e92c5952d4315db8c6262df4b11d635df77dbf71c08f235", kill_on_drop: false }` [INFO] [stdout] 7ccb8de6954931500e92c5952d4315db8c6262df4b11d635df77dbf71c08f235