[INFO] cloning repository https://github.com/enricobn/rasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enricobn/rasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c206b867d3456f073cc414e616597acef06e23b3 [INFO] checking enricobn/rasm against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enricobn/rasm on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/enricobn/rasm [INFO] finished tweaking git repo https://github.com/enricobn/rasm [INFO] tweaked toml for git repo https://github.com/enricobn/rasm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enricobn/rasm 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test_bin v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3294069bce5b6e43a765640b84beff111c2131cbca3ec4b898b547368acb5349 [INFO] running `Command { std: "docker" "start" "-a" "3294069bce5b6e43a765640b84beff111c2131cbca3ec4b898b547368acb5349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3294069bce5b6e43a765640b84beff111c2131cbca3ec4b898b547368acb5349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3294069bce5b6e43a765640b84beff111c2131cbca3ec4b898b547368acb5349", kill_on_drop: false }` [INFO] [stdout] 3294069bce5b6e43a765640b84beff111c2131cbca3ec4b898b547368acb5349 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 322c245ca88bbdf2efcab8dfbc4ebbb094fb3f9f18538521eeffae64ee4f9938 [INFO] running `Command { std: "docker" "start" "-a" "322c245ca88bbdf2efcab8dfbc4ebbb094fb3f9f18538521eeffae64ee4f9938", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking futures-lite v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling dark-light v1.1.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking dconf_rs v0.3.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Checking detect-desktop-environment v0.2.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Checking wayland-protocols v0.32.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking self_cell v1.1.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking wayland-cursor v0.31.7 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking linux-raw-sys v0.6.5 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking svg_fmt v0.4.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Checking drm-ffi v0.8.0 [INFO] [stderr] Checking rasm-utils v0.1.0-alpha.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling softbuffer v0.4.6 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking iced_core v0.13.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking drm v0.12.0 [INFO] [stderr] Checking etagere v0.2.13 [INFO] [stderr] Checking iced_futures v0.13.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking iced_graphics v0.13.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking rasm-parser v0.1.0-alpha.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking linked_hash_set v0.1.5 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking kurbo v0.10.4 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling winit v0.30.7 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking clipboard_wayland v0.2.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking clipboard_x11 v0.4.2 [INFO] [stderr] Checking iced_runtime v0.13.2 [INFO] [stderr] Checking iced_tiny_skia v0.13.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking window_clipboard v0.4.1 [INFO] [stderr] Checking rasm-core v0.1.0-alpha.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> core/src/enh_type_check/enh_type_check.rs:1056:13 [INFO] [stdout] | [INFO] [stdout] 1055 | panic!("There are more functions for call {call} : {}", call.index); [INFO] [stdout] | ------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 1056 | let min = valid_functions.iter().map(|it| it.1).min().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking test_bin v0.4.0 [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:827:9 [INFO] [stdout] | [INFO] [stdout] 827 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type_type` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 890 | ast_type_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 891 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1021:9 [INFO] [stdout] | [INFO] [stdout] 1021 | modifiers: &ASTModifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1042:9 [INFO] [stdout] | [INFO] [stdout] 1042 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1114:9 [INFO] [stdout] | [INFO] [stdout] 1114 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1306:9 [INFO] [stdout] | [INFO] [stdout] 1306 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_space` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1307:9 [INFO] [stdout] | [INFO] [stdout] 1307 | lambda_space: &LambdaSpace, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1308:9 [INFO] [stdout] | [INFO] [stdout] 1308 | def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | call_parameters: Option<&Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1405:9 [INFO] [stdout] | [INFO] [stdout] 1405 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1406:9 [INFO] [stdout] | [INFO] [stdout] 1406 | return_type: Option<&ASTTypedType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1407:9 [INFO] [stdout] | [INFO] [stdout] 1407 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1418:9 [INFO] [stdout] | [INFO] [stdout] 1418 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1419 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | project: &RasmProject, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_module` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1490:9 [INFO] [stdout] | [INFO] [stdout] 1490 | typed_module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_folder` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1491 | out_folder: &Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1611:9 [INFO] [stdout] | [INFO] [stdout] 1611 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | value: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | namespace: &EnhASTNameSpace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | name: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | param_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | let sp = self.backend.stack_pointer(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | code_gen_context: &CodeGenAsmContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_value` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | is_inner_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ntest v0.9.3 [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/asm/typed_functions_creator_asm.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/codegen/c/c_compiler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mut out_paths: Vec, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | fn transform_before(&self, stack: &CodeGenCContext, before: String) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:358:45 [INFO] [stdout] | [INFO] [stdout] 358 | fn create_command_line_arguments(&self, generated_code: &mut String) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | index: &EnhASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | modifiers: &ASTModifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | index: &EnhASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | modifiers: Option<&ASTModifiers>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:668:9 [INFO] [stdout] | [INFO] [stdout] 668 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | body: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | modifiers: Option<&ASTModifiers>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:817:37 [INFO] [stdout] | [INFO] [stdout] 817 | fn string_literal_return(&self, statics: &mut Statics, before: &mut String, value: &String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:858:33 [INFO] [stdout] | [INFO] [stdout] 858 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:858:59 [INFO] [stdout] | [INFO] [stdout] 858 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:866:40 [INFO] [stdout] | [INFO] [stdout] 866 | fn initialize_static_values(&self, generated_code: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:888:20 [INFO] [stdout] | [INFO] [stdout] 888 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:939:24 [INFO] [stdout] | [INFO] [stdout] 939 | fn preamble(&self, code: &mut String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:975:25 [INFO] [stdout] | [INFO] [stdout] 975 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:977:25 [INFO] [stdout] | [INFO] [stdout] 977 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:978:25 [INFO] [stdout] | [INFO] [stdout] 978 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1054:18 [INFO] [stdout] | [INFO] [stdout] 1054 | for (i, clambda) in clambdas.lambdas.values().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1141:25 [INFO] [stdout] | [INFO] [stdout] 1141 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1143:25 [INFO] [stdout] | [INFO] [stdout] 1143 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1144:25 [INFO] [stdout] | [INFO] [stdout] 1144 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:945:9 [INFO] [stdout] | [INFO] [stdout] 945 | project: &RasmProject, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_folder` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | out_folder: &Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1180:33 [INFO] [stdout] | [INFO] [stdout] 1180 | fn function_preamble(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1184:28 [INFO] [stdout] | [INFO] [stdout] 1184 | fn define_debug(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1277:9 [INFO] [stdout] | [INFO] [stdout] 1277 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | namespace: &EnhASTNameSpace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref_type` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let is_ref_type = get_reference_type_name(&ast_typed_type, type_def_provider).is_some(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ref_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_s` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let deref_s = if dereference { "*" } else { "" }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | i: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | type_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | source: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descr` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | descr: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_descr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | label: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | index_in_context: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_index` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | ast_index: &EnhASTIndex, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_lambda` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | is_lambda: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator_c.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/functions_creator_c.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator_c.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | module: &mut ASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:267:56 [INFO] [stdout] | [INFO] [stdout] 267 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:446:32 [INFO] [stdout] | [INFO] [stdout] 446 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:446:38 [INFO] [stdout] | [INFO] [stdout] 446 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:495:38 [INFO] [stdout] | [INFO] [stdout] 495 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:551:26 [INFO] [stdout] | [INFO] [stdout] 551 | let (namespace, name) = if let Some(ASTTypedType::Enum { namespace, name }) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | if let Some((i, variant)) = enum_def [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:580:25 [INFO] [stdout] | [INFO] [stdout] 580 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:583:25 [INFO] [stdout] | [INFO] [stdout] 583 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | .find(|(i, v)| &v.name == variant_name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator_c.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | for (i, (name, kind)) in lambda_space.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator_c.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_line_options` [INFO] [stdout] --> core/src/codegen/compile_target.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | command_line_options: &CommandLineOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_line_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/enh_ast.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 684 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_msg` [INFO] [stdout] --> core/src/codegen/mod.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | error_msg: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/mod.rs:2049:5 [INFO] [stdout] | [INFO] [stdout] 2049 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/enh_type_check/enh_type_check.rs:2105:13 [INFO] [stdout] | [INFO] [stdout] 2105 | return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/enh_type_check/enh_type_check_error.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | for (index, message, stack) in self.messages.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> core/src/project.rs:478:47 [INFO] [stdout] | [INFO] [stdout] 478 | modules.iter_mut().for_each(|(it, info)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> core/src/project.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 525 | .filter(|(function, info)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ft` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | let ((parameters_names, parameters_positions, signature), ft) = signatures.remove(0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:752:46 [INFO] [stdout] | [INFO] [stdout] 752 | fn struct_property_body(&self, i: usize, name: &str) -> (String, bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:774:44 [INFO] [stdout] | [INFO] [stdout] 774 | fn struct_setter_body(&self, i: usize, name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:868:9 [INFO] [stdout] | [INFO] [stdout] 868 | module: &mut ASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:167:42 [INFO] [stdout] | [INFO] [stdout] 167 | Some(ASTTypeFilter::Exact(t, i)) => t.is_generic(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `astmodifiers` [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:473:65 [INFO] [stdout] | [INFO] [stdout] 473 | ASTStatement::ConstStatement(name, e, position, astmodifiers) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_astmodifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_errors` [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:1128:21 [INFO] [stdout] | [INFO] [stdout] 1128 | let p_errors = Self::add_resolve_type_filter( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_expr_info` [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | ... call_expr_info, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_expr_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_info` [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:451:75 [INFO] [stdout] | [INFO] [stdout] 451 | ... ASTTypeFilter::Exact(asttype, module_info) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asttype_filter` [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:495:70 [INFO] [stdout] | [INFO] [stdout] 495 | ... ASTTypeFilter::Lambda(_, asttype_filter) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asttype_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `libc` is never read [INFO] [stdout] --> core/src/codegen/asm/backend.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BackendNasmi386 { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | linker: Linker, [INFO] [stdout] 51 | libc: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendNasmi386` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strip_ifdef` is never used [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl CodeGenAsm { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | fn strip_ifdef(&self, code: &str, def: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/codegen/asm/typed_functions_creator_asm.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TypedFunctionsCreatorNasmi386 { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 18 | backend: BackendNasmi386, [INFO] [stdout] 19 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_return_value_is_not_used` is never used [INFO] [stdout] --> core/src/enh_type_check/verify.rs:443:4 [INFO] [stdout] | [INFO] [stdout] 443 | fn expression_return_value_is_not_used(statement: &ASTTypedStatement) -> CompilationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_natives` is never used [INFO] [stdout] --> core/src/project.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl RasmProject { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 655 | fn get_natives(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/transformations/functions_creator.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct FunctionsCreatorNasmi386 { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 376 | backend: BackendNasmi386, [INFO] [stdout] 377 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_dependencies_inner_2` is never used [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn function_dependencies_inner_2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:1144:21 [INFO] [stdout] | [INFO] [stdout] 1144 | resolved_generic_types.extend(rgt); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1144 | let _ = resolved_generic_types.extend(rgt); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.5.23 [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> core/src/enh_type_check/enh_type_check.rs:1056:13 [INFO] [stdout] | [INFO] [stdout] 1055 | panic!("There are more functions for call {call} : {}", call.index); [INFO] [stdout] | ------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 1056 | let min = valid_functions.iter().map(|it| it.1).min().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:827:9 [INFO] [stdout] | [INFO] [stdout] 827 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:889:9 [INFO] [stdout] | [INFO] [stdout] 889 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type_type` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 890 | ast_type_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 891 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1021:9 [INFO] [stdout] | [INFO] [stdout] 1021 | modifiers: &ASTModifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1042:9 [INFO] [stdout] | [INFO] [stdout] 1042 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1114:9 [INFO] [stdout] | [INFO] [stdout] 1114 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1306:9 [INFO] [stdout] | [INFO] [stdout] 1306 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_space` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1307:9 [INFO] [stdout] | [INFO] [stdout] 1307 | lambda_space: &LambdaSpace, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1308:9 [INFO] [stdout] | [INFO] [stdout] 1308 | def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | call_parameters: Option<&Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1405:9 [INFO] [stdout] | [INFO] [stdout] 1405 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1406:9 [INFO] [stdout] | [INFO] [stdout] 1406 | return_type: Option<&ASTTypedType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1407:9 [INFO] [stdout] | [INFO] [stdout] 1407 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1418:9 [INFO] [stdout] | [INFO] [stdout] 1418 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1419 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | project: &RasmProject, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_module` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1490:9 [INFO] [stdout] | [INFO] [stdout] 1490 | typed_module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_folder` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1491 | out_folder: &Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:1611:9 [INFO] [stdout] | [INFO] [stdout] 1611 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | value: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | namespace: &EnhASTNameSpace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | name: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | param_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | let sp = self.backend.stack_pointer(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | code_gen_context: &CodeGenAsmContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_value` [INFO] [stdout] --> core/src/codegen/asm/function_call_parameters_asm.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | is_inner_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/asm/typed_functions_creator_asm.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/codegen/c/c_compiler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mut out_paths: Vec, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | fn transform_before(&self, stack: &CodeGenCContext, before: String) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:358:45 [INFO] [stdout] | [INFO] [stdout] 358 | fn create_command_line_arguments(&self, generated_code: &mut String) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | index: &EnhASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | modifiers: &ASTModifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | index: &EnhASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | modifiers: Option<&ASTModifiers>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:668:9 [INFO] [stdout] | [INFO] [stdout] 668 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | body: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | modifiers: Option<&ASTModifiers>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:817:37 [INFO] [stdout] | [INFO] [stdout] 817 | fn string_literal_return(&self, statics: &mut Statics, before: &mut String, value: &String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:858:33 [INFO] [stdout] | [INFO] [stdout] 858 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:858:59 [INFO] [stdout] | [INFO] [stdout] 858 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:866:40 [INFO] [stdout] | [INFO] [stdout] 866 | fn initialize_static_values(&self, generated_code: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:888:20 [INFO] [stdout] | [INFO] [stdout] 888 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:939:24 [INFO] [stdout] | [INFO] [stdout] 939 | fn preamble(&self, code: &mut String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:975:25 [INFO] [stdout] | [INFO] [stdout] 975 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:977:25 [INFO] [stdout] | [INFO] [stdout] 977 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:978:25 [INFO] [stdout] | [INFO] [stdout] 978 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1054:18 [INFO] [stdout] | [INFO] [stdout] 1054 | for (i, clambda) in clambdas.lambdas.values().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1141:25 [INFO] [stdout] | [INFO] [stdout] 1141 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1143:25 [INFO] [stdout] | [INFO] [stdout] 1143 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1144:25 [INFO] [stdout] | [INFO] [stdout] 1144 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:945:9 [INFO] [stdout] | [INFO] [stdout] 945 | project: &RasmProject, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_folder` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | out_folder: &Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1180:33 [INFO] [stdout] | [INFO] [stdout] 1180 | fn function_preamble(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1184:28 [INFO] [stdout] | [INFO] [stdout] 1184 | fn define_debug(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1277:9 [INFO] [stdout] | [INFO] [stdout] 1277 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | namespace: &EnhASTNameSpace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref_type` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let is_ref_type = get_reference_type_name(&ast_typed_type, type_def_provider).is_some(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ref_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_s` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let deref_s = if dereference { "*" } else { "" }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | i: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | type_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | source: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descr` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | descr: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_descr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | label: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | index_in_context: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 547 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 601 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_index` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | ast_index: &EnhASTIndex, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_gen_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | code_gen_context: &CodeGenCContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_gen_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_lambda` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters_c.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | is_lambda: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator_c.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/functions_creator_c.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator_c.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | module: &mut ASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:267:56 [INFO] [stdout] | [INFO] [stdout] 267 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:446:32 [INFO] [stdout] | [INFO] [stdout] 446 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:446:38 [INFO] [stdout] | [INFO] [stdout] 446 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:495:38 [INFO] [stdout] | [INFO] [stdout] 495 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:551:26 [INFO] [stdout] | [INFO] [stdout] 551 | let (namespace, name) = if let Some(ASTTypedType::Enum { namespace, name }) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:572:30 [INFO] [stdout] | [INFO] [stdout] 572 | if let Some((i, variant)) = enum_def [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:580:25 [INFO] [stdout] | [INFO] [stdout] 580 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:583:25 [INFO] [stdout] | [INFO] [stdout] 583 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro_c.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | .find(|(i, v)| &v.name == variant_name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator_c.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | for (i, (name, kind)) in lambda_space.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator_c.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_line_options` [INFO] [stdout] --> core/src/codegen/compile_target.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | command_line_options: &CommandLineOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_line_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/enh_ast.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 684 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_msg` [INFO] [stdout] --> core/src/codegen/mod.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | error_msg: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iced_winit v0.13.0 [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/mod.rs:2049:5 [INFO] [stdout] | [INFO] [stdout] 2049 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/enh_type_check/enh_type_check.rs:2105:13 [INFO] [stdout] | [INFO] [stdout] 2105 | return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/enh_type_check/enh_type_check_error.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | for (index, message, stack) in self.messages.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> core/src/project.rs:478:47 [INFO] [stdout] | [INFO] [stdout] 478 | modules.iter_mut().for_each(|(it, info)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> core/src/project.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 525 | .filter(|(function, info)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ft` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | let ((parameters_names, parameters_positions, signature), ft) = signatures.remove(0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:752:46 [INFO] [stdout] | [INFO] [stdout] 752 | fn struct_property_body(&self, i: usize, name: &str) -> (String, bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:774:44 [INFO] [stdout] | [INFO] [stdout] 774 | fn struct_setter_body(&self, i: usize, name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:868:9 [INFO] [stdout] | [INFO] [stdout] 868 | module: &mut ASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:167:42 [INFO] [stdout] | [INFO] [stdout] 167 | Some(ASTTypeFilter::Exact(t, i)) => t.is_generic(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `astmodifiers` [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:473:65 [INFO] [stdout] | [INFO] [stdout] 473 | ASTStatement::ConstStatement(name, e, position, astmodifiers) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_astmodifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_errors` [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:1128:21 [INFO] [stdout] | [INFO] [stdout] 1128 | let p_errors = Self::add_resolve_type_filter( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_expr_info` [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | ... call_expr_info, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_expr_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_info` [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:451:75 [INFO] [stdout] | [INFO] [stdout] 451 | ... ASTTypeFilter::Exact(asttype, module_info) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asttype_filter` [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:495:70 [INFO] [stdout] | [INFO] [stdout] 495 | ... ASTTypeFilter::Lambda(_, asttype_filter) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asttype_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `libc` is never read [INFO] [stdout] --> core/src/codegen/asm/backend.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BackendNasmi386 { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | linker: Linker, [INFO] [stdout] 51 | libc: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendNasmi386` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strip_ifdef` is never used [INFO] [stdout] --> core/src/codegen/asm/code_gen_asm.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl CodeGenAsm { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | fn strip_ifdef(&self, code: &str, def: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/codegen/asm/typed_functions_creator_asm.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TypedFunctionsCreatorNasmi386 { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 18 | backend: BackendNasmi386, [INFO] [stdout] 19 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_return_value_is_not_used` is never used [INFO] [stdout] --> core/src/enh_type_check/verify.rs:443:4 [INFO] [stdout] | [INFO] [stdout] 443 | fn expression_return_value_is_not_used(statement: &ASTTypedStatement) -> CompilationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_natives` is never used [INFO] [stdout] --> core/src/project.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl RasmProject { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 655 | fn get_natives(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/transformations/functions_creator.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct FunctionsCreatorNasmi386 { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 376 | backend: BackendNasmi386, [INFO] [stdout] 377 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_dependencies_inner_2` is never used [INFO] [stdout] --> core/src/type_check/functions_dependencies.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn function_dependencies_inner_2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> core/src/type_check/ast_type_checker.rs:1144:21 [INFO] [stdout] | [INFO] [stdout] 1144 | resolved_generic_types.extend(rgt); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1144 | let _ = resolved_generic_types.extend(rgt); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasm-server v0.1.0-alpha.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> server/src/server.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | let (module, errors, info) = &state [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> server/src/server.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | let (module, errors, info) = &state [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> server/src/server.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | let (module, errors, info) = &state [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> server/src/server.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | let (module, errors, info) = &state [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> server/src/reference_finder.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | let (module, _errors, info) = if let Some(m) = index [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> server/src/ast_tree.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | .filter(|(pos, element)| match element { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> server/src/ast_tree.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | .filter(|(pos, element)| match element { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_info` [INFO] [stdout] --> server/src/ide_helper.rs:739:30 [INFO] [stdout] | [INFO] [stdout] 739 | if let Some((enum_info, enum_def)) = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `astmodule` [INFO] [stdout] --> server/src/ide_helper.rs:832:42 [INFO] [stdout] | [INFO] [stdout] 832 | ModulePosition::Function(astmodule, astfunction_def) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_astmodule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> server/src/reference_finder.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | let (module, _errors, info) = if let Some(m) = index [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SFExprResult` is more private than the item `StatementFinder::find_expr` [INFO] [stdout] --> server/src/statement_finder.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn find_expr(position: &ASTPosition, expr: &ASTExpression) -> SFExprResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `StatementFinder::find_expr` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SFExprResult` is only usable at visibility `pub(self)` [INFO] [stdout] --> server/src/statement_finder.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum SFExprResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ignore_whitespaces`, `ignore_until`, and `get_if_custom_type_index` are never used [INFO] [stdout] --> server/src/reference_finder.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl ReferenceFinder { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn ignore_whitespaces(lines: &Vec<&str>, index: &EnhASTIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn ignore_until(lines: &Vec<&str>, index: &EnhASTIndex, c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1244 | fn get_if_custom_type_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_token` and `ast_typed_type` are never read [INFO] [stdout] --> server/src/completion_service.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct CompletableItem { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 273 | file_token: FileToken, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | ast_typed_type: ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletableItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `contains` are never used [INFO] [stdout] --> server/src/completion_service.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 277 | impl CompletableItem { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 278 | fn new(start: EnhASTIndex, len: usize, ast_typed_type: ASTTypedType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn contains(&self, index: &EnhASTIndex) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enhanced_modules` is never read [INFO] [stdout] --> server/src/server.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct ServerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 90 | enhanced_modules: EnhancedASTModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/ide_helper.rs:1235:17 [INFO] [stdout] | [INFO] [stdout] 1235 | / val_context.insert_par( [INFO] [stdout] 1236 | | par.name.clone(), [INFO] [stdout] 1237 | | p, [INFO] [stdout] 1238 | | start_index.module_namespace(), [INFO] [stdout] 1239 | | start_index.module_id(), [INFO] [stdout] 1240 | | ); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1235 | let _ = val_context.insert_par( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finder` [INFO] [stdout] --> server/src/reference_finder.rs:1938:13 [INFO] [stdout] | [INFO] [stdout] 1938 | let finder = ReferenceFinder::new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_finder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> server/src/ast_tree.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | .filter(|(pos, element)| match element { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> server/src/ast_tree.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | .filter(|(pos, element)| match element { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_info` [INFO] [stdout] --> server/src/ide_helper.rs:739:30 [INFO] [stdout] | [INFO] [stdout] 739 | if let Some((enum_info, enum_def)) = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `astmodule` [INFO] [stdout] --> server/src/ide_helper.rs:832:42 [INFO] [stdout] | [INFO] [stdout] 832 | ModulePosition::Function(astmodule, astfunction_def) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_astmodule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SFExprResult` is more private than the item `StatementFinder::find_expr` [INFO] [stdout] --> server/src/statement_finder.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn find_expr(position: &ASTPosition, expr: &ASTExpression) -> SFExprResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `StatementFinder::find_expr` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SFExprResult` is only usable at visibility `pub(self)` [INFO] [stdout] --> server/src/statement_finder.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum SFExprResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ignore_whitespaces`, `ignore_until`, and `get_if_custom_type_index` are never used [INFO] [stdout] --> server/src/reference_finder.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl ReferenceFinder { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 291 | fn ignore_whitespaces(lines: &Vec<&str>, index: &EnhASTIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn ignore_until(lines: &Vec<&str>, index: &EnhASTIndex, c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1244 | fn get_if_custom_type_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_collection_items` is never used [INFO] [stdout] --> server/src/reference_finder.rs:2152:8 [INFO] [stdout] | [INFO] [stdout] 2152 | fn format_collection_items(items: &[CompletionItem]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_token` and `ast_typed_type` are never read [INFO] [stdout] --> server/src/completion_service.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct CompletableItem { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 273 | file_token: FileToken, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | ast_typed_type: ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletableItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `contains` are never used [INFO] [stdout] --> server/src/completion_service.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 277 | impl CompletableItem { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 278 | fn new(start: EnhASTIndex, len: usize, ast_typed_type: ASTTypedType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | fn contains(&self, index: &EnhASTIndex) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> server/src/completion_service.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enhanced_modules` is never read [INFO] [stdout] --> server/src/server.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct ServerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 90 | enhanced_modules: EnhancedASTModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/ide_helper.rs:1235:17 [INFO] [stdout] | [INFO] [stdout] 1235 | / val_context.insert_par( [INFO] [stdout] 1236 | | par.name.clone(), [INFO] [stdout] 1237 | | p, [INFO] [stdout] 1238 | | start_index.module_namespace(), [INFO] [stdout] 1239 | | start_index.module_id(), [INFO] [stdout] 1240 | | ); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1235 | let _ = val_context.insert_par( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iced_glyphon v0.6.0 [INFO] [stderr] Checking iced_wgpu v0.13.5 [INFO] [stderr] Checking iced_renderer v0.13.0 [INFO] [stderr] Checking iced_widget v0.13.4 [INFO] [stderr] Checking iced v0.13.1 [INFO] [stderr] Checking rasm-ui v0.1.0-alpha.0 (/opt/rustwide/workdir/ui) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/module_view.rs:42:85 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn show_module<'a>(&'a self, selected_module: &'a SelectedModule) -> Element { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/ui_tree.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, Message> UITree<'a, Message> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(root: UINode<'a, Message>) -> Column { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/ui_tree.rs:92:75 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, Message> UITree<'a, Message> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | fn indent_row(indent: usize, element: Element<'a, Message>) -> Element [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/lib.rs:341:76 [INFO] [stdout] | [INFO] [stdout] 341 | fn show_function<'a>(&'a self, function: &'a ASTFunctionDef) -> Element { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/module_view.rs:42:85 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn show_module<'a>(&'a self, selected_module: &'a SelectedModule) -> Element { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/ui_tree.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, Message> UITree<'a, Message> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(root: UINode<'a, Message>) -> Column { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/ui_tree.rs:92:75 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a, Message> UITree<'a, Message> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | fn indent_row(indent: usize, element: Element<'a, Message>) -> Element [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> ui/src/lib.rs:341:76 [INFO] [stdout] | [INFO] [stdout] 341 | fn show_function<'a>(&'a self, function: &'a ASTFunctionDef) -> Element { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ui/src/module_view.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `catalog` [INFO] [stdout] --> ui/src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let (modules_container, catalog, errors) = project.container_and_catalog( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_catalog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> ui/src/lib.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | let (modules_container, catalog, errors) = project.container_and_catalog( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_function` is never used [INFO] [stdout] --> ui/src/lib.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 341 | fn show_function<'a>(&'a self, function: &'a ASTFunctionDef) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `column` is never read [INFO] [stdout] --> ui/src/ui_tree.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UITree<'a, Message> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | column: Column<'a, Message>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ui/src/ui_tree.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl<'a, Message> UINode<'a, Message> [INFO] [stdout] 35 | | where [INFO] [stdout] 36 | | Message: Clone, [INFO] [stdout] | |___________________- associated function in this implementation [INFO] [stdout] 37 | { [INFO] [stdout] 38 | pub fn new(root: UINode<'a, Message>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> ui/src/module_view.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `catalog` [INFO] [stdout] --> ui/src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let (modules_container, catalog, errors) = project.container_and_catalog( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_catalog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> ui/src/lib.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | let (modules_container, catalog, errors) = project.container_and_catalog( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_function` is never used [INFO] [stdout] --> ui/src/lib.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 341 | fn show_function<'a>(&'a self, function: &'a ASTFunctionDef) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `column` is never read [INFO] [stdout] --> ui/src/ui_tree.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UITree<'a, Message> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | column: Column<'a, Message>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ui/src/ui_tree.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | / impl<'a, Message> UINode<'a, Message> [INFO] [stdout] 35 | | where [INFO] [stdout] 36 | | Message: Clone, [INFO] [stdout] | |___________________- associated function in this implementation [INFO] [stdout] 37 | { [INFO] [stdout] 38 | pub fn new(root: UINode<'a, Message>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasm v0.1.0-alpha.0 (/opt/rustwide/workdir/rasm) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> rasm/src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | UI::show(project, target); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = UI::show(project, target); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> rasm/src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | UI::show(project, target); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = UI::show(project, target); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 25s [INFO] running `Command { std: "docker" "inspect" "322c245ca88bbdf2efcab8dfbc4ebbb094fb3f9f18538521eeffae64ee4f9938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322c245ca88bbdf2efcab8dfbc4ebbb094fb3f9f18538521eeffae64ee4f9938", kill_on_drop: false }` [INFO] [stdout] 322c245ca88bbdf2efcab8dfbc4ebbb094fb3f9f18538521eeffae64ee4f9938