[INFO] fetching crate devalang 0.0.1-alpha.14... [INFO] checking devalang-0.0.1-alpha.14 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate devalang 0.0.1-alpha.14 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate devalang 0.0.1-alpha.14 [INFO] finished tweaking crates.io crate devalang 0.0.1-alpha.14 [INFO] tweaked toml for crates.io crate devalang 0.0.1-alpha.14 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate devalang 0.0.1-alpha.14 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate devalang 0.0.1-alpha.14 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d392fb29fa92661835a88b3abf8d3b651c718ccc1a19bf5f1e87c07f82cb950c [INFO] running `Command { std: "docker" "start" "-a" "d392fb29fa92661835a88b3abf8d3b651c718ccc1a19bf5f1e87c07f82cb950c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d392fb29fa92661835a88b3abf8d3b651c718ccc1a19bf5f1e87c07f82cb950c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d392fb29fa92661835a88b3abf8d3b651c718ccc1a19bf5f1e87c07f82cb950c", kill_on_drop: false }` [INFO] [stdout] d392fb29fa92661835a88b3abf8d3b651c718ccc1a19bf5f1e87c07f82cb950c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de7dd0714f13ce846279c6ce4d79e4ec47775feb619fd1c1272cb1161171d831 [INFO] running `Command { std: "docker" "start" "-a" "de7dd0714f13ce846279c6ce4d79e4ec47775feb619fd1c1272cb1161171d831", 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 libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking libbz2-rs-sys v0.2.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [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 symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking liblzma v0.4.2 [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] Checking tokio v1.46.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking zeroize v1.8.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] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v4.3.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [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_json v1.0.140 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking tiny_http v0.9.0 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v1.6.0 [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.14 (/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: `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: `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 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: `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: `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: `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: `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: `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: `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: `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: `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 `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: `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: `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: `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: `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: 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: `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: `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: `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: 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: `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: `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: 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: 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: `result` [INFO] [stdout] --> rust/utils/spinner.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let result = f(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [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: `result` [INFO] [stdout] --> rust/utils/spinner.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let result = f(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> rust/installer/plugin.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | if (!config_path.exists()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if (!config_path.exists()) { [INFO] [stdout] 37 + if !config_path.exists() { [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> rust/installer/plugin.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | if (!config_path.exists()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if (!config_path.exists()) { [INFO] [stdout] 37 + if !config_path.exists() { [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: 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: 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: 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: `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: `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: `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: `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: `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/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: 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: `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: 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: 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: `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: 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: `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: `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: 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: `config` [INFO] [stdout] --> rust/cli/play.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin_play(config: &Option, entry_file: &str, output: &str, debug: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> rust/cli/play.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin_play(config: &Option, entry_file: &str, output: &str, debug: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> rust/utils/spinner.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let result = f(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> rust/utils/spinner.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let result = f(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> rust/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | _ => {} [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:141:9 [INFO] [stdout] | [INFO] [stdout] 47 | Commands::Init { name, template } => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Commands::Template { command } => [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 61 | Commands::Check { entry, output, watch, debug } => { [INFO] [stdout] | ----------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 65 | Commands::Build { entry, output, watch, debug, compress } => { [INFO] [stdout] | --------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | _ => {} [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [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: unreachable pattern [INFO] [stdout] --> rust/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | _ => {} [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:141:9 [INFO] [stdout] | [INFO] [stdout] 47 | Commands::Init { name, template } => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Commands::Template { command } => [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 61 | Commands::Check { entry, output, watch, debug } => { [INFO] [stdout] | ----------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 65 | Commands::Build { entry, output, watch, debug, compress } => { [INFO] [stdout] | --------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | _ => {} [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [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 39.91s [INFO] running `Command { std: "docker" "inspect" "de7dd0714f13ce846279c6ce4d79e4ec47775feb619fd1c1272cb1161171d831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7dd0714f13ce846279c6ce4d79e4ec47775feb619fd1c1272cb1161171d831", kill_on_drop: false }` [INFO] [stdout] de7dd0714f13ce846279c6ce4d79e4ec47775feb619fd1c1272cb1161171d831