[INFO] cloning repository https://github.com/enricobn/rasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enricobn/rasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d2f0154147d5d51c81d42298645668650cfc25c [INFO] checking enricobn/rasm against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enricobn/rasm on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/enricobn/rasm [INFO] finished tweaking git repo https://github.com/enricobn/rasm [INFO] tweaked toml for git repo https://github.com/enricobn/rasm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enricobn/rasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntest v0.9.3 [INFO] [stderr] Downloaded pad v0.1.6 [INFO] [stderr] Downloaded ntest_test_cases v0.9.3 [INFO] [stderr] Downloaded snailquote v0.3.1 [INFO] [stderr] Downloaded test-log v0.2.13 [INFO] [stderr] Downloaded ntest_timeout v0.9.3 [INFO] [stderr] Downloaded rust-embed-utils v8.0.0 [INFO] [stderr] Downloaded rust-embed-impl v8.0.0 [INFO] [stderr] Downloaded rust-embed v8.0.0 [INFO] [stderr] Downloaded debug-cell v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc765503c2ceb3aa8465d86fb716cdef5d76022fbbb0b55fdf0a61a63ff5d9ed [INFO] running `Command { std: "docker" "start" "-a" "cc765503c2ceb3aa8465d86fb716cdef5d76022fbbb0b55fdf0a61a63ff5d9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc765503c2ceb3aa8465d86fb716cdef5d76022fbbb0b55fdf0a61a63ff5d9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc765503c2ceb3aa8465d86fb716cdef5d76022fbbb0b55fdf0a61a63ff5d9ed", kill_on_drop: false }` [INFO] [stdout] cc765503c2ceb3aa8465d86fb716cdef5d76022fbbb0b55fdf0a61a63ff5d9ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9008bd14b10dabf3e04366f4aacd4dd17ed09ef24aabdd09688da33e3cb3e62c [INFO] running `Command { std: "docker" "start" "-a" "9008bd14b10dabf3e04366f4aacd4dd17ed09ef24aabdd09688da33e3cb3e62c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking winnow v0.5.19 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking rust-embed-utils v8.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking test_bin v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking debug-cell v0.1.1 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling rust-embed-impl v8.0.0 [INFO] [stderr] Compiling test-log v0.2.13 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking rust-embed v8.0.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Checking ntest v0.9.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking rasm-core v0.1.0-alpha.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: type parameter `FUNCTION_CALL_PARAMETERS` should have an upper camel case name [INFO] [stdout] --> core/src/codegen/mod.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait CodeGen<'a, FUNCTION_CALL_PARAMETERS: FunctionCallParameters> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FunctionCallParameters` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `FUNCTION_CALL_PARAMETERS` should have an upper camel case name [INFO] [stdout] --> core/src/codegen/mod.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait CodeGen<'a, FUNCTION_CALL_PARAMETERS: FunctionCallParameters> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FunctionCallParameters` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::SliceDisplay` [INFO] [stdout] --> core/src/parser/mod.rs:1480:9 [INFO] [stdout] | [INFO] [stdout] 1480 | use crate::utils::SliceDisplay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> core/src/new_type_check2/mod.rs:962:13 [INFO] [stdout] | [INFO] [stdout] 961 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 962 | let min = valid_functions.iter().map(|it| it.1).min().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> core/src/new_type_check2/mod.rs:962:13 [INFO] [stdout] | [INFO] [stdout] 961 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 962 | let min = valid_functions.iter().map(|it| it.1).min().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_def` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | } else if let Some(enum_def) = type_def_provider.get_enum_def_by_name(type_name) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | fn transform_before(&self, stack: &StackVals, before: String) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:358:45 [INFO] [stdout] | [INFO] [stdout] 358 | fn create_command_line_arguments(&self, generated_code: &mut String) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_lambda_space` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | index_in_lambda_space: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_call` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | function_call: &ASTTypedFunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | before: &mut String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | call_parameters: &mut Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `added_to_stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | added_to_stack: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_added_to_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | id: usize, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | index: &ASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | address_relative_to_bp: &usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | index: &ASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | address_relative_to_bp: &usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics_key` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | statics_key: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | body: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | address_relative_to_bp: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | stack: &StackVals, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | body: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | address_relative_to_bp: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:690:39 [INFO] [stdout] | [INFO] [stdout] 690 | fn reserve_return_register(&self, out: &mut String, stack: &StackVals) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:690:57 [INFO] [stdout] | [INFO] [stdout] 690 | fn reserve_return_register(&self, out: &mut String, stack: &StackVals) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | stack: &StackVals, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:798:37 [INFO] [stdout] | [INFO] [stdout] 798 | fn string_literal_return(&self, statics: &mut Statics, before: &mut String, value: &String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 846 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:846:59 [INFO] [stdout] | [INFO] [stdout] 846 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:854:40 [INFO] [stdout] | [INFO] [stdout] 854 | fn initialize_static_values(&self, generated_code: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:950:24 [INFO] [stdout] | [INFO] [stdout] 950 | fn preamble(&self, code: &mut String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:954:9 [INFO] [stdout] | [INFO] [stdout] 954 | namespace: &ASTNameSpace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_space` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 955 | lambda_space: &LambdaSpace, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:956:9 [INFO] [stdout] | [INFO] [stdout] 956 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_deref` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | is_deref: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_deref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:964:34 [INFO] [stdout] | [INFO] [stdout] 964 | fn reserve_local_vals(&self, stack: &StackVals, out: &mut String) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:964:53 [INFO] [stdout] | [INFO] [stdout] 964 | fn reserve_local_vals(&self, stack: &StackVals, out: &mut String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:996:25 [INFO] [stdout] | [INFO] [stdout] 996 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:998:25 [INFO] [stdout] | [INFO] [stdout] 998 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | for (i, clambda) in clambdas.lambdas.values().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1162:25 [INFO] [stdout] | [INFO] [stdout] 1162 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1164:25 [INFO] [stdout] | [INFO] [stdout] 1164 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1165:25 [INFO] [stdout] | [INFO] [stdout] 1165 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1195:33 [INFO] [stdout] | [INFO] [stdout] 1195 | fn function_preamble(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1199:28 [INFO] [stdout] | [INFO] [stdout] 1199 | fn define_debug(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1203:23 [INFO] [stdout] | [INFO] [stdout] 1203 | fn restore(&self, stack: &StackVals, out: &mut String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1203:42 [INFO] [stdout] | [INFO] [stdout] 1203 | fn restore(&self, stack: &StackVals, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1225:27 [INFO] [stdout] | [INFO] [stdout] 1225 | fn add_statics(&self, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref_type` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let is_ref_type = get_reference_type_name(&ast_typed_type, type_def_provider).is_some(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ref_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_s` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let deref_s = if dereference { "*" } else { "" }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | i: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | type_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | source: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descr` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | descr: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_descr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | label: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:430:18 [INFO] [stdout] | [INFO] [stdout] 430 | for (i, (name, _kind)) in lambda_space.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | let t = pls.get_type(name).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_ls_type_name` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | let parent_ls_type_name = CStructs::add_lambda_space_to_statics(statics, pls); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_ls_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_vals` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | stack_vals: &StackVals, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | function_def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_index` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | param_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | index_in_context: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_vals` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | stack_vals: &StackVals, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | index_in_context: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_vals` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | stack_vals: &StackVals, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_index` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | ast_index: &ASTIndex, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_remove_from_stack` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 699 | to_remove_from_stack: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_remove_from_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/functions_creator.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | module: &mut ASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:266:56 [INFO] [stdout] | [INFO] [stdout] 266 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:441:32 [INFO] [stdout] | [INFO] [stdout] 441 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:441:38 [INFO] [stdout] | [INFO] [stdout] 441 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:478:38 [INFO] [stdout] | [INFO] [stdout] 478 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:521:26 [INFO] [stdout] | [INFO] [stdout] 521 | let (namespace, name) = if let Some(ASTTypedType::Enum { namespace, name }) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:535:38 [INFO] [stdout] | [INFO] [stdout] 535 | if let Some((i, variant)) = enum_def [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:542:33 [INFO] [stdout] | [INFO] [stdout] 542 | ... namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | ... param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | ... index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:539:37 [INFO] [stdout] | [INFO] [stdout] 539 | ... .find(|(i, v)| &v.name == variant_name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | for (i, (name, kind)) in lambda_space.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_def` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | } else if let Some(enum_def) = type_def_provider.get_enum_def_by_name(type_name) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | fn transform_before(&self, stack: &StackVals, before: String) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:358:45 [INFO] [stdout] | [INFO] [stdout] 358 | fn create_command_line_arguments(&self, generated_code: &mut String) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_lambda_space` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | index_in_lambda_space: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_call` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | function_call: &ASTTypedFunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | before: &mut String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | call_parameters: &mut Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `added_to_stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | added_to_stack: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_added_to_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | id: usize, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | index: &ASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | address_relative_to_bp: &usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | index: &ASTIndex, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | address_relative_to_bp: &usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics_key` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | statics_key: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | body: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | address_relative_to_bp: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | stack: &StackVals, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | body: &mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_relative_to_bp` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | address_relative_to_bp: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_relative_to_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:690:39 [INFO] [stdout] | [INFO] [stdout] 690 | fn reserve_return_register(&self, out: &mut String, stack: &StackVals) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:690:57 [INFO] [stdout] | [INFO] [stdout] 690 | fn reserve_return_register(&self, out: &mut String, stack: &StackVals) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | stack: &StackVals, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:798:37 [INFO] [stdout] | [INFO] [stdout] 798 | fn string_literal_return(&self, statics: &mut Statics, before: &mut String, value: &String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | value: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `native_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 846 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:846:59 [INFO] [stdout] | [INFO] [stdout] 846 | fn print_memory_info(&self, native_code: &mut String, statics: &Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated_code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:854:40 [INFO] [stdout] | [INFO] [stdout] 854 | fn initialize_static_values(&self, generated_code: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | name: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | .map(|(name, value)| (value.as_str(), None)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | function_def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | param_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_index` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | param_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:950:24 [INFO] [stdout] | [INFO] [stdout] 950 | fn preamble(&self, code: &mut String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:954:9 [INFO] [stdout] | [INFO] [stdout] 954 | namespace: &ASTNameSpace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_space` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 955 | lambda_space: &LambdaSpace, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:956:9 [INFO] [stdout] | [INFO] [stdout] 956 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_deref` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | is_deref: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_deref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:964:34 [INFO] [stdout] | [INFO] [stdout] 964 | fn reserve_local_vals(&self, stack: &StackVals, out: &mut String) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:964:53 [INFO] [stdout] | [INFO] [stdout] 964 | fn reserve_local_vals(&self, stack: &StackVals, out: &mut String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:996:25 [INFO] [stdout] | [INFO] [stdout] 996 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:998:25 [INFO] [stdout] | [INFO] [stdout] 998 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | for (i, clambda) in clambdas.lambdas.values().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1162:25 [INFO] [stdout] | [INFO] [stdout] 1162 | namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1164:25 [INFO] [stdout] | [INFO] [stdout] 1164 | param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1165:25 [INFO] [stdout] | [INFO] [stdout] 1165 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1195:33 [INFO] [stdout] | [INFO] [stdout] 1195 | fn function_preamble(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1199:28 [INFO] [stdout] | [INFO] [stdout] 1199 | fn define_debug(&self, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1203:23 [INFO] [stdout] | [INFO] [stdout] 1203 | fn restore(&self, stack: &StackVals, out: &mut String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1203:42 [INFO] [stdout] | [INFO] [stdout] 1203 | fn restore(&self, stack: &StackVals, out: &mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:1225:27 [INFO] [stdout] | [INFO] [stdout] 1225 | fn add_statics(&self, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_value` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | is_inner_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | return_type: Option<&ASTTypedType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref_type` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let is_ref_type = get_reference_type_name(&ast_typed_type, type_def_provider).is_some(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ref_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deref_s` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let deref_s = if dereference { "*" } else { "" }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deref_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | i: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | type_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | source: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descr` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | descr: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_descr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | label: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:430:18 [INFO] [stdout] | [INFO] [stdout] 430 | for (i, (name, _kind)) in lambda_space.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | let t = pls.get_type(name).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_ls_type_name` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | let parent_ls_type_name = CStructs::add_lambda_space_to_statics(statics, pls); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_ls_type_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | comment: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_vals` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | stack_vals: &StackVals, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | function_def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_index` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | param_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | index_in_context: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_vals` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | stack_vals: &StackVals, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index_in_context` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | index_in_context: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index_in_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | indent: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_vals` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | stack_vals: &StackVals, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_index` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | ast_index: &ASTIndex, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_remove_from_stack` [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 699 | to_remove_from_stack: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_remove_from_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/functions_creator.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | fn create_globals(&self, module: &mut EnhancedASTModule, statics: &mut Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/functions_creator.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | module: &mut ASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:266:56 [INFO] [stdout] | [INFO] [stdout] 266 | if let ASTTypedType::Enum { namespace, name } = &def.return_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/text_macro.rs:336:60 [INFO] [stdout] | [INFO] [stdout] 336 | ... ASTTypedFunctionBody::RASMBody(body) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:441:32 [INFO] [stdout] | [INFO] [stdout] 441 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:441:38 [INFO] [stdout] | [INFO] [stdout] 441 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:478:38 [INFO] [stdout] | [INFO] [stdout] 478 | if let MacroParam::Ref(name, ast_type, ast_type_type) = value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:521:26 [INFO] [stdout] | [INFO] [stdout] 521 | let (namespace, name) = if let Some(ASTTypedType::Enum { namespace, name }) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:535:38 [INFO] [stdout] | [INFO] [stdout] 535 | if let Some((i, variant)) = enum_def [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:542:33 [INFO] [stdout] | [INFO] [stdout] 542 | ... namespace, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_types` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | ... param_types, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `param_types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | ... index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/text_macro.rs:539:37 [INFO] [stdout] | [INFO] [stdout] 539 | ... .find(|(i, v)| &v.name == variant_name) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | for (i, (name, kind)) in lambda_space.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/text_macro.rs:617:15 [INFO] [stdout] | [INFO] [stdout] 617 | &|name, params| true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> core/src/codegen/text_macro.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | &|name, params| true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/codegen/c/typed_function_creator.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it_ns` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:301:44 [INFO] [stdout] | [INFO] [stdout] 301 | ... namespace: it_ns, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_it_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | value: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | name: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | function_def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | param_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_index` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | param_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_value` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | is_inner_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | return_type: Option<&ASTTypedType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/function_call_parameters.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> core/src/codegen/text_macro.rs:336:60 [INFO] [stdout] | [INFO] [stdout] 336 | ... ASTTypedFunctionBody::RASMBody(body) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/mod.rs:2031:5 [INFO] [stdout] | [INFO] [stdout] 2031 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/text_macro.rs:617:15 [INFO] [stdout] | [INFO] [stdout] 617 | &|name, params| true, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> core/src/codegen/text_macro.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | &|name, params| true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:2702:9 [INFO] [stdout] | [INFO] [stdout] 2702 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:2703:9 [INFO] [stdout] | [INFO] [stdout] 2703 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:2704:9 [INFO] [stdout] | [INFO] [stdout] 2704 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2705:9 [INFO] [stdout] | [INFO] [stdout] 2705 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:2764:9 [INFO] [stdout] | [INFO] [stdout] 2764 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type_type` [INFO] [stdout] --> core/src/codegen/mod.rs:2765:9 [INFO] [stdout] | [INFO] [stdout] 2765 | ast_type_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2766:9 [INFO] [stdout] | [INFO] [stdout] 2766 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:2767:9 [INFO] [stdout] | [INFO] [stdout] 2767 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:2768:9 [INFO] [stdout] | [INFO] [stdout] 2768 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/mod.rs:2883:9 [INFO] [stdout] | [INFO] [stdout] 2883 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/mod.rs:2884:9 [INFO] [stdout] | [INFO] [stdout] 2884 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2885:9 [INFO] [stdout] | [INFO] [stdout] 2885 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/mod.rs:2930:9 [INFO] [stdout] | [INFO] [stdout] 2930 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/mod.rs:2953:9 [INFO] [stdout] | [INFO] [stdout] 2953 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2993:9 [INFO] [stdout] | [INFO] [stdout] 2993 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/mod.rs:2994:9 [INFO] [stdout] | [INFO] [stdout] 2994 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3128:9 [INFO] [stdout] | [INFO] [stdout] 3128 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3149:9 [INFO] [stdout] | [INFO] [stdout] 3149 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_space` [INFO] [stdout] --> core/src/codegen/mod.rs:3150:9 [INFO] [stdout] | [INFO] [stdout] 3150 | lambda_space: &LambdaSpace, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> core/src/codegen/mod.rs:3151:9 [INFO] [stdout] | [INFO] [stdout] 3151 | def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3167:76 [INFO] [stdout] | [INFO] [stdout] 3167 | fn value_as_return(&self, before: &mut String, value_type: &ValueType, statics: &Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:3234:9 [INFO] [stdout] | [INFO] [stdout] 3234 | call_parameters: Option<&Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:3235:9 [INFO] [stdout] | [INFO] [stdout] 3235 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:3236:9 [INFO] [stdout] | [INFO] [stdout] 3236 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/mod.rs:3237:9 [INFO] [stdout] | [INFO] [stdout] 3237 | return_type: Option<&ASTTypedType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3238:9 [INFO] [stdout] | [INFO] [stdout] 3238 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:3250:9 [INFO] [stdout] | [INFO] [stdout] 3250 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/text_macro.rs:1802:13 [INFO] [stdout] | [INFO] [stdout] 1802 | let statics = Statics::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_module` [INFO] [stdout] --> core/src/codegen/mod.rs:3426:9 [INFO] [stdout] | [INFO] [stdout] 3426 | typed_module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/mod.rs:3582:9 [INFO] [stdout] | [INFO] [stdout] 3582 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it_ns` [INFO] [stdout] --> core/src/codegen/typedef_provider.rs:301:44 [INFO] [stdout] | [INFO] [stdout] 301 | ... namespace: it_ns, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_it_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def_provider` [INFO] [stdout] --> core/src/codegen/mod.rs:2031:5 [INFO] [stdout] | [INFO] [stdout] 2031 | type_def_provider: &dyn TypeDefProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_def_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:2702:9 [INFO] [stdout] | [INFO] [stdout] 2702 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:2703:9 [INFO] [stdout] | [INFO] [stdout] 2703 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:2704:9 [INFO] [stdout] | [INFO] [stdout] 2704 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2705:9 [INFO] [stdout] | [INFO] [stdout] 2705 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:2764:9 [INFO] [stdout] | [INFO] [stdout] 2764 | call_parameters: &Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type_type` [INFO] [stdout] --> core/src/codegen/mod.rs:2765:9 [INFO] [stdout] | [INFO] [stdout] 2765 | ast_type_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2766:9 [INFO] [stdout] | [INFO] [stdout] 2766 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:2767:9 [INFO] [stdout] | [INFO] [stdout] 2767 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:2768:9 [INFO] [stdout] | [INFO] [stdout] 2768 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/mod.rs:2883:9 [INFO] [stdout] | [INFO] [stdout] 2883 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_type` [INFO] [stdout] --> core/src/codegen/mod.rs:2884:9 [INFO] [stdout] | [INFO] [stdout] 2884 | typed_type: &ASTTypedType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2885:9 [INFO] [stdout] | [INFO] [stdout] 2885 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/mod.rs:2930:9 [INFO] [stdout] | [INFO] [stdout] 2930 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> core/src/codegen/mod.rs:2953:9 [INFO] [stdout] | [INFO] [stdout] 2953 | t: &ASTTypedType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:2993:9 [INFO] [stdout] | [INFO] [stdout] 2993 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/mod.rs:2994:9 [INFO] [stdout] | [INFO] [stdout] 2994 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3128:9 [INFO] [stdout] | [INFO] [stdout] 3128 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3149:9 [INFO] [stdout] | [INFO] [stdout] 3149 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_space` [INFO] [stdout] --> core/src/codegen/mod.rs:3150:9 [INFO] [stdout] | [INFO] [stdout] 3150 | lambda_space: &LambdaSpace, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> core/src/codegen/mod.rs:3151:9 [INFO] [stdout] | [INFO] [stdout] 3151 | def: &ASTTypedFunctionDef, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3167:76 [INFO] [stdout] | [INFO] [stdout] 3167 | fn value_as_return(&self, before: &mut String, value_type: &ValueType, statics: &Statics) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:3234:9 [INFO] [stdout] | [INFO] [stdout] 3234 | call_parameters: Option<&Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_call_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:3235:9 [INFO] [stdout] | [INFO] [stdout] 3235 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:3236:9 [INFO] [stdout] | [INFO] [stdout] 3236 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/codegen/mod.rs:3237:9 [INFO] [stdout] | [INFO] [stdout] 3237 | return_type: Option<&ASTTypedType>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/codegen/mod.rs:3238:9 [INFO] [stdout] | [INFO] [stdout] 3238 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_value` [INFO] [stdout] --> core/src/codegen/mod.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | return_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_inner_call` [INFO] [stdout] --> core/src/codegen/mod.rs:3250:9 [INFO] [stdout] | [INFO] [stdout] 3250 | is_inner_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_inner_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_module` [INFO] [stdout] --> core/src/codegen/mod.rs:3426:9 [INFO] [stdout] | [INFO] [stdout] 3426 | typed_module: &ASTTypedModule, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_def` [INFO] [stdout] --> core/src/codegen/mod.rs:3582:9 [INFO] [stdout] | [INFO] [stdout] 3582 | function_def: Option<&ASTTypedFunctionDef>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:985:46 [INFO] [stdout] | [INFO] [stdout] 985 | fn struct_property_body(&self, i: usize, name: &str) -> (String, bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:1007:44 [INFO] [stdout] | [INFO] [stdout] 1007 | fn struct_setter_body(&self, i: usize, name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let ast_type = ASTTypedType::Struct { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/type_check/typed_ast.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/type_check/typed_ast.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> core/src/parser/mod.rs:1607:22 [INFO] [stdout] | [INFO] [stdout] 1607 | let (module, errors) = parser.parse(Path::new("."), &test_namespace()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> core/src/parser/mod.rs:1633:22 [INFO] [stdout] | [INFO] [stdout] 1633 | let (module, errors) = parser.parse(Path::new("."), &test_namespace()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> core/src/parser/mod.rs:1663:22 [INFO] [stdout] | [INFO] [stdout] 1663 | let (module, errors) = parser.parse(Path::new("."), &test_namespace()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statics` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | statics: &mut Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:985:46 [INFO] [stdout] | [INFO] [stdout] 985 | fn struct_property_body(&self, i: usize, name: &str) -> (String, bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/transformations/functions_creator.rs:1007:44 [INFO] [stdout] | [INFO] [stdout] 1007 | fn struct_setter_body(&self, i: usize, name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_type` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let ast_type = ASTTypedType::Struct { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | module: &EnhancedASTModule, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `deleted` is assigned to, but never used [INFO] [stdout] --> core/src/new_type_check2/mod.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let mut deleted = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_deleted` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deleted` is never read [INFO] [stdout] --> core/src/new_type_check2/mod.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | deleted = false; [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: `filters_resolved_generic_types` [INFO] [stdout] --> core/src/new_type_check2/mod.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | let filters_resolved_generic_types = ResolvedGenericTypes::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters_resolved_generic_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> core/src/type_check/typed_ast.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> core/src/type_check/typed_ast.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `return_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_tests` [INFO] [stdout] --> core/src/project.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | for_tests: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strip_ifdef` is never used [INFO] [stdout] --> core/src/codegen/mod.rs:2388:8 [INFO] [stdout] | [INFO] [stdout] 2105 | impl CodeGenAsm { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2388 | fn strip_ifdef(&self, code: &str, def: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `libc` is never read [INFO] [stdout] --> core/src/codegen/backend.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BackendNasmi386 { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | linker: Linker, [INFO] [stdout] 51 | libc: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendNasmi386` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c_options` is never read [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CodeGenC { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | c_options: COptions, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeGenC` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inline` and `stack_vals` are never read [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct CFunctionCallParameters { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | inline: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | stack_vals: StackVals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_before_last_token_kind_n`, `error_msg`, `next_token`, and `get_parser_data` are never used [INFO] [stdout] --> core/src/parser/mod.rs:838:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 838 | fn get_before_last_token_kind_n(&self, n: usize) -> Option<&TokenKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | fn error_msg(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | fn next_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1186 | fn get_parser_data(&self, index: usize) -> Option<&ParserData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/transformations/functions_creator.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct FunctionsCreatorNasmi386 { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 629 | backend: BackendNasmi386, [INFO] [stdout] 630 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct TypedFunctionsCreatorNasmi386 { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 270 | backend: BackendNasmi386, [INFO] [stdout] 271 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_return_value_is_not_used` is never used [INFO] [stdout] --> core/src/type_check/verify.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn expression_return_value_is_not_used(statement: &ASTTypedStatement) -> CompilationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_natives` is never used [INFO] [stdout] --> core/src/project.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl RasmProject { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 526 | fn get_natives(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ASTType` instead of cloning the inner type [INFO] [stdout] --> core/src/type_check/typed_ast.rs:896:56 [INFO] [stdout] | [INFO] [stdout] 896 | TypeFilter::Exact(type_def_ast_type.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `deleted` is assigned to, but never used [INFO] [stdout] --> core/src/new_type_check2/mod.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let mut deleted = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_deleted` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deleted` is never read [INFO] [stdout] --> core/src/new_type_check2/mod.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | deleted = false; [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: `filters_resolved_generic_types` [INFO] [stdout] --> core/src/new_type_check2/mod.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | let filters_resolved_generic_types = ResolvedGenericTypes::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters_resolved_generic_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 198 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasm-server v0.1.0-alpha.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> server/src/reference_finder.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use rasm_core::type_check::{self, substitute}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_tests` [INFO] [stdout] --> core/src/project.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | for_tests: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> server/src/reference_finder.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use rasm_core::type_check::{self, substitute}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `strip_ifdef` is never used [INFO] [stdout] --> core/src/codegen/mod.rs:2388:8 [INFO] [stdout] | [INFO] [stdout] 2105 | impl CodeGenAsm { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2388 | fn strip_ifdef(&self, code: &str, def: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `libc` is never read [INFO] [stdout] --> core/src/codegen/backend.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BackendNasmi386 { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | linker: Linker, [INFO] [stdout] 51 | libc: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendNasmi386` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c_options` is never read [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct CodeGenC { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | c_options: COptions, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeGenC` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inline` and `stack_vals` are never read [INFO] [stdout] --> core/src/codegen/c/function_call_parameters.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct CFunctionCallParameters { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | inline: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | stack_vals: StackVals, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `target` is never used [INFO] [stdout] --> core/src/codegen/text_macro.rs:1836:8 [INFO] [stdout] | [INFO] [stdout] 1836 | fn target() -> CompileTarget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_before_last_token_kind_n`, `error_msg`, `next_token`, and `get_parser_data` are never used [INFO] [stdout] --> core/src/parser/mod.rs:838:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 838 | fn get_before_last_token_kind_n(&self, n: usize) -> Option<&TokenKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | fn error_msg(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | fn next_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1186 | fn get_parser_data(&self, index: usize) -> Option<&ParserData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/transformations/functions_creator.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct FunctionsCreatorNasmi386 { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 629 | backend: BackendNasmi386, [INFO] [stdout] 630 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> core/src/transformations/typed_functions_creator.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct TypedFunctionsCreatorNasmi386 { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 270 | backend: BackendNasmi386, [INFO] [stdout] 271 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_return_value_is_not_used` is never used [INFO] [stdout] --> core/src/type_check/verify.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn expression_return_value_is_not_used(statement: &ASTTypedStatement) -> CompilationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> core/src/type_check/mod.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_natives` is never used [INFO] [stdout] --> core/src/project.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl RasmProject { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 526 | fn get_natives(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ast::ASTType` instead of cloning the inner type [INFO] [stdout] --> core/src/type_check/typed_ast.rs:896:56 [INFO] [stdout] | [INFO] [stdout] 896 | TypeFilter::Exact(type_def_ast_type.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 205 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ignore_whitespaces`, `ignore_until`, and `get_if_custom_type_index` are never used [INFO] [stdout] --> server/src/reference_finder.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl ReferenceFinder { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn ignore_whitespaces(lines: &Vec<&str>, index: &ASTIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn ignore_until(lines: &Vec<&str>, index: &ASTIndex, c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1034 | fn get_if_custom_type_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finder` [INFO] [stdout] --> server/src/reference_finder.rs:1561:13 [INFO] [stdout] | [INFO] [stdout] 1561 | let finder = ReferenceFinder::new(&eh_module, &module).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_finder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasm v0.1.0-alpha.0 (/opt/rustwide/workdir/rasm) [INFO] [stdout] warning: associated functions `ignore_whitespaces`, `ignore_until`, and `get_if_custom_type_index` are never used [INFO] [stdout] --> server/src/reference_finder.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl ReferenceFinder { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn ignore_whitespaces(lines: &Vec<&str>, index: &ASTIndex) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn ignore_until(lines: &Vec<&str>, index: &ASTIndex, c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1034 | fn get_if_custom_type_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_collection_items` is never used [INFO] [stdout] --> server/src/reference_finder.rs:1589:8 [INFO] [stdout] | [INFO] [stdout] 1589 | fn format_collection_items(items: &[CompletionItem]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.31s [INFO] running `Command { std: "docker" "inspect" "9008bd14b10dabf3e04366f4aacd4dd17ed09ef24aabdd09688da33e3cb3e62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9008bd14b10dabf3e04366f4aacd4dd17ed09ef24aabdd09688da33e3cb3e62c", kill_on_drop: false }` [INFO] [stdout] 9008bd14b10dabf3e04366f4aacd4dd17ed09ef24aabdd09688da33e3cb3e62c