[INFO] cloning repository https://github.com/misosoupTgit/MistEngineIDE [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misosoupTgit/MistEngineIDE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmisosoupTgit%2FMistEngineIDE", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmisosoupTgit%2FMistEngineIDE'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b6d41edbe635a8a5b9c4abeed6a3700edb46fdc [INFO] checking misosoupTgit/MistEngineIDE against master#08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmisosoupTgit%2FMistEngineIDE" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/misosoupTgit/MistEngineIDE [INFO] finished tweaking git repo https://github.com/misosoupTgit/MistEngineIDE [INFO] tweaked toml for git repo https://github.com/misosoupTgit/MistEngineIDE written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/misosoupTgit/MistEngineIDE on toolchain 08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/misosoupTgit/MistEngineIDE 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" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlib v0.5.3 [INFO] [stderr] Downloaded xml-rs v0.8.28 [INFO] [stderr] Downloaded env_filter v1.0.0 [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.1 [INFO] [stderr] Downloaded glutin-winit v0.4.2 [INFO] [stderr] Downloaded ecolor v0.28.1 [INFO] [stderr] Downloaded zvariant_utils v1.0.1 [INFO] [stderr] Downloaded atspi-connection v0.3.0 [INFO] [stderr] Downloaded waker-fn v1.2.0 [INFO] [stderr] Downloaded xdg-home v1.3.0 [INFO] [stderr] Downloaded egui-winit v0.28.1 [INFO] [stderr] Downloaded wayland-cursor v0.31.13 [INFO] [stderr] Downloaded wayland-sys v0.31.10 [INFO] [stderr] Downloaded accesskit_macos v0.10.1 [INFO] [stderr] Downloaded egui-wgpu v0.28.1 [INFO] [stderr] Downloaded atspi-common v0.3.0 [INFO] [stderr] Downloaded wgpu-types v0.20.0 [INFO] [stderr] Downloaded event-listener v3.1.0 [INFO] [stderr] Downloaded zvariant v3.15.2 [INFO] [stderr] Downloaded arboard v3.6.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.20.0 [INFO] [stderr] Downloaded png v0.18.1 [INFO] [stderr] Downloaded wgpu v0.20.1 [INFO] [stderr] Downloaded jni v0.22.4 [INFO] [stderr] Downloaded moxcms v0.8.1 [INFO] [stderr] Downloaded quick-xml v0.39.2 [INFO] [stderr] Downloaded zbus v3.15.2 [INFO] [stderr] Downloaded wgpu-core v0.21.1 [INFO] [stderr] Downloaded objc2 v0.6.4 [INFO] [stderr] Downloaded image v0.25.10 [INFO] [stderr] Downloaded wgpu-hal v0.21.1 [INFO] [stderr] Downloaded egui v0.28.1 [INFO] [stderr] Downloaded simd_cesu8 v1.1.1 [INFO] [stderr] Downloaded rustix v0.37.28 [INFO] [stderr] Downloaded wayland-protocols v0.32.11 [INFO] [stderr] Downloaded sdl2 v0.38.0 [INFO] [stderr] Downloaded calloop v0.14.4 [INFO] [stderr] Downloaded webbrowser v1.2.0 [INFO] [stderr] Downloaded glutin v0.31.3 [INFO] [stderr] Downloaded toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Downloaded wayland-client v0.31.13 [INFO] [stderr] Downloaded eframe v0.28.1 [INFO] [stderr] Downloaded env_logger v0.11.9 [INFO] [stderr] Downloaded io-lifetimes v1.0.11 [INFO] [stderr] Downloaded socket2 v0.4.10 [INFO] [stderr] Downloaded naga v0.20.0 [INFO] [stderr] Downloaded jni-macros v0.22.4 [INFO] [stderr] Downloaded dispatch2 v0.3.1 [INFO] [stderr] Downloaded wayland-backend v0.3.14 [INFO] [stderr] Downloaded async-broadcast v0.5.1 [INFO] [stderr] Downloaded uds_windows v1.2.1 [INFO] [stderr] Downloaded accesskit_consumer v0.16.1 [INFO] [stderr] Downloaded egui_glow v0.28.1 [INFO] [stderr] Downloaded async-lock v2.8.0 [INFO] [stderr] Downloaded zbus_macros v3.15.2 [INFO] [stderr] Downloaded smithay-clipboard v0.7.3 [INFO] [stderr] Downloaded wayland-scanner v0.31.9 [INFO] [stderr] Downloaded emath v0.28.1 [INFO] [stderr] Downloaded epaint v0.28.1 [INFO] [stderr] Downloaded pxfm v0.1.28 [INFO] [stderr] Downloaded atspi-proxies v0.3.0 [INFO] [stderr] Downloaded atspi v0.19.0 [INFO] [stderr] Downloaded async-fs v1.6.0 [INFO] [stderr] Downloaded async-signal v0.2.13 [INFO] [stderr] Downloaded async-process v1.8.1 [INFO] [stderr] Downloaded zbus_names v2.6.1 [INFO] [stderr] Downloaded zvariant_derive v3.15.2 [INFO] [stderr] Downloaded linux-raw-sys v0.3.8 [INFO] [stderr] Downloaded accesskit_unix v0.6.2 [INFO] [stderr] Downloaded accesskit_windows v0.15.1 [INFO] [stderr] Downloaded accesskit_winit v0.16.1 [INFO] [stderr] Downloaded calloop-wayland-source v0.4.1 [INFO] [stderr] Downloaded wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Downloaded wayland-protocols-misc v0.3.11 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.11 [INFO] [stderr] Downloaded glutin_egl_sys v0.6.0 [INFO] [stderr] Downloaded glutin_glx_sys v0.5.0 [INFO] [stderr] Downloaded accesskit v0.12.3 [INFO] [stderr] Downloaded ab_glyph v0.2.32 [INFO] [stderr] Downloaded orbclient v0.3.51 [INFO] [stderr] Downloaded metal v0.28.0 [INFO] [stderr] Downloaded sdl2-sys v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b0a323759daf157d176644ef0dfdd2b06515a06d947a4f0b9acc61c2174e639 [INFO] running `Command { std: "docker" "start" "-a" "9b0a323759daf157d176644ef0dfdd2b06515a06d947a4f0b9acc61c2174e639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0a323759daf157d176644ef0dfdd2b06515a06d947a4f0b9acc61c2174e639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0a323759daf157d176644ef0dfdd2b06515a06d947a4f0b9acc61c2174e639", kill_on_drop: false }` [INFO] [stdout] 9b0a323759daf157d176644ef0dfdd2b06515a06d947a4f0b9acc61c2174e639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 452f12bc1b729785aa251141046c66a6d4cbd23c4f5fdadd97274d6c94afec5c [INFO] running `Command { std: "docker" "start" "-a" "452f12bc1b729785aa251141046c66a6d4cbd23c4f5fdadd97274d6c94afec5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Compiling wayland-client v0.31.13 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.13 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking wayland-protocols v0.32.11 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking wayland-protocols-misc v0.3.11 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.11 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking emath v0.28.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking ecolor v0.28.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking epaint v0.28.1 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking async-once-cell v0.5.4 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking egui v0.28.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking webbrowser v1.2.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking egui_glow v0.28.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking jiff v0.2.23 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking atspi-common v0.3.0 [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 mistengine v1.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ide/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompileResult` and `self` [INFO] [stdout] --> src/ide/app.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::compiler::{self, CompileResult, cache::CompileCache}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ide/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompileResult` and `self` [INFO] [stdout] --> src/ide/app.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::compiler::{self, CompileResult, cache::CompileCache}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeAnnot` [INFO] [stdout] --> src/compiler/codegen.rs:5:77 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::parser::{Stmt, Expr, BinOpKind, UnaryOpKind, AssignOp, TypeAnnot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeAnnot` [INFO] [stdout] --> src/compiler/codegen.rs:5:77 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::compiler::parser::{Stmt, Expr, BinOpKind, UnaryOpKind, AssignOp, TypeAnnot}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `minifb::Window::limit_update_rate`: use set_fps_target instead, this function will be removed in the future. [INFO] [stdout] --> src/runtime/sdl_window.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | window.limit_update_rate(Some(std::time::Duration::from_micros(16_600))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `minifb::Window::limit_update_rate`: use set_fps_target instead, this function will be removed in the future. [INFO] [stdout] --> src/runtime/sdl_window.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | window.limit_update_rate(None); // 無制限 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `minifb::Window::limit_update_rate`: use set_fps_target instead, this function will be removed in the future. [INFO] [stdout] --> src/runtime/sdl_window.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | window.limit_update_rate(Some(std::time::Duration::from_micros(16_600))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `minifb::Window::limit_update_rate`: use set_fps_target instead, this function will be removed in the future. [INFO] [stdout] --> src/runtime/sdl_window.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | window.limit_update_rate(None); // 無制限 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwargs` [INFO] [stdout] --> src/runtime/vm.rs:369:58 [INFO] [stdout] | [INFO] [stdout] 369 | fn call_builtin(&mut self, name: &str, av: &[Value], kwargs: &[(String, Expr)]) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kwargs` [INFO] [stdout] --> src/runtime/vm.rs:369:58 [INFO] [stdout] | [INFO] [stdout] 369 | fn call_builtin(&mut self, name: &str, av: &[Value], kwargs: &[(String, Expr)]) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/sdl_window.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut plot=|buf:&mut[u32],xi:i32,yi:i32,br:f32|{ [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/runtime/sdl_window.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut plot=|buf:&mut[u32],xi:i32,yi:i32,br:f32|{ [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: type `Signal` is more private than the item `Interpreter::exec_stmts` [INFO] [stdout] --> src/runtime/vm.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn exec_stmts(&mut self, stmts: &[Stmt]) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Interpreter::exec_stmts` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Signal` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/runtime/vm.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | enum Signal { Return(Value), Break, Continue } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Signal` is more private than the item `Interpreter::exec_stmt` [INFO] [stdout] --> src/runtime/vm.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn exec_stmt(&mut self, stmt: &Stmt) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Interpreter::exec_stmt` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Signal` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/runtime/vm.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | enum Signal { Return(Value), Break, Continue } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Signal` is more private than the item `Interpreter::exec_stmts` [INFO] [stdout] --> src/runtime/vm.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn exec_stmts(&mut self, stmts: &[Stmt]) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Interpreter::exec_stmts` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Signal` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/runtime/vm.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | enum Signal { Return(Value), Break, Continue } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Signal` is more private than the item `Interpreter::exec_stmt` [INFO] [stdout] --> src/runtime/vm.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn exec_stmt(&mut self, stmt: &Stmt) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Interpreter::exec_stmt` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Signal` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/runtime/vm.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | enum Signal { Return(Value), Break, Continue } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_line` and `cursor` are never read [INFO] [stdout] --> src/ide/theme.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub active_line: Color32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub cursor: Color32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Debug` is never constructed [INFO] [stdout] --> src/ide/console.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum LineKind { Normal, Debug, Warn, Error } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `LineKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_line` is never used [INFO] [stdout] --> src/ide/console.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ConsoleLine { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 13 | pub fn normal(t: impl Into) -> Self { Self { kind: LineKind::Normal, text: t.into() } } [INFO] [stdout] 14 | pub fn debug_line(t: impl Into) -> Self { Self { kind: LineKind::Debug, text: t.into() } } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/ide/project.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ProjectEntry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn save(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Log`, `Warn`, `Error`, `Done`, and `Failed` are never constructed [INFO] [stdout] --> src/ide/app.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum BuildMsg { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 20 | Log(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Warn(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Done { exe: PathBuf }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_draw_cmd` is never used [INFO] [stdout] --> src/ide/app.rs:799:4 [INFO] [stdout] | [INFO] [stdout] 799 | fn render_draw_cmd(painter: &egui::Painter, cmd: &DrawCmd, origin: egui::Pos2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompileResult` is never used [INFO] [stdout] --> src/compiler/mod.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum CompileResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_source` is never used [INFO] [stdout] --> src/compiler/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_source(source: &str) -> Result, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn compile( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret` is never read [INFO] [stdout] --> src/compiler/parser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | Lambda { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 61 | params: Vec<(String, TypeAnnot)>, [INFO] [stdout] 62 | ret: TypeAnnot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/compiler/parser.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | VarDecl { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 84 | name: String, [INFO] [stdout] 85 | ty: TypeAnnot, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret` is never read [INFO] [stdout] --> src/compiler/parser.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | FuncDef { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 101 | ret: TypeAnnot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | Import(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are 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] 159 - Import(String), [INFO] [stdout] 159 + Import(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MistType` is never used [INFO] [stdout] --> src/compiler/analyzer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MistType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnalysisError` is never constructed [INFO] [stdout] --> src/compiler/analyzer.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AnalysisError { pub msg: String, pub line: usize } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/compiler/analyzer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Scope { vars: HashMap } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_line` and `cursor` are never read [INFO] [stdout] --> src/ide/theme.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub active_line: Color32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub cursor: Color32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `declare`, and `lookup` are never used [INFO] [stdout] --> src/compiler/analyzer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Scope { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 37 | fn new() -> Self { Scope { vars: HashMap::new() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | fn declare(&mut self, name: &str, ty: MistType) { self.vars.insert(name.to_string(), ty); } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | fn lookup(&self, name: &str) -> Option<&MistType> { self.vars.get(name) } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Analyzer` is never constructed [INFO] [stdout] --> src/compiler/analyzer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Analyzer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Debug` is never constructed [INFO] [stdout] --> src/ide/console.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum LineKind { Normal, Debug, Warn, Error } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `LineKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_line` is never used [INFO] [stdout] --> src/ide/console.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ConsoleLine { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 13 | pub fn normal(t: impl Into) -> Self { Self { kind: LineKind::Normal, text: t.into() } } [INFO] [stdout] 14 | pub fn debug_line(t: impl Into) -> Self { Self { kind: LineKind::Debug, text: t.into() } } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/ide/project.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ProjectEntry { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn save(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Log`, `Warn`, `Error`, `Done`, and `Failed` are never constructed [INFO] [stdout] --> src/ide/app.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum BuildMsg { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 20 | Log(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Warn(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Done { exe: PathBuf }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_draw_cmd` is never used [INFO] [stdout] --> src/ide/app.rs:799:4 [INFO] [stdout] | [INFO] [stdout] 799 | fn render_draw_cmd(painter: &egui::Painter, cmd: &DrawCmd, origin: egui::Pos2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompileResult` is never used [INFO] [stdout] --> src/compiler/mod.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum CompileResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_source` is never used [INFO] [stdout] --> src/compiler/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_source(source: &str) -> Result, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn compile( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/analyzer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Analyzer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn push_scope(&mut self) { self.scope_stack.push(Scope::new()); } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | fn pop_scope(&mut self) { self.scope_stack.pop(); } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | [INFO] [stdout] 74 | fn declare(&mut self, name: &str, ty: MistType) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn lookup(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn analyze(&mut self, stmts: &[Stmt]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn check_stmt(&mut self, stmt: &Stmt) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn infer_expr(&mut self, expr: &Expr) -> MistType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeGen` is never constructed [INFO] [stdout] --> src/compiler/codegen.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CodeGen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret` is never read [INFO] [stdout] --> src/compiler/parser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | Lambda { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 61 | params: Vec<(String, TypeAnnot)>, [INFO] [stdout] 62 | ret: TypeAnnot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/codegen.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CodeGen { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn indent_str(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn emit(&mut self, s: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn emitln(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn generate(&mut self, stmts: &[Stmt]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn gen_stmts(&mut self, stmts: &[Stmt]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn gen_stmt(&mut self, stmt: &Stmt) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn gen_expr(&mut self, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_builtin_ident` is never used [INFO] [stdout] --> src/compiler/codegen.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | fn map_builtin_ident(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RUNTIME_HEADER` is never used [INFO] [stdout] --> src/compiler/codegen.rs:407:7 [INFO] [stdout] | [INFO] [stdout] 407 | const RUNTIME_HEADER: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty` is never read [INFO] [stdout] --> src/compiler/parser.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | VarDecl { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 84 | name: String, [INFO] [stdout] 85 | ty: TypeAnnot, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_hash`, `binary_path`, and `timestamp` are never read [INFO] [stdout] --> src/compiler/cache.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | pub source_hash: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub binary_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries` and `cache_dir` are never read [INFO] [stdout] --> src/compiler/cache.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CompileCache { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | entries: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | cache_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `hash_source`, `is_valid`, `get`, `update`, `cache_dir`, and `ensure_cache_dir` are never used [INFO] [stdout] --> src/compiler/cache.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CompileCache { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn hash_source(source: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_valid(&self, source_path: &Path, source_hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get(&self, source_path: &Path) -> Option<&CacheEntry> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn update(&mut self, source_path: PathBuf, source_hash: String, binary_path: PathBuf) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn cache_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn ensure_cache_dir(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameLoop` is never constructed [INFO] [stdout] --> src/runtime/gameloop.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GameLoop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `tick`, `sleep_to_target`, `fps`, `start`, and `stop` are never used [INFO] [stdout] --> src/runtime/gameloop.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl GameLoop { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(fps: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn tick(&mut self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn sleep_to_target(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn fps(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/runtime/renderer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/runtime/renderer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | pub const RED: Color = Color { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub const GREEN: Color = Color { r: 0.0, g: 1.0, b: 0.0, a: 1.0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub const BLUE: Color = Color { r: 0.0, g: 0.0, b: 1.0, a: 1.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub const WHITE: Color = Color { r: 1.0, g: 1.0, b: 1.0, a: 1.0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub const BLACK: Color = Color { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub const TRANSPARENT: Color = Color { r: 0.0, g: 0.0, b: 0.0, a: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub fn new(r: f32, g: f32, b: f32, a: f32) -> Self { Color { r, g, b, a } } [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn from_hex(hex: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn lerp(c1: Color, c2: Color, t: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DrawCommand` is never used [INFO] [stdout] --> src/runtime/renderer.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum DrawCommand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/runtime/renderer.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret` is never read [INFO] [stdout] --> src/compiler/parser.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 98 | FuncDef { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 101 | ret: TypeAnnot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/runtime/renderer.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Renderer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn submit(&mut self, cmd: DrawCommand) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn circle(&mut self, x: f32, y: f32, size: f32, color: Color, skew: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn square(&mut self, x: f32, y: f32, size: f32, color: Color, angle: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn triangle(&mut self, x: f32, y: f32, size: f32, color: Color, angle: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn polygon(&mut self, x: f32, y: f32, size: f32, sides: u32, color: Color) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn diamond(&mut self, x: f32, y: f32, size: f32, color: Color) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn rect(&mut self, x: f32, y: f32, width: f32, height: f32, color: Color) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn line(&mut self, x1: f32, y1: f32, x2: f32, y2: f32, thickness: f32, color: Color) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn image(&mut self, path: &str, x: f32, y: f32, scale: f32, angle: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputConfig` is never constructed [INFO] [stdout] --> src/runtime/input.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InputConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load` and `default_config` are never used [INFO] [stdout] --> src/runtime/input.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InputConfig { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 14 | pub fn load(path: &Path) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn default_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VirtualKey` is never used [INFO] [stdout] --> src/runtime/input.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum VirtualKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/runtime/input.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl VirtualKey { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 56 | pub fn from_str(s: &str) -> VirtualKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputManager` is never constructed [INFO] [stdout] --> src/runtime/input.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct InputManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | Import(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are 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] 159 - Import(String), [INFO] [stdout] 159 + Import(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/runtime/input.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl InputManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 116 | pub fn new(config: InputConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn key_down(&mut self, key: VirtualKey) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn key_up(&mut self, key: VirtualKey) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn action_held(&self, action: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn action_pressed(&self, action: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn action_released(&self, action: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn key_held(&self, key: &VirtualKey) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn key_pressed(&self, key: &VirtualKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn key_released(&self, key: &VirtualKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AABB` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MistType` is never used [INFO] [stdout] --> src/compiler/analyzer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MistType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_circle`, `intersects`, and `contains_point` are never used [INFO] [stdout] --> src/runtime/collider.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AABB { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(x: f32, y: f32, width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from_circle(cx: f32, cy: f32, radius: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn intersects(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn contains_point(&self, px: f32, py: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnalysisError` is never constructed [INFO] [stdout] --> src/compiler/analyzer.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AnalysisError { pub msg: String, pub line: usize } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collider` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Collider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/compiler/analyzer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Scope { vars: HashMap } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_pixel_perfect`, and `collides_with` are never used [INFO] [stdout] --> src/runtime/collider.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Collider { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new(id: u64, aabb: AABB) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_pixel_perfect(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn collides_with(&self, other: &Collider) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `declare`, and `lookup` are never used [INFO] [stdout] --> src/compiler/analyzer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Scope { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 37 | fn new() -> Self { Scope { vars: HashMap::new() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | fn declare(&mut self, name: &str, ty: MistType) { self.vars.insert(name.to_string(), ty); } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | fn lookup(&self, name: &str) -> Option<&MistType> { self.vars.get(name) } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Analyzer` is never constructed [INFO] [stdout] --> src/compiler/analyzer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Analyzer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quadtree` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Quadtree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `clear`, `insert`, `subdivide`, `with_depth`, and `query` are never used [INFO] [stdout] --> src/runtime/collider.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Quadtree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 76 | pub fn new(bounds: AABB, max_objects: usize, max_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn insert(&mut self, collider: Collider) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn subdivide(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn with_depth(bounds: AABB, max_objects: usize, max_depth: usize, depth: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn query(&self, area: &AABB) -> Vec<&Collider> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionWorld` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct CollisionWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_collider`, `update_tree`, and `check_collision` are never used [INFO] [stdout] --> src/runtime/collider.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl CollisionWorld { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 151 | pub fn new(width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn add_collider(&mut self, aabb: AABB) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn update_tree(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn check_collision(&self, id: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonEvent` is never used [INFO] [stdout] --> src/runtime/button.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ButtonEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonState` is never used [INFO] [stdout] --> src/runtime/button.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ButtonState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Button` is never constructed [INFO] [stdout] --> src/runtime/button.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Button { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `on_click`, `on_hover`, `on_release`, and `update` are never used [INFO] [stdout] --> src/runtime/button.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Button { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(id: u64, aabb: AABB) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn on_click(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn on_hover(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn on_release(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn update(&mut self, mouse_x: f32, mouse_y: f32, mouse_pressed: bool, mouse_released: bool) -> ButtonEvent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ButtonManager` is never constructed [INFO] [stdout] --> src/runtime/button.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct ButtonManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/analyzer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Analyzer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn push_scope(&mut self) { self.scope_stack.push(Scope::new()); } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | fn pop_scope(&mut self) { self.scope_stack.pop(); } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | [INFO] [stdout] 74 | fn declare(&mut self, name: &str, ty: MistType) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn lookup(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn analyze(&mut self, stmts: &[Stmt]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn check_stmt(&mut self, stmt: &Stmt) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn infer_expr(&mut self, expr: &Expr) -> MistType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `update_all`, `get`, and `get_mut` are never used [INFO] [stdout] --> src/runtime/button.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl ButtonManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 100 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn add(&mut self, aabb: AABB) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn update_all(&mut self, mx: f32, my: f32, pressed: bool, released: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get(&self, id: u64) -> Option<&Button> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_mut(&mut self, id: u64) -> Option<&mut Button> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text` and `Background` are never constructed [INFO] [stdout] --> src/runtime/vm.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum DrawCmd { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | Text { x: f32, y: f32, text: String, size: f32, color: [f32; 4] }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | Background([f32; 4]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCmd` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeGen` is never constructed [INFO] [stdout] --> src/compiler/codegen.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CodeGen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/compiler/codegen.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CodeGen { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn indent_str(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn emit(&mut self, s: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn emitln(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn generate(&mut self, stmts: &[Stmt]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn gen_stmts(&mut self, stmts: &[Stmt]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn gen_stmt(&mut self, stmt: &Stmt) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn gen_expr(&mut self, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_builtin_ident` is never used [INFO] [stdout] --> src/compiler/codegen.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | fn map_builtin_ident(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RUNTIME_HEADER` is never used [INFO] [stdout] --> src/compiler/codegen.rs:407:7 [INFO] [stdout] | [INFO] [stdout] 407 | const RUNTIME_HEADER: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_hash`, `binary_path`, and `timestamp` are never read [INFO] [stdout] --> src/compiler/cache.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | pub source_hash: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub binary_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries` and `cache_dir` are never read [INFO] [stdout] --> src/compiler/cache.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CompileCache { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | entries: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | cache_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `hash_source`, `is_valid`, `get`, `update`, `cache_dir`, and `ensure_cache_dir` are never used [INFO] [stdout] --> src/compiler/cache.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CompileCache { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn hash_source(source: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_valid(&self, source_path: &Path, source_hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get(&self, source_path: &Path) -> Option<&CacheEntry> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn update(&mut self, source_path: PathBuf, source_hash: String, binary_path: PathBuf) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn cache_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn ensure_cache_dir(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameLoop` is never constructed [INFO] [stdout] --> src/runtime/gameloop.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GameLoop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `tick`, `sleep_to_target`, `fps`, `start`, and `stop` are never used [INFO] [stdout] --> src/runtime/gameloop.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl GameLoop { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(fps: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn tick(&mut self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn sleep_to_target(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn fps(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/runtime/renderer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/runtime/renderer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | pub const RED: Color = Color { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }; [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub const GREEN: Color = Color { r: 0.0, g: 1.0, b: 0.0, a: 1.0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub const BLUE: Color = Color { r: 0.0, g: 0.0, b: 1.0, a: 1.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub const WHITE: Color = Color { r: 1.0, g: 1.0, b: 1.0, a: 1.0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub const BLACK: Color = Color { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub const TRANSPARENT: Color = Color { r: 0.0, g: 0.0, b: 0.0, a: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub fn new(r: f32, g: f32, b: f32, a: f32) -> Self { Color { r, g, b, a } } [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn from_hex(hex: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn lerp(c1: Color, c2: Color, t: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DrawCommand` is never used [INFO] [stdout] --> src/runtime/renderer.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum DrawCommand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/runtime/renderer.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/runtime/renderer.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Renderer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 94 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn submit(&mut self, cmd: DrawCommand) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn circle(&mut self, x: f32, y: f32, size: f32, color: Color, skew: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn square(&mut self, x: f32, y: f32, size: f32, color: Color, angle: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn triangle(&mut self, x: f32, y: f32, size: f32, color: Color, angle: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn polygon(&mut self, x: f32, y: f32, size: f32, sides: u32, color: Color) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn diamond(&mut self, x: f32, y: f32, size: f32, color: Color) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn rect(&mut self, x: f32, y: f32, width: f32, height: f32, color: Color) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn line(&mut self, x1: f32, y1: f32, x2: f32, y2: f32, thickness: f32, color: Color) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn image(&mut self, path: &str, x: f32, y: f32, scale: f32, angle: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputConfig` is never constructed [INFO] [stdout] --> src/runtime/input.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InputConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load` and `default_config` are never used [INFO] [stdout] --> src/runtime/input.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InputConfig { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 14 | pub fn load(path: &Path) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn default_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VirtualKey` is never used [INFO] [stdout] --> src/runtime/input.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum VirtualKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/runtime/input.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl VirtualKey { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 56 | pub fn from_str(s: &str) -> VirtualKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputManager` is never constructed [INFO] [stdout] --> src/runtime/input.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct InputManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/runtime/input.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl InputManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 116 | pub fn new(config: InputConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn key_down(&mut self, key: VirtualKey) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn key_up(&mut self, key: VirtualKey) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn action_held(&self, action: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn action_pressed(&self, action: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn action_released(&self, action: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn key_held(&self, key: &VirtualKey) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn key_pressed(&self, key: &VirtualKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn key_released(&self, key: &VirtualKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AABB` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AABB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_circle`, `intersects`, and `contains_point` are never used [INFO] [stdout] --> src/runtime/collider.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AABB { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(x: f32, y: f32, width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from_circle(cx: f32, cy: f32, radius: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn intersects(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn contains_point(&self, px: f32, py: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collider` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Collider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_pixel_perfect`, and `collides_with` are never used [INFO] [stdout] --> src/runtime/collider.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Collider { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new(id: u64, aabb: AABB) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_pixel_perfect(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn collides_with(&self, other: &Collider) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quadtree` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Quadtree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `clear`, `insert`, `subdivide`, `with_depth`, and `query` are never used [INFO] [stdout] --> src/runtime/collider.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Quadtree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 76 | pub fn new(bounds: AABB, max_objects: usize, max_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn insert(&mut self, collider: Collider) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn subdivide(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn with_depth(bounds: AABB, max_objects: usize, max_depth: usize, depth: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn query(&self, area: &AABB) -> Vec<&Collider> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionWorld` is never constructed [INFO] [stdout] --> src/runtime/collider.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct CollisionWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_collider`, `update_tree`, and `check_collision` are never used [INFO] [stdout] --> src/runtime/collider.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl CollisionWorld { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 151 | pub fn new(width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn add_collider(&mut self, aabb: AABB) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn update_tree(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn check_collision(&self, id: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonEvent` is never used [INFO] [stdout] --> src/runtime/button.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ButtonEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonState` is never used [INFO] [stdout] --> src/runtime/button.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ButtonState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Button` is never constructed [INFO] [stdout] --> src/runtime/button.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Button { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `on_click`, `on_hover`, `on_release`, and `update` are never used [INFO] [stdout] --> src/runtime/button.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Button { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(id: u64, aabb: AABB) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn on_click(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn on_hover(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn on_release(mut self, f: F) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn update(&mut self, mouse_x: f32, mouse_y: f32, mouse_pressed: bool, mouse_released: bool) -> ButtonEvent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ButtonManager` is never constructed [INFO] [stdout] --> src/runtime/button.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct ButtonManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `update_all`, `get`, and `get_mut` are never used [INFO] [stdout] --> src/runtime/button.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl ButtonManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 100 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn add(&mut self, aabb: AABB) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn update_all(&mut self, mx: f32, my: f32, pressed: bool, released: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get(&self, id: u64) -> Option<&Button> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_mut(&mut self, id: u64) -> Option<&mut Button> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text` and `Background` are never constructed [INFO] [stdout] --> src/runtime/vm.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum DrawCmd { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | Text { x: f32, y: f32, text: String, size: f32, color: [f32; 4] }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | Background([f32; 4]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCmd` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "452f12bc1b729785aa251141046c66a6d4cbd23c4f5fdadd97274d6c94afec5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452f12bc1b729785aa251141046c66a6d4cbd23c4f5fdadd97274d6c94afec5c", kill_on_drop: false }` [INFO] [stdout] 452f12bc1b729785aa251141046c66a6d4cbd23c4f5fdadd97274d6c94afec5c