[INFO] cloning repository https://github.com/RootOfInfinity/Prism-PI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RootOfInfinity/Prism-PI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootOfInfinity%2FPrism-PI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootOfInfinity%2FPrism-PI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f342991508386da179ca5204d463e5cba2e9f5fa [INFO] checking RootOfInfinity/Prism-PI against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootOfInfinity%2FPrism-PI" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RootOfInfinity/Prism-PI [INFO] finished tweaking git repo https://github.com/RootOfInfinity/Prism-PI [INFO] tweaked toml for git repo https://github.com/RootOfInfinity/Prism-PI written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RootOfInfinity/Prism-PI on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RootOfInfinity/Prism-PI 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" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f967700b2dc8d84cf58323344151f7c70c86aa9bbc0206c776748bb6142f2bd [INFO] running `Command { std: "docker" "start" "-a" "2f967700b2dc8d84cf58323344151f7c70c86aa9bbc0206c776748bb6142f2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f967700b2dc8d84cf58323344151f7c70c86aa9bbc0206c776748bb6142f2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f967700b2dc8d84cf58323344151f7c70c86aa9bbc0206c776748bb6142f2bd", kill_on_drop: false }` [INFO] [stdout] 2f967700b2dc8d84cf58323344151f7c70c86aa9bbc0206c776748bb6142f2bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbb3b5a996997fd50898bd3b461910b1c5731badaae552f1c2d7a879dd657141 [INFO] running `Command { std: "docker" "start" "-a" "cbb3b5a996997fd50898bd3b461910b1c5731badaae552f1c2d7a879dd657141", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking core_maths v0.1.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Checking unicode-ccc v0.4.0 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Checking zune-jpeg v0.4.20 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Checking fontdb v0.23.0 [INFO] [stderr] Checking lyon_geom v1.0.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Checking async-signal v0.2.12 [INFO] [stderr] Checking async-process v2.4.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking kurbo v0.11.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cpp_common v0.5.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling cpp_build v0.5.10 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Checking lyon_path v1.0.7 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling data-url v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking imagesize v0.13.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking const-field-offset v0.1.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling qttypes v0.2.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling vtable-macro v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling i-slint-common v1.12.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling linereader v0.4.0 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling i-slint-compiler v1.12.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking accesskit v0.19.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking vtable v0.3.0 [INFO] [stderr] Compiling linked_hash_set v0.1.5 [INFO] [stderr] Checking accesskit_consumer v0.28.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling rowan v0.16.1 [INFO] [stderr] Compiling polib v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling zvariant_derive v5.6.0 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling lyon_extra v1.0.3 [INFO] [stderr] Compiling auto_enums v0.8.7 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling zvariant v5.6.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling url v2.5.6 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Checking lyon_algorithms v1.0.5 [INFO] [stderr] Compiling i-slint-core-macros v1.12.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking scoped-tls-hkt v0.1.5 [INFO] [stderr] Checking clru v0.6.2 [INFO] [stderr] Compiling typed-index-collections v3.3.0 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling cpp_macros v0.5.10 [INFO] [stderr] Compiling i-slint-backend-qt v1.12.1 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling softbuffer v0.4.6 [INFO] [stderr] Checking tiny-xlib v0.2.4 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking femtovg v0.14.1 [INFO] [stderr] Checking i-slint-core v1.12.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking x11-clipboard v0.9.3 [INFO] [stderr] Compiling i-slint-backend-winit v1.12.1 [INFO] [stderr] Compiling i-slint-backend-selector v1.12.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking copypasta v0.10.2 [INFO] [stderr] Checking cpp v0.5.10 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking zbus_xml v5.0.2 [INFO] [stderr] Compiling zbus_macros v5.9.0 [INFO] [stderr] Checking zbus-lockstep v0.5.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Checking i-slint-renderer-femtovg v1.12.1 [INFO] [stderr] Checking zbus v5.9.0 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.12.0 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.15.0 [INFO] [stderr] Checking accesskit_winit v0.27.0 [INFO] [stderr] Compiling slint-build v1.12.1 [INFO] [stderr] Compiling Prism-PI v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling slint-macros v1.12.1 [INFO] [stderr] Checking slint v1.12.1 [INFO] [stderr] warning: Prism-PI@0.1.0: Exported component 'Block' doesn't inherit Window. No code will be generated for it [INFO] [stderr] warning: Prism-PI@0.1.0: --> /opt/rustwide/workdir/ui/main.slint:14:18 [INFO] [stderr] warning: Prism-PI@0.1.0: | [INFO] [stderr] warning: Prism-PI@0.1.0: 14 | export component Block inherits Rectangle{ [INFO] [stderr] warning: Prism-PI@0.1.0: | ^ [INFO] [stderr] warning: Prism-PI@0.1.0: Exported component 'CodeArea' doesn't inherit Window. No code will be generated for it [INFO] [stderr] warning: Prism-PI@0.1.0: --> /opt/rustwide/workdir/ui/main.slint:161:18 [INFO] [stderr] warning: Prism-PI@0.1.0: | [INFO] [stderr] warning: Prism-PI@0.1.0: 161 | export component CodeArea inherits VerticalLayout { [INFO] [stderr] warning: Prism-PI@0.1.0: | ^ [INFO] [stderr] warning: Prism-PI@0.1.0: Exported component 'PopUp' doesn't inherit Window. No code will be generated for it [INFO] [stderr] warning: Prism-PI@0.1.0: --> /opt/rustwide/workdir/ui/main.slint:124:18 [INFO] [stderr] warning: Prism-PI@0.1.0: | [INFO] [stderr] warning: Prism-PI@0.1.0: 124 | export component PopUp inherits VerticalLayout { [INFO] [stderr] warning: Prism-PI@0.1.0: | ^ [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/gui/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Assign` [INFO] [stdout] --> src/gui/mod.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use blockdata::{Assign, Block, BlockType, World, WorldManipulation}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Model`, and `ToSharedString` [INFO] [stdout] --> src/gui/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use slint::{Color, ComponentHandle, Model, ToSharedString, format, invoke_from_event_loop}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IfBlk` [INFO] [stdout] --> src/gui/data2gui.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gui::blockdata::{BlockType, IfBlk}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprAST`, `Expression`, `FunctionAst`, `IfBlock`, `Loc`, and `Statement` [INFO] [stdout] --> src/lang/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use ast::{ExprAST, Expression, FunctionAst, IfBlock, Loc, Statement}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/gui/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Assign` [INFO] [stdout] --> src/gui/mod.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use blockdata::{Assign, Block, BlockType, World, WorldManipulation}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Model`, and `ToSharedString` [INFO] [stdout] --> src/gui/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use slint::{Color, ComponentHandle, Model, ToSharedString, format, invoke_from_event_loop}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IfBlk` [INFO] [stdout] --> src/gui/data2gui.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gui::blockdata::{BlockType, IfBlk}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncCompiler` [INFO] [stdout] --> src/lang/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::{CompilerComposer, FuncCompiler}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal` and `Type` [INFO] [stdout] --> src/lang/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use tokens::{Literal, Type}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter::Peekable` and `str::Chars` [INFO] [stdout] --> src/lang/lexer.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, iter::Peekable, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokens::Type` [INFO] [stdout] --> src/lang/bytecode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::tokens::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Assignment` [INFO] [stdout] --> src/lang/codegen.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ast::{Assignment, DotOp, ExprAST, FunctionAst, Statement}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/codegen.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_const(consts: &(Vec), pool: &Vec, lit: &Literal) -> Option { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - pub fn get_const(consts: &(Vec), pool: &Vec, lit: &Literal) -> Option { [INFO] [stdout] 75 + pub fn get_const(consts: &Vec , pool: &Vec, lit: &Literal) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/lang/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokens::Type` [INFO] [stdout] --> src/lang/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::tokens::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Loc` [INFO] [stdout] --> src/lang/repl.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{ast::Loc, lexer::LexEngine, tokens::Token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/tester/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, time::Duration}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/tester/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | tokens::{Literal, Type}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprAST`, `Expression`, `FunctionAst`, `IfBlock`, `Loc`, and `Statement` [INFO] [stdout] --> src/lang/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use ast::{ExprAST, Expression, FunctionAst, IfBlock, Loc, Statement}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuncCompiler` [INFO] [stdout] --> src/lang/mod.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::{CompilerComposer, FuncCompiler}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Literal` and `Type` [INFO] [stdout] --> src/lang/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use tokens::{Literal, Type}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter::Peekable` and `str::Chars` [INFO] [stdout] --> src/lang/lexer.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, iter::Peekable, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokens::Type` [INFO] [stdout] --> src/lang/bytecode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::tokens::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Assignment` [INFO] [stdout] --> src/lang/codegen.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ast::{Assignment, DotOp, ExprAST, FunctionAst, Statement}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lang/codegen.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_const(consts: &(Vec), pool: &Vec, lit: &Literal) -> Option { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - pub fn get_const(consts: &(Vec), pool: &Vec, lit: &Literal) -> Option { [INFO] [stdout] 75 + pub fn get_const(consts: &Vec , pool: &Vec, lit: &Literal) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/lang/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokens::Type` [INFO] [stdout] --> src/lang/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::tokens::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Loc` [INFO] [stdout] --> src/lang/repl.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{ast::Loc, lexer::LexEngine, tokens::Token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/tester/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, time::Duration}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/tester/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | tokens::{Literal, Type}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/gui/mod.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run_gui_test(args: Vec) -> Result<(), slint::PlatformError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argstr` [INFO] [stdout] --> src/lang/codegen.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | for (argstr, argtype) in self.func.params.iter().rev() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_argstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | WrappedVal::Int(lhs) if matches!(rhs, WrappedVal::Int(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | WrappedVal::Dcml(lhs) if matches!(rhs, WrappedVal::Dcml(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | WrappedVal::Int(lhs) if matches!(rhs, WrappedVal::Int(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:55:69 [INFO] [stdout] | [INFO] [stdout] 55 | WrappedVal::Dcml(lhs) if matches!(rhs, WrappedVal::Dcml(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:69:67 [INFO] [stdout] | [INFO] [stdout] 69 | WrappedVal::Int(lhs) if matches!(rhs, WrappedVal::Int(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:75:69 [INFO] [stdout] | [INFO] [stdout] 75 | WrappedVal::Dcml(lhs) if matches!(rhs, WrappedVal::Dcml(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_op` [INFO] [stdout] --> src/lang/typecheck.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | ExprAST::DotOp(dot_op, expr) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/lang/typecheck.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | ExprAST::DotOp(dot_op, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_be_indexed` [INFO] [stdout] --> src/lang/typecheck.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | ExprAST::Indexed(to_be_indexed, index) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_be_indexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lang/typecheck.rs:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | ExprAST::Indexed(to_be_indexed, index) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum BlockType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 22 | FuncStart(Func), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | Declaration(Type, Assign), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | Assignment(Assign), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Return(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | // Return(VisualExpr), [INFO] [stdout] 29 | If(IfBlk), [INFO] [stdout] | ^^ [INFO] [stdout] 30 | IfElse(IfBlk, BlockID), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | While(WhileBlk), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Debug` and `Clone`, 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: fields `vtype` and `id` are never read [INFO] [stdout] --> src/gui/blockdata.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct VisualExpr { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | vtype: VExprType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisualExpr` 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: variants `BinOp`, `Literal`, `Variable`, and `None` are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum VExprType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 45 | BinOp(BinOperator), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | Literal(Type, Value), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VExprType` 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: variants `Int`, `Dcml`, `Bool`, and `None` are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 53 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Dcml(f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: variants `Int`, `Dcml`, `Bool`, and `None` are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 61 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | Dcml, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: fields `fname`, `ret_type`, and `args` are never read [INFO] [stdout] --> src/gui/blockdata.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 71 | fname: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | ret_type: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | args: Vec<(String, Type)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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: field `cond` is never read [INFO] [stdout] --> src/gui/blockdata.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct IfBlk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 85 | pub cond: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfBlk` 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: field `cond` is never read [INFO] [stdout] --> src/gui/blockdata.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct WhileBlk { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 92 | pub cond: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileBlk` 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: fields `op_enum`, `left`, and `right` are never read [INFO] [stdout] --> src/gui/blockdata.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct BinOperator { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 101 | op_enum: BinOp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | left: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | // left: ExprID, [INFO] [stdout] 104 | right: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOperator` 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: multiple variants are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 110 | // Basic arithmetic [INFO] [stdout] 111 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 118 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Ls, [INFO] [stdout] | ^^ [INFO] [stdout] 120 | Gr, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] 122 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 125 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 126 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 127 | Xor, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` 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: methods `rem` and `attach_else` are never used [INFO] [stdout] --> src/gui/blockdata.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait WorldManipulation { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn rem(&mut self, block_deleted: BlockID); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn attach_else(&mut self, block: BlockID, attaching: BlockID); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/lang/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct IfBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 65 | pub cond: Expression, [INFO] [stdout] 66 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfBlock` 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: field `loc` is never read [INFO] [stdout] --> src/lang/ast.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct WhileBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 73 | pub cond: Expression, [INFO] [stdout] 74 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileBlock` 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: method `append_string` is never used [INFO] [stdout] --> src/lang/lexer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LexEngine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn append_string(&mut self, new_stuff: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_tok` is never used [INFO] [stdout] --> src/lang/parser.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParsingMachine { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn append_tok(&mut self, new_stuff: Vec<(Token, Loc)>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Jz` is never constructed [INFO] [stdout] --> src/lang/asm.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 217 | Jz(String), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/lang/bytecode.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALLSTACK_NUM` is never used [INFO] [stdout] --> src/lang/codegen.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const CALLSTACK_NUM: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/lang/vm.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pool: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang/errors.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl CompileError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(e_type: ErrorType, line: u32, col: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VariableError` is never constructed [INFO] [stdout] --> src/lang/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | VariableError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` 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: field `code` is never read [INFO] [stdout] --> src/lang/ctrlflow.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct BasicBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Repl` is never constructed [INFO] [stdout] --> src/lang/repl.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Repl { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/lang/repl.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Repl { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn start(&self) -> ! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs_type` and `output_type` are never read [INFO] [stdout] --> src/tester/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TestInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | pub code: String, [INFO] [stdout] 22 | pub inputs_type: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub output_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/vm.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | tx.send(x); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = tx.send(x); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/gui/mod.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn run_gui_test(args: Vec) -> Result<(), slint::PlatformError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argstr` [INFO] [stdout] --> src/lang/codegen.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | for (argstr, argtype) in self.func.params.iter().rev() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_argstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | WrappedVal::Int(lhs) if matches!(rhs, WrappedVal::Int(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | WrappedVal::Dcml(lhs) if matches!(rhs, WrappedVal::Dcml(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | WrappedVal::Int(lhs) if matches!(rhs, WrappedVal::Int(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:55:69 [INFO] [stdout] | [INFO] [stdout] 55 | WrappedVal::Dcml(lhs) if matches!(rhs, WrappedVal::Dcml(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:69:67 [INFO] [stdout] | [INFO] [stdout] 69 | WrappedVal::Int(lhs) if matches!(rhs, WrappedVal::Int(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/lang/wrapped_val.rs:75:69 [INFO] [stdout] | [INFO] [stdout] 75 | WrappedVal::Dcml(lhs) if matches!(rhs, WrappedVal::Dcml(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_op` [INFO] [stdout] --> src/lang/typecheck.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | ExprAST::DotOp(dot_op, expr) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/lang/typecheck.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | ExprAST::DotOp(dot_op, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_be_indexed` [INFO] [stdout] --> src/lang/typecheck.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | ExprAST::Indexed(to_be_indexed, index) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_be_indexed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lang/typecheck.rs:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | ExprAST::Indexed(to_be_indexed, index) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum BlockType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 22 | FuncStart(Func), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | Declaration(Type, Assign), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | Assignment(Assign), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Return(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | // Return(VisualExpr), [INFO] [stdout] 29 | If(IfBlk), [INFO] [stdout] | ^^ [INFO] [stdout] 30 | IfElse(IfBlk, BlockID), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | While(WhileBlk), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Debug` and `Clone`, 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: fields `vtype` and `id` are never read [INFO] [stdout] --> src/gui/blockdata.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct VisualExpr { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | vtype: VExprType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisualExpr` 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: variants `BinOp`, `Literal`, `Variable`, and `None` are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum VExprType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 45 | BinOp(BinOperator), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | Literal(Type, Value), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VExprType` 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: variants `Int`, `Dcml`, `Bool`, and `None` are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 53 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Dcml(f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: variants `Int`, `Dcml`, `Bool`, and `None` are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 61 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | Dcml, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: fields `fname`, `ret_type`, and `args` are never read [INFO] [stdout] --> src/gui/blockdata.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Func { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 71 | fname: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | ret_type: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | args: Vec<(String, Type)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Func` 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: field `cond` is never read [INFO] [stdout] --> src/gui/blockdata.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct IfBlk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 85 | pub cond: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfBlk` 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: field `cond` is never read [INFO] [stdout] --> src/gui/blockdata.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct WhileBlk { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 92 | pub cond: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileBlk` 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: fields `op_enum`, `left`, and `right` are never read [INFO] [stdout] --> src/gui/blockdata.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct BinOperator { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 101 | op_enum: BinOp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | left: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | // left: ExprID, [INFO] [stdout] 104 | right: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOperator` 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: multiple variants are never constructed [INFO] [stdout] --> src/gui/blockdata.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 110 | // Basic arithmetic [INFO] [stdout] 111 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 118 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Ls, [INFO] [stdout] | ^^ [INFO] [stdout] 120 | Gr, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] 122 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 125 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 126 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 127 | Xor, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` 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: methods `rem` and `attach_else` are never used [INFO] [stdout] --> src/gui/blockdata.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait WorldManipulation { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn rem(&mut self, block_deleted: BlockID); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn attach_else(&mut self, block: BlockID, attaching: BlockID); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/lang/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct IfBlock { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 65 | pub cond: Expression, [INFO] [stdout] 66 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfBlock` 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: field `loc` is never read [INFO] [stdout] --> src/lang/ast.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct WhileBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 73 | pub cond: Expression, [INFO] [stdout] 74 | pub loc: Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileBlock` 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: method `append_string` is never used [INFO] [stdout] --> src/lang/lexer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl LexEngine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn append_string(&mut self, new_stuff: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_tok` is never used [INFO] [stdout] --> src/lang/parser.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParsingMachine { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn append_tok(&mut self, new_stuff: Vec<(Token, Loc)>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Jz` is never constructed [INFO] [stdout] --> src/lang/asm.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 217 | Jz(String), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/lang/bytecode.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALLSTACK_NUM` is never used [INFO] [stdout] --> src/lang/codegen.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const CALLSTACK_NUM: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/lang/vm.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pool: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang/errors.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl CompileError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(e_type: ErrorType, line: u32, col: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VariableError` is never constructed [INFO] [stdout] --> src/lang/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | VariableError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` 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: field `code` is never read [INFO] [stdout] --> src/lang/ctrlflow.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct BasicBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 10 | code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Repl` is never constructed [INFO] [stdout] --> src/lang/repl.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Repl { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/lang/repl.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Repl { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn start(&self) -> ! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs_type` and `output_type` are never read [INFO] [stdout] --> src/tester/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TestInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | pub code: String, [INFO] [stdout] 22 | pub inputs_type: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub output_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/vm.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | tx.send(x); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = tx.send(x); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lang/repl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | io::stdin().read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = io::stdin().read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "cbb3b5a996997fd50898bd3b461910b1c5731badaae552f1c2d7a879dd657141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb3b5a996997fd50898bd3b461910b1c5731badaae552f1c2d7a879dd657141", kill_on_drop: false }` [INFO] [stdout] cbb3b5a996997fd50898bd3b461910b1c5731badaae552f1c2d7a879dd657141