[INFO] cloning repository https://github.com/felinefeather/gui_coding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felinefeather/gui_coding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelinefeather%2Fgui_coding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelinefeather%2Fgui_coding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8db5eb425c936bfbcd9fa852e9a34956369ae61d [INFO] checking felinefeather/gui_coding against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelinefeather%2Fgui_coding" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felinefeather/gui_coding on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felinefeather/gui_coding [INFO] finished tweaking git repo https://github.com/felinefeather/gui_coding [INFO] tweaked toml for git repo https://github.com/felinefeather/gui_coding written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/felinefeather/gui_coding 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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1035370984c820f20cc306b666a95cd52b862e3a74b4a964bc92e58ff0d27291 [INFO] running `Command { std: "docker" "start" "-a" "1035370984c820f20cc306b666a95cd52b862e3a74b4a964bc92e58ff0d27291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1035370984c820f20cc306b666a95cd52b862e3a74b4a964bc92e58ff0d27291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1035370984c820f20cc306b666a95cd52b862e3a74b4a964bc92e58ff0d27291", kill_on_drop: false }` [INFO] [stdout] 1035370984c820f20cc306b666a95cd52b862e3a74b4a964bc92e58ff0d27291 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 357b27bf3a8164b4316fbd667b8d45b29bf0766500b82ef8b2c284d011cb0aa6 [INFO] running `Command { std: "docker" "start" "-a" "357b27bf3a8164b4316fbd667b8d45b29bf0766500b82ef8b2c284d011cb0aa6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking triple_accel v0.3.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking webbrowser v1.0.1 [INFO] [stderr] Checking simsearch v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking emath v0.28.1 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking ecolor v0.28.1 [INFO] [stderr] Checking epaint v0.28.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking egui v0.28.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking egui_glow v0.28.1 [INFO] [stderr] Checking egui_extras v0.28.1 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.28.1 [INFO] [stderr] Checking eframe v0.28.1 [INFO] [stderr] Checking gui_coding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Align2`, `Color32`, `FontId`, `IdMap`, `Id`, `Key`, `Pos2`, `RichText`, `pos2`, and `vec2` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{pos2, vec2, Align2, Color32, FontId, Id, IdMap, Key, Pos2, RichText, Widget}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^ ^^^^^ ^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spawner` [INFO] [stdout] --> src/main.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | use template::{Component, Driver, DriverField, Element, Field, Spawner}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Cycle` [INFO] [stdout] --> src/context/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{iter::Cycle, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, `clone`, and `default` [INFO] [stdout] --> src/template/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone, default, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `Pos2`, `Response`, `TextEdit`, `Vec2`, and `style::Spacing` [INFO] [stdout] --> src/template/mod.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{HashMap, HashSet}, style::Spacing, vec2, Button, FontId, Id, Key, Layout, Modifiers, Pos2, Response, RichText, TextEdit, Ui, Vec2, W... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `IdMap`, and `Label` [INFO] [stdout] --> src/template/enumset.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Button, Id, IdMap, Key, Label, PopupCloseBehavior, Response, Widget}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TagCache` [INFO] [stdout] --> src/template/enumset.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{context::Context, template::{Spawn, TagCache}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align2`, `Color32`, `FontId`, `IdMap`, `Id`, `Key`, `Pos2`, `RichText`, `pos2`, and `vec2` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{pos2, vec2, Align2, Color32, FontId, Id, IdMap, Key, Pos2, RichText, Widget}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^ ^^^^^ ^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spawner` [INFO] [stdout] --> src/main.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | use template::{Component, Driver, DriverField, Element, Field, Spawner}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdMap`, `Id`, `Pos2`, `RichText`, and `Widget` [INFO] [stdout] --> src/ui_test/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Id, IdMap, Pos2, RichText, Widget}; [INFO] [stdout] | ^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enum_table::EnumSpawn` [INFO] [stdout] --> src/ui_test/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use enum_table::EnumSpawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Driver` and `Element` [INFO] [stdout] --> src/ui_test/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::template::{Driver, Element}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Id` and `ahash::RandomState` [INFO] [stdout] --> src/ui_test/enum_table.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{ahash::RandomState, Color32, Id, Key, PopupCloseBehavior, Pos2, RichText}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::template::enumset::Enum` [INFO] [stdout] --> src/ui_test/enum_table.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::template::enumset::Enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layout` [INFO] [stdout] --> src/ui_test/catagory.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{pos2, vec2, Align2, Color32, FontId, Layout, Pos2, Rect, RichText, Sense, Vec2, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdMap`, `Id`, and `vec2` [INFO] [stdout] --> src/ui_test/mod.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use egui::{pos2, vec2, Align2, Color32, FontId, Id, IdMap, Key, Pos2, RichText, Widget}; [INFO] [stdout] | ^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/ui_test/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::template::{Component, Driver, Element, Field}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Cycle` [INFO] [stdout] --> src/context/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{iter::Cycle, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, `clone`, and `default` [INFO] [stdout] --> src/template/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone, default, ops::{Deref, DerefMut}}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `Pos2`, `Response`, `TextEdit`, `Vec2`, and `style::Spacing` [INFO] [stdout] --> src/template/mod.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{HashMap, HashSet}, style::Spacing, vec2, Button, FontId, Id, Key, Layout, Modifiers, Pos2, Response, RichText, TextEdit, Ui, Vec2, W... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `IdMap`, and `Label` [INFO] [stdout] --> src/template/enumset.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Button, Id, IdMap, Key, Label, PopupCloseBehavior, Response, Widget}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TagCache` [INFO] [stdout] --> src/template/enumset.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{context::Context, template::{Spawn, TagCache}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/template/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 154 | field: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 155 | ctx, [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template/enumset.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let Self { mut drv, cache, id, field, ctx, spw, elem: cond } = self; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dfield` [INFO] [stdout] --> src/template/mod.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dfield` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/template/mod.rs:148:63 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/template/mod.rs:148:82 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/template/mod.rs:148:95 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drv` [INFO] [stdout] --> src/template/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | let Driver::Enum(drv) = drv else { panic!("drv not correspond"); }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_drv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/template/mod.rs:480:34 [INFO] [stdout] | [INFO] [stdout] 480 | ... Driven::Enum(elem) => { Self::Enum(Box::new(field.get_spawner(Id::new("default")).unwrap_or_else(||panic!("`default` not found")).c... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/template/mod.rs:482:36 [INFO] [stdout] | [INFO] [stdout] 482 | Driven::TableH(elem) => {Self::TableH(vec![])}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/template/mod.rs:483:45 [INFO] [stdout] | [INFO] [stdout] 483 | Driven::TextBoxEditable(elem) => {Self::TextBoxEditable(String::new())}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_default` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let enum_default = template::enumset::Enum::enum_default(&mut field); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `template::Cache` is more private than the item `Field::spawn` [INFO] [stdout] --> src/template/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Field::spawn` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `template::Cache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/template/mod.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | enum Cache { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/template/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 154 | field: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 155 | ctx, [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `dec_table` are never read [INFO] [stdout] --> src/context/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub count: Counter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub dec_table: Trigger, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Default` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/context/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 31 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UserState` is never used [INFO] [stdout] --> src/context/mod.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | enum UserState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Template` is never constructed [INFO] [stdout] --> src/template/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Template { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/template/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Template { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 22 | fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShortCutMNG` is never constructed [INFO] [stdout] --> src/template/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct ShortCutMNG { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActionMNG` is never constructed [INFO] [stdout] --> src/template/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct ActionMNG { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/template/mod.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `merge`, and `run` are never used [INFO] [stdout] --> src/template/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl ActionMNG { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 52 | fn new() -> Self { ActionMNG { action: Vec::new()} } [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | fn merge(&mut self,rhs: &mut Self) { self.action.append(&mut rhs.action)} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | fn run(&mut self) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShortCut` is never used [INFO] [stdout] --> src/template/mod.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | enum ShortCut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemSpace` is never constructed [INFO] [stdout] --> src/template/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct ElemSpace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Horizontal` and `Vertical` are never constructed [INFO] [stdout] --> src/template/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Element { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 79 | Horizontal(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | Vertical(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_elem` is never used [INFO] [stdout] --> src/template/mod.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Chunk { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 109 | fn with_elem(elem: Element) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn` is never used [INFO] [stdout] --> src/template/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TagCache` is never constructed [INFO] [stdout] --> src/template/mod.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | struct TagCache { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/template/mod.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/template/mod.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | TableH(Vec), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Driver` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 462 | TableH(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/template/mod.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | TextBoxEditable(String) [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Driver` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 463 | TextBoxEditable(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enum` and `TextBoxEditable` are never constructed [INFO] [stdout] --> src/template/mod.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 491 | pub enum Driven { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 492 | Enum(enumset::Enum), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | TextBoxEditable(FontId), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Driven` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_elem` and `from_strings` are never used [INFO] [stdout] --> src/template/enumset.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Enum { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn into_elem(self) -> Element { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn from_strings(vec: Vec, ctx: &mut Context, field: &mut Field) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> src/template/enumset.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 58 | pub searcher: simsearch::SimSearch, [INFO] [stdout] 59 | pub selected: Box<(Spawn,Element,Driver)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Elem` and `Tags` are never constructed [INFO] [stdout] --> src/template/enumset.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum Cond { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 65 | Elem(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | Tags(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cond` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Widget` [INFO] [stdout] --> src/ui_test/mod.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | use egui::{pos2, vec2, Align2, Color32, FontId, Id, IdMap, Key, Pos2, RichText, Widget}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawn` [INFO] [stdout] --> src/ui_test/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let spawn = template::Spawn::new( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spawn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/ui_test/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let resp = ui.horizontal(|ui| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template/enumset.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let Self { mut drv, cache, id, field, ctx, spw, elem: cond } = self; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dfield` [INFO] [stdout] --> src/template/mod.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dfield` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/template/mod.rs:148:63 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/template/mod.rs:148:82 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/template/mod.rs:148:95 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drv` [INFO] [stdout] --> src/template/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | let Driver::Enum(drv) = drv else { panic!("drv not correspond"); }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_drv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/template/mod.rs:480:34 [INFO] [stdout] | [INFO] [stdout] 480 | ... Driven::Enum(elem) => { Self::Enum(Box::new(field.get_spawner(Id::new("default")).unwrap_or_else(||panic!("`default` not found")).c... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/template/mod.rs:482:36 [INFO] [stdout] | [INFO] [stdout] 482 | Driven::TableH(elem) => {Self::TableH(vec![])}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/template/mod.rs:483:45 [INFO] [stdout] | [INFO] [stdout] 483 | Driven::TextBoxEditable(elem) => {Self::TextBoxEditable(String::new())}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_default` [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let enum_default = template::enumset::Enum::enum_default(&mut field); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `template::Cache` is more private than the item `Field::spawn` [INFO] [stdout] --> src/template/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Field::spawn` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `template::Cache` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/template/mod.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 383 | enum Cache { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/ui_test/enum_table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EnumSpawn { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub position: Pos2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, `on_link`, and `on_operating` are never read [INFO] [stdout] --> src/ui_test/linker.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LinkerSpawn { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | start: Pos2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | end: Pos2, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | on_link: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | on_operating: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ui` is never used [INFO] [stdout] --> src/ui_test/linker.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LinkerSpawn { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 22 | pub fn ui(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lk` and `cg` are never read [INFO] [stdout] --> src/ui_test/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UiTest { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | lk: LinkerSpawn, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | cg: CatagorySpawn, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `dec_table` are never read [INFO] [stdout] --> src/context/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub count: Counter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub dec_table: Trigger, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Default` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/context/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 31 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UserState` is never used [INFO] [stdout] --> src/context/mod.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | enum UserState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Template` is never constructed [INFO] [stdout] --> src/template/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Template { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/template/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Template { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 22 | fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShortCutMNG` is never constructed [INFO] [stdout] --> src/template/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct ShortCutMNG { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ActionMNG` is never constructed [INFO] [stdout] --> src/template/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct ActionMNG { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/template/mod.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `merge`, and `run` are never used [INFO] [stdout] --> src/template/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl ActionMNG { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 52 | fn new() -> Self { ActionMNG { action: Vec::new()} } [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | fn merge(&mut self,rhs: &mut Self) { self.action.append(&mut rhs.action)} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | fn run(&mut self) {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShortCut` is never used [INFO] [stdout] --> src/template/mod.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | enum ShortCut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemSpace` is never constructed [INFO] [stdout] --> src/template/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct ElemSpace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Horizontal` and `Vertical` are never constructed [INFO] [stdout] --> src/template/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Element { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 79 | Horizontal(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | Vertical(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_elem` is never used [INFO] [stdout] --> src/template/mod.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Chunk { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 109 | fn with_elem(elem: Element) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn` is never used [INFO] [stdout] --> src/template/mod.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub fn spawn(&mut self, dfield: &mut DriverField, id: Id, ctx: &mut Context, ui: &mut Ui, cache: &mut Cache) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TagCache` is never constructed [INFO] [stdout] --> src/template/mod.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | struct TagCache { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/template/mod.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/template/mod.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | TableH(Vec), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Driver` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 462 | TableH(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/template/mod.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | TextBoxEditable(String) [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Driver` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 463 | TextBoxEditable(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TextBoxEditable` is never constructed [INFO] [stdout] --> src/template/mod.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 491 | pub enum Driven { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 495 | TextBoxEditable(FontId), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Driven` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_elem` and `from_strings` are never used [INFO] [stdout] --> src/template/enumset.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Enum { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn into_elem(self) -> Element { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn from_strings(vec: Vec, ctx: &mut Context, field: &mut Field) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> src/template/enumset.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 58 | pub searcher: simsearch::SimSearch, [INFO] [stdout] 59 | pub selected: Box<(Spawn,Element,Driver)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tags` is never constructed [INFO] [stdout] --> src/template/enumset.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum Cond { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 65 | Elem(Vec), [INFO] [stdout] 66 | Tags(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cond` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "357b27bf3a8164b4316fbd667b8d45b29bf0766500b82ef8b2c284d011cb0aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "357b27bf3a8164b4316fbd667b8d45b29bf0766500b82ef8b2c284d011cb0aa6", kill_on_drop: false }` [INFO] [stdout] 357b27bf3a8164b4316fbd667b8d45b29bf0766500b82ef8b2c284d011cb0aa6