[INFO] fetching crate devalang 0.0.1-alpha.13... [INFO] checking devalang-0.0.1-alpha.13 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate devalang 0.0.1-alpha.13 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate devalang 0.0.1-alpha.13 [INFO] finished tweaking crates.io crate devalang 0.0.1-alpha.13 [INFO] tweaked toml for crates.io crate devalang 0.0.1-alpha.13 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate devalang 0.0.1-alpha.13 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate devalang 0.0.1-alpha.13 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bc3ccc355643dd418ed41ac09cd9b78c20ccb79d183045ddbca882cd74037af [INFO] running `Command { std: "docker" "start" "-a" "4bc3ccc355643dd418ed41ac09cd9b78c20ccb79d183045ddbca882cd74037af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc3ccc355643dd418ed41ac09cd9b78c20ccb79d183045ddbca882cd74037af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc3ccc355643dd418ed41ac09cd9b78c20ccb79d183045ddbca882cd74037af", kill_on_drop: false }` [INFO] [stdout] 4bc3ccc355643dd418ed41ac09cd9b78c20ccb79d183045ddbca882cd74037af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9a081292f9f85c1d5ebdc3a1494c807856fefcf589c90f9f7f4059742098f98 [INFO] running `Command { std: "docker" "start" "-a" "f9a081292f9f85c1d5ebdc3a1494c807856fefcf589c90f9f7f4059742098f98", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking libbz2-rs-sys v0.2.1 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking liblzma v0.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v4.3.0 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking devalang v0.0.1-alpha.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> rust/core/lexer/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel`, `Logger`, `StatementKind`, `Statement`, and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/value.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | store::{ global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `resolver::driver::resolve_statement` and `resolver::value::resolve_value` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | resolver::driver::resolve_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | resolver::value::resolve_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolver::driver::resolve_statement` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | preprocessor::{ module::Module, resolver::driver::resolve_statement }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel` and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | store::{ function::FunctionDef, global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `driver::Parser` and `resolver::group` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser::{ driver::Parser, statement::StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | preprocessor::{ loader::ModuleLoader, resolver::group }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> rust/core/lexer/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel`, `Logger`, `StatementKind`, `Statement`, and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/value.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | store::{ global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `resolver::driver::resolve_statement` and `resolver::value::resolve_value` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | resolver::driver::resolve_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | resolver::value::resolve_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolver::driver::resolve_statement` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | preprocessor::{ module::Module, resolver::driver::resolve_statement }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel` and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | store::{ function::FunctionDef, global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `driver::Parser` and `resolver::group` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser::{ driver::Parser, statement::StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | preprocessor::{ loader::ModuleLoader, resolver::group }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | lexer::token::{ Token, TokenKind }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> rust/core/shared/bank.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> rust/core/utils/path.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{ Component, Path, PathBuf }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | lexer::token::{ Token, TokenKind }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preprocessor::module::Module`, `shared::value::Value`, and `store::global::GlobalStore` [INFO] [stdout] --> rust/core/utils/validation.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{ preprocessor::module::Module, shared::value::Value, store::global::GlobalStore }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{ Arc, Mutex }; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `condition::interprete_condition_statement` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | condition::interprete_condition_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> rust/core/shared/bank.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `audio::engine::AudioEngine` and `shared::value::Value` [INFO] [stdout] --> rust/core/audio/interpreter/let_.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | audio::engine::AudioEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] 4 | shared::value::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind`, `duration::Duration`, `engine::AudioEngine`, `loader::trigger::load_trigger`, and `store::variable::VariableTable` [INFO] [stdout] --> rust/core/audio/interpreter/sleep.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | audio::{ engine::AudioEngine, loader::trigger::load_trigger }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | store::variable::VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> rust/core/utils/path.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{ Component, Path, PathBuf }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind` and `duration::Duration` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preprocessor::module::Module`, `shared::value::Value`, and `store::global::GlobalStore` [INFO] [stdout] --> rust/core/utils/validation.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{ preprocessor::module::Module, shared::value::Value, store::global::GlobalStore }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{ Arc, Mutex }; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `condition::interprete_condition_statement` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | condition::interprete_condition_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `audio::engine::AudioEngine` and `shared::value::Value` [INFO] [stdout] --> rust/core/audio/interpreter/let_.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | audio::engine::AudioEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] 4 | shared::value::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind`, `duration::Duration`, `engine::AudioEngine`, `loader::trigger::load_trigger`, and `store::variable::VariableTable` [INFO] [stdout] --> rust/core/audio/interpreter/sleep.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | audio::{ engine::AudioEngine, loader::trigger::load_trigger }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | store::variable::VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind` and `duration::Duration` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> rust/core/lexer/handler/driver.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | line: &mut usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char: char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/operator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/identifier.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/newline.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/number.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/arrow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut slash = char.to_string(); [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: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> rust/core/lexer/handler/driver.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | line: &mut usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char: char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/operator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/identifier.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/newline.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/number.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/arrow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut slash = char.to_string(); [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: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for module in global_store.clone().modules.values_mut() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn resolve_imports(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:43 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:49 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_value` is never read [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut final_value = stmt.value.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | effects: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/bank.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/tempo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | StatementKind::Export { names, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process_modules(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for module in global_store.clone().modules.values_mut() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn resolve_imports(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:43 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:49 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_value` is never read [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut final_value = stmt.value.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | effects: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/bank.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/tempo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | StatementKind::Export { names, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process_modules(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/at.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_at_token(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/sleep.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parameters` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut parameters = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_token` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | current_token: Token, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/function.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut body = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/arrow_call.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_arrow_call(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/at.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_at_token(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> rust/core/debugger/store.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | for (index, function) in functions.functions { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/sleep.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parameters` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut parameters = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_token` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | current_token: Token, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/function.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut body = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/arrow_call.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_arrow_call(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> rust/core/error/mod.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn detect_from_statements(&mut self, parser: &mut Parser, statements: &[Statement]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved_path` is never read [INFO] [stdout] --> rust/core/audio/engine.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut resolved_path = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | entry: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | output: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_variables` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_functions` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut base_bpm = 120.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut base_duration = 60.0 / base_bpm; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_table` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let Some(new_table) = interprete_load_statement( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..loop_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let (block_end_time, cursor_time) = execute_audio_block( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cur_time = cursor_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut max_time = max_end_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> rust/core/audio/interpreter/arrow_call.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let freq = extract_f32(params, "freq", base_bpm).unwrap_or(440.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> rust/core/debugger/store.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | for (index, function) in functions.functions { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 55 | Duration::Identifier(duration_identifier) => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | Duration::Number(num) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Duration::Auto => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Duration::Beat(beat_str) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> rust/core/error/mod.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn detect_from_statements(&mut self, parser: &mut Parser, statements: &[Statement]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `effects: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | effects: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/renderer.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let (module_max_end_time, cursor_time) = run_audio_program( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved_path` is never read [INFO] [stdout] --> rust/core/audio/engine.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut resolved_path = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | entry: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | output: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_variables` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_functions` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut base_bpm = 120.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut base_duration = 60.0 / base_bpm; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_table` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let Some(new_table) = interprete_load_statement( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..loop_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let (block_end_time, cursor_time) = execute_audio_block( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cur_time = cursor_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut max_time = max_end_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> rust/core/audio/interpreter/arrow_call.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let freq = extract_f32(params, "freq", base_bpm).unwrap_or(440.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 55 | Duration::Identifier(duration_identifier) => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | Duration::Number(num) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Duration::Auto => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Duration::Beat(beat_str) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `effects: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | effects: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/renderer.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let (module_max_end_time, cursor_time) = run_audio_program( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_stmt` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn error_stmt(logger: &Logger, module: &Module, stmt: &Statement, message: &str) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_error` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn type_error(logger: &Logger, module: &Module, stmt: &Statement, message: String) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> rust/core/preprocessor/loader.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | self.inject_bank_triggers(&mut module, &bank_name); [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] 191 | let _ = self.inject_bank_triggers(&mut module, &bank_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_stmt` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn error_stmt(logger: &Logger, module: &Module, stmt: &Statement, message: &str) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_error` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn type_error(logger: &Logger, module: &Module, stmt: &Statement, message: String) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> rust/core/preprocessor/loader.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | self.inject_bank_triggers(&mut module, &bank_name); [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] 191 | let _ = self.inject_bank_triggers(&mut module, &bank_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> rust/core/lexer/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel`, `Logger`, `StatementKind`, `Statement`, and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/value.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | store::{ global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `resolver::driver::resolve_statement` and `resolver::value::resolve_value` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | resolver::driver::resolve_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | resolver::value::resolve_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolver::driver::resolve_statement` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | preprocessor::{ module::Module, resolver::driver::resolve_statement }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel` and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | store::{ function::FunctionDef, global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `driver::Parser` and `resolver::group` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser::{ driver::Parser, statement::StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | preprocessor::{ loader::ModuleLoader, resolver::group }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | lexer::token::{ Token, TokenKind }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> rust/core/shared/bank.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> rust/core/utils/path.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{ Component, Path, PathBuf }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preprocessor::module::Module`, `shared::value::Value`, and `store::global::GlobalStore` [INFO] [stdout] --> rust/core/utils/validation.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{ preprocessor::module::Module, shared::value::Value, store::global::GlobalStore }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{ Arc, Mutex }; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `condition::interprete_condition_statement` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | condition::interprete_condition_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `audio::engine::AudioEngine` and `shared::value::Value` [INFO] [stdout] --> rust/core/audio/interpreter/let_.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | audio::engine::AudioEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] 4 | shared::value::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind`, `duration::Duration`, `engine::AudioEngine`, `loader::trigger::load_trigger`, and `store::variable::VariableTable` [INFO] [stdout] --> rust/core/audio/interpreter/sleep.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | audio::{ engine::AudioEngine, loader::trigger::load_trigger }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | store::variable::VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind` and `duration::Duration` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> rust/cli/bank.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> rust/core/lexer/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel`, `Logger`, `StatementKind`, `Statement`, and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/value.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | store::{ global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `resolver::driver::resolve_statement` and `resolver::value::resolve_value` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | resolver::driver::resolve_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | resolver::value::resolve_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolver::driver::resolve_statement` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | preprocessor::{ module::Module, resolver::driver::resolve_statement }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel` and `variable::VariableTable` [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | store::{ function::FunctionDef, global::GlobalStore, variable::VariableTable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | }, [INFO] [stdout] 10 | utils::logger::{ LogLevel, Logger }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `driver::Parser` and `resolver::group` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | parser::{ driver::Parser, statement::StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | preprocessor::{ loader::ModuleLoader, resolver::group }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | lexer::token::{ Token, TokenKind }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> rust/core/shared/bank.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> rust/core/utils/path.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{ Component, Path, PathBuf }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preprocessor::module::Module`, `shared::value::Value`, and `store::global::GlobalStore` [INFO] [stdout] --> rust/core/utils/validation.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{ preprocessor::module::Module, shared::value::Value, store::global::GlobalStore }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{ Arc, Mutex }; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `condition::interprete_condition_statement` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | condition::interprete_condition_statement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `audio::engine::AudioEngine` and `shared::value::Value` [INFO] [stdout] --> rust/core/audio/interpreter/let_.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | audio::engine::AudioEngine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] 4 | shared::value::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind`, `duration::Duration`, `engine::AudioEngine`, `loader::trigger::load_trigger`, and `store::variable::VariableTable` [INFO] [stdout] --> rust/core/audio/interpreter/sleep.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | audio::{ engine::AudioEngine, loader::trigger::load_trigger }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | store::variable::VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatementKind` and `duration::Duration` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | parser::statement::{ Statement, StatementKind }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | shared::{ duration::Duration, value::Value }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> rust/cli/bank.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ Deserialize, Serialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/cli/bank.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut config = load_config(Some(&config_path)).ok_or_else(|| [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: `err` [INFO] [stdout] --> rust/cli/bank.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/cli/bank.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | let mut config = load_config(Some(&config_path)).ok_or_else(|| [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only` [INFO] [stdout] --> rust/cli/update.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn handle_update_command(only: Option) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/cli/bank.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut config = load_config(Some(&config_path)).ok_or_else(|| [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: `err` [INFO] [stdout] --> rust/cli/bank.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/cli/bank.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | let mut config = load_config(Some(&config_path)).ok_or_else(|| [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only` [INFO] [stdout] --> rust/cli/update.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn handle_update_command(only: Option) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> rust/core/lexer/handler/driver.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | line: &mut usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char: char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/operator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/identifier.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/newline.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/number.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/arrow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut slash = char.to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for module in global_store.clone().modules.values_mut() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn resolve_imports(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:43 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:49 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_value` is never read [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut final_value = stmt.value.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | effects: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/bank.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/tempo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | StatementKind::Export { names, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process_modules(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> rust/core/lexer/handler/driver.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | line: &mut usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/at.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/brace.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/colon.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char: char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/comment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/dot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/operator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/identifier.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/newline.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/number.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/arrow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/lexer/handler/slash.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut slash = char.to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | chars: &mut std::iter::Peekable, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_stack` [INFO] [stdout] --> rust/core/lexer/handler/parenthesis.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | indent_stack: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/at.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_at_token(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/sleep.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parameters` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut parameters = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_token` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | current_token: Token, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/function.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut body = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/arrow_call.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_arrow_call(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for module in global_store.clone().modules.values_mut() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn resolve_imports(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:43 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:49 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> rust/core/preprocessor/resolver/driver.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | StatementKind::Function { name, parameters, body } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> rust/core/debugger/store.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | for (index, function) in functions.functions { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_value` is never read [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut final_value = stmt.value.clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/preprocessor/resolver/trigger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | effects: Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/bank.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/tempo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> rust/core/error/mod.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn detect_from_statements(&mut self, parser: &mut Parser, statements: &[Statement]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | path: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved_path` is never read [INFO] [stdout] --> rust/core/audio/engine.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut resolved_path = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | StatementKind::Export { names, source } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_loader` [INFO] [stdout] --> rust/core/preprocessor/processor.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn process_modules(module_loader: &ModuleLoader, global_store: &mut GlobalStore) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | entry: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | output: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_variables` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_functions` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut base_bpm = 120.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut base_duration = 60.0 / base_bpm; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_table` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let Some(new_table) = interprete_load_statement( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..loop_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let (block_end_time, cursor_time) = execute_audio_block( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cur_time = cursor_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut max_time = max_end_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> rust/core/audio/interpreter/arrow_call.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let freq = extract_f32(params, "freq", base_bpm).unwrap_or(440.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 55 | Duration::Identifier(duration_identifier) => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | Duration::Number(num) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Duration::Auto => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Duration::Beat(beat_str) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `effects: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | effects: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/renderer.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let (module_max_end_time, cursor_time) = run_audio_program( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/at.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_at_token(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spinner` [INFO] [stdout] --> rust/cli/check.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let spinner = with_spinner("Checking...", || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spinner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/sleep.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parameters` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut parameters = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_token` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | current_token: Token, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/identifier/synth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | global_store: &mut GlobalStore [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> rust/core/parser/handler/identifier/function.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut body = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spinner` [INFO] [stdout] --> rust/cli/build.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let spinner = with_spinner("Building...", || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spinner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_store` [INFO] [stdout] --> rust/core/parser/handler/arrow_call.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_arrow_call(parser: &mut Parser, global_store: &mut GlobalStore) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spinner` [INFO] [stdout] --> rust/cli/play.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let spinner = with_spinner("Building...", || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spinner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> rust/cli/play.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn begin_play(config: &Option, entry_file: &str, output: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> rust/core/debugger/store.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | for (index, function) in functions.functions { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> rust/core/error/mod.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn detect_from_statements(&mut self, parser: &mut Parser, statements: &[Statement]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resolved_path` is never read [INFO] [stdout] --> rust/core/audio/engine.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut resolved_path = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | entry: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | output: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_variables` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_functions` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut module_variables: VariableTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut module_functions: FunctionTable, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut base_bpm = 120.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut base_duration = 60.0 / base_bpm; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_table` [INFO] [stdout] --> rust/core/audio/interpreter/driver.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let Some(new_table) = interprete_load_statement( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..loop_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/interpreter/loop_.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | let (block_end_time, cursor_time) = execute_audio_block( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cur_time = cursor_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust/core/audio/interpreter/condition.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut max_time = max_end_time; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> rust/core/audio/interpreter/arrow_call.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let freq = extract_f32(params, "freq", base_bpm).unwrap_or(440.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> rust/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 44 | Commands::Init { name, template } => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 48 | Commands::Template { command } => [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 58 | Commands::Check { entry, output, watch, compilation_mode, debug } => { [INFO] [stdout] | ----------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | --------------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 118 | _ => {} [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compilation_mode` [INFO] [stdout] --> rust/main.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | Commands::Check { entry, output, watch, compilation_mode, debug } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `compilation_mode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> rust/main.rs:58:67 [INFO] [stdout] | [INFO] [stdout] 58 | Commands::Check { entry, output, watch, compilation_mode, debug } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `debug: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compilation_mode` [INFO] [stdout] --> rust/main.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `compilation_mode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> rust/main.rs:62:67 [INFO] [stdout] | [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `debug: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> rust/main.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `compress: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 55 | Duration::Identifier(duration_identifier) => { [INFO] [stdout] | ----------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | Duration::Number(num) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Duration::Auto => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 79 | Duration::Beat(beat_str) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 91 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `duration: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | if let StatementKind::Trigger { entity, duration, effects } = &stmt.kind { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `effects: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effects` [INFO] [stdout] --> rust/core/audio/loader/trigger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | effects: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_stmt` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn error_stmt(logger: &Logger, module: &Module, stmt: &Statement, message: &str) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_error` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn type_error(logger: &Logger, module: &Module, stmt: &Statement, message: String) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_time` [INFO] [stdout] --> rust/core/audio/renderer.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let (module_max_end_time, cursor_time) = run_audio_program( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> rust/core/preprocessor/loader.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | self.inject_bank_triggers(&mut module, &bank_name); [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] 191 | let _ = self.inject_bank_triggers(&mut module, &bank_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spinner` [INFO] [stdout] --> rust/cli/check.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let spinner = with_spinner("Checking...", || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spinner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spinner` [INFO] [stdout] --> rust/cli/build.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let spinner = with_spinner("Building...", || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spinner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spinner` [INFO] [stdout] --> rust/cli/play.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let spinner = with_spinner("Building...", || { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spinner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> rust/cli/play.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | fn begin_play(config: &Option, entry_file: &str, output: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> rust/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 44 | Commands::Init { name, template } => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 48 | Commands::Template { command } => [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 58 | Commands::Check { entry, output, watch, compilation_mode, debug } => { [INFO] [stdout] | ----------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | --------------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 118 | _ => {} [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compilation_mode` [INFO] [stdout] --> rust/main.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | Commands::Check { entry, output, watch, compilation_mode, debug } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `compilation_mode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> rust/main.rs:58:67 [INFO] [stdout] | [INFO] [stdout] 58 | Commands::Check { entry, output, watch, compilation_mode, debug } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `debug: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compilation_mode` [INFO] [stdout] --> rust/main.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `compilation_mode: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> rust/main.rs:62:67 [INFO] [stdout] | [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `debug: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> rust/main.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | Commands::Build { entry, output, watch, compilation_mode, debug, compress } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `compress: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_stmt` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/spawn.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn error_stmt(logger: &Logger, module: &Module, stmt: &Statement, message: &str) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_group_body` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/call.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_group_body(stmt_box: &Statement) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_error` is never used [INFO] [stdout] --> rust/core/preprocessor/resolver/function.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn type_error(logger: &Logger, module: &Module, stmt: &Statement, message: String) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> rust/core/preprocessor/loader.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | self.inject_bank_triggers(&mut module, &bank_name); [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] 191 | let _ = self.inject_bank_triggers(&mut module, &bank_name); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.18s [INFO] running `Command { std: "docker" "inspect" "f9a081292f9f85c1d5ebdc3a1494c807856fefcf589c90f9f7f4059742098f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a081292f9f85c1d5ebdc3a1494c807856fefcf589c90f9f7f4059742098f98", kill_on_drop: false }` [INFO] [stdout] f9a081292f9f85c1d5ebdc3a1494c807856fefcf589c90f9f7f4059742098f98