[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] 9c467f7eafc1d09fc997b98b6dc06a9282dfe14a [INFO] checking enricobn/rasm against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenricobn%2Frasm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enricobn/rasm on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded serde v1.0.193 [INFO] [stderr] Downloaded rust-embed-impl v8.0.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded pad v0.1.6 [INFO] [stderr] Downloaded test-log v0.2.13 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded thiserror v1.0.55 [INFO] [stderr] Downloaded serde_derive v1.0.193 [INFO] [stderr] Downloaded auto_impl v1.1.0 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded winnow v0.5.19 [INFO] [stderr] Downloaded rayon v1.8.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded debug-cell v0.1.1 [INFO] [stderr] Downloaded env_logger v0.10.1 [INFO] [stderr] Downloaded rayon-core v1.12.0 [INFO] [stderr] Downloaded smallvec v1.11.2 [INFO] [stderr] Downloaded test_bin v0.4.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded errno v0.3.7 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded snailquote v0.3.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.55 [INFO] [stderr] Downloaded serde_spanned v0.6.4 [INFO] [stderr] Downloaded rust-embed-utils v8.0.0 [INFO] [stderr] Downloaded rust-embed v8.0.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a5040232e5b056dffaafe55b2c33a3dd28e66a6bbe7a3d3d1245a5c2d4f2e13 [INFO] running `Command { std: "docker" "start" "-a" "9a5040232e5b056dffaafe55b2c33a3dd28e66a6bbe7a3d3d1245a5c2d4f2e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a5040232e5b056dffaafe55b2c33a3dd28e66a6bbe7a3d3d1245a5c2d4f2e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5040232e5b056dffaafe55b2c33a3dd28e66a6bbe7a3d3d1245a5c2d4f2e13", kill_on_drop: false }` [INFO] [stdout] 9a5040232e5b056dffaafe55b2c33a3dd28e66a6bbe7a3d3d1245a5c2d4f2e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff3d800bb474aea91b5d95fdef96e89be4083e4afa16e4974340a03ad81b4c1 [INFO] running `Command { std: "docker" "start" "-a" "cff3d800bb474aea91b5d95fdef96e89be4083e4afa16e4974340a03ad81b4c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rust-embed-utils v8.0.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking winnow v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking rustc-demangle v0.1.23 [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 rand v0.4.6 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking test_bin v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking debug-cell v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling rust-embed-impl v8.0.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking rust-embed v8.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Compiling test-log v0.2.13 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking axum-core v0.3.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking axum v0.6.20 [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:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | 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:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | 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: unreachable statement [INFO] [stdout] --> core/src/new_type_check2/mod.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 736 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 737 | 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 pattern [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | _ => todo!("{kind:?}"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | ASTTypedType::Enum { namespace, name } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | ASTTypedType::Enum { namespace, name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | _ => todo!("{kind:?}"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(name) = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | ASTTypedType::Struct { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | ASTTypedType::Struct { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | ASTTypedType::Enum { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:157:45 [INFO] [stdout] | [INFO] [stdout] 157 | ASTTypedType::Enum { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_def` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | } 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:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_def` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | } 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:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | 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:347:32 [INFO] [stdout] | [INFO] [stdout] 347 | 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:351:45 [INFO] [stdout] | [INFO] [stdout] 351 | 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:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | 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:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | .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:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | 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:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | .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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | 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:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | 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:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | 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:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | 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:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | 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:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | 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:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | 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:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | 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:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | 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:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | 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:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | 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:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | stack: &StackVals, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> core/src/new_type_check2/mod.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 736 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 737 | 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: `body` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:653:9 [INFO] [stdout] | [INFO] [stdout] 653 | 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:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | 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:683:39 [INFO] [stdout] | [INFO] [stdout] 683 | 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:683:57 [INFO] [stdout] | [INFO] [stdout] 683 | 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:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | 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:791:37 [INFO] [stdout] | [INFO] [stdout] 791 | 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:839:33 [INFO] [stdout] | [INFO] [stdout] 839 | 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:839:59 [INFO] [stdout] | [INFO] [stdout] 839 | 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:847:40 [INFO] [stdout] | [INFO] [stdout] 847 | 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:869:20 [INFO] [stdout] | [INFO] [stdout] 869 | .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:897:9 [INFO] [stdout] | [INFO] [stdout] 897 | 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:943:24 [INFO] [stdout] | [INFO] [stdout] 943 | 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:947:9 [INFO] [stdout] | [INFO] [stdout] 947 | 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:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | 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:949:9 [INFO] [stdout] | [INFO] [stdout] 949 | 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:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | 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:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | 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:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | 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:957:34 [INFO] [stdout] | [INFO] [stdout] 957 | 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:957:53 [INFO] [stdout] | [INFO] [stdout] 957 | 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:989:25 [INFO] [stdout] | [INFO] [stdout] 989 | 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:991:25 [INFO] [stdout] | [INFO] [stdout] 991 | 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:992:25 [INFO] [stdout] | [INFO] [stdout] 992 | 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:1068:18 [INFO] [stdout] | [INFO] [stdout] 1068 | 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:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | 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:1157:25 [INFO] [stdout] | [INFO] [stdout] 1157 | 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:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:1188:33 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1192:28 [INFO] [stdout] | [INFO] [stdout] 1192 | 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:1196:23 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1196:42 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1218:27 [INFO] [stdout] | [INFO] [stdout] 1218 | 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: variable does not need to be mutable [INFO] [stdout] --> core/src/codegen/c/typed_function_creator.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let mut source = format!("lambda_space->{name}"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: `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: unreachable pattern [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | _ => todo!("{kind:?}"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | ASTTypedType::Enum { namespace, name } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | ASTTypedType::Enum { namespace, name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ref` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | is_ref, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `is_ref: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | _ => todo!("{kind:?}"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(name) = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | ASTTypedType::Struct { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | ASTTypedType::Struct { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | ASTTypedType::Enum { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:157:45 [INFO] [stdout] | [INFO] [stdout] 157 | ASTTypedType::Enum { namespace, name } => "struct RasmPointer_*".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_def` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | } 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:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | statics: &Statics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_def` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | } 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:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | 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: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:347:32 [INFO] [stdout] | [INFO] [stdout] 347 | 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:351:45 [INFO] [stdout] | [INFO] [stdout] 351 | 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:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | 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:367:20 [INFO] [stdout] | [INFO] [stdout] 367 | .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:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | 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:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | .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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | 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:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | 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:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | 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:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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: `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: `id` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | 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:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | 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:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | 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:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | 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:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | 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:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | 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:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | 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:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | 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:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | 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:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | 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:653:9 [INFO] [stdout] | [INFO] [stdout] 653 | 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:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | 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:683:39 [INFO] [stdout] | [INFO] [stdout] 683 | 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:683:57 [INFO] [stdout] | [INFO] [stdout] 683 | 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: `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: `stack` [INFO] [stdout] --> core/src/codegen/c/code_gen_c.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | 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:791:37 [INFO] [stdout] | [INFO] [stdout] 791 | 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:839:33 [INFO] [stdout] | [INFO] [stdout] 839 | 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:839:59 [INFO] [stdout] | [INFO] [stdout] 839 | 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:847:40 [INFO] [stdout] | [INFO] [stdout] 847 | 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:869:20 [INFO] [stdout] | [INFO] [stdout] 869 | .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:897:9 [INFO] [stdout] | [INFO] [stdout] 897 | 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:943:24 [INFO] [stdout] | [INFO] [stdout] 943 | 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:947:9 [INFO] [stdout] | [INFO] [stdout] 947 | 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:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | 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:949:9 [INFO] [stdout] | [INFO] [stdout] 949 | 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:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | 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:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | 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:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | 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:957:34 [INFO] [stdout] | [INFO] [stdout] 957 | 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:957:53 [INFO] [stdout] | [INFO] [stdout] 957 | 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:989:25 [INFO] [stdout] | [INFO] [stdout] 989 | 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:991:25 [INFO] [stdout] | [INFO] [stdout] 991 | 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:992:25 [INFO] [stdout] | [INFO] [stdout] 992 | 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:1068:18 [INFO] [stdout] | [INFO] [stdout] 1068 | 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:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | 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:1157:25 [INFO] [stdout] | [INFO] [stdout] 1157 | 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:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:1188:33 [INFO] [stdout] | [INFO] [stdout] 1188 | 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:1192:28 [INFO] [stdout] | [INFO] [stdout] 1192 | 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:1196:23 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1196:42 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1218:27 [INFO] [stdout] | [INFO] [stdout] 1218 | 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: `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: `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: variable does not need to be mutable [INFO] [stdout] --> core/src/codegen/c/typed_function_creator.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let mut source = format!("lambda_space->{name}"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: `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: `type_def_provider` [INFO] [stdout] --> core/src/codegen/mod.rs:2022:5 [INFO] [stdout] | [INFO] [stdout] 2022 | 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: `call_parameters` [INFO] [stdout] --> core/src/codegen/mod.rs:2693:9 [INFO] [stdout] | [INFO] [stdout] 2693 | 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:2694:9 [INFO] [stdout] | [INFO] [stdout] 2694 | 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:2695:9 [INFO] [stdout] | [INFO] [stdout] 2695 | 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:2696:9 [INFO] [stdout] | [INFO] [stdout] 2696 | 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:2755:9 [INFO] [stdout] | [INFO] [stdout] 2755 | 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:2756:9 [INFO] [stdout] | [INFO] [stdout] 2756 | 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:2757:9 [INFO] [stdout] | [INFO] [stdout] 2757 | 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:2758:9 [INFO] [stdout] | [INFO] [stdout] 2758 | 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:2759:9 [INFO] [stdout] | [INFO] [stdout] 2759 | 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:2874:9 [INFO] [stdout] | [INFO] [stdout] 2874 | 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:2875:9 [INFO] [stdout] | [INFO] [stdout] 2875 | 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:2876:9 [INFO] [stdout] | [INFO] [stdout] 2876 | 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: `t` [INFO] [stdout] --> core/src/codegen/mod.rs:2921:9 [INFO] [stdout] | [INFO] [stdout] 2921 | 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:2944:9 [INFO] [stdout] | [INFO] [stdout] 2944 | 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:2984:9 [INFO] [stdout] | [INFO] [stdout] 2984 | 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:2985:9 [INFO] [stdout] | [INFO] [stdout] 2985 | 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:3119:9 [INFO] [stdout] | [INFO] [stdout] 3119 | 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:3140:9 [INFO] [stdout] | [INFO] [stdout] 3140 | 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:3141:9 [INFO] [stdout] | [INFO] [stdout] 3141 | 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:3142:9 [INFO] [stdout] | [INFO] [stdout] 3142 | 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:3158:76 [INFO] [stdout] | [INFO] [stdout] 3158 | 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: `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:3225:9 [INFO] [stdout] | [INFO] [stdout] 3225 | 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:3226:9 [INFO] [stdout] | [INFO] [stdout] 3226 | 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:3227:9 [INFO] [stdout] | [INFO] [stdout] 3227 | 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:3228:9 [INFO] [stdout] | [INFO] [stdout] 3228 | 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:3229:9 [INFO] [stdout] | [INFO] [stdout] 3229 | 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:3240:9 [INFO] [stdout] | [INFO] [stdout] 3240 | 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:3241:9 [INFO] [stdout] | [INFO] [stdout] 3241 | 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:3417:9 [INFO] [stdout] | [INFO] [stdout] 3417 | 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:3573:9 [INFO] [stdout] | [INFO] [stdout] 3573 | 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/codegen/text_macro.rs:1802:17 [INFO] [stdout] | [INFO] [stdout] 1802 | let mut statics = Statics::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/codegen/text_macro.rs:1802:13 [INFO] [stdout] | [INFO] [stdout] 1802 | let mut statics = Statics::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: `type_def_provider` [INFO] [stdout] --> core/src/codegen/mod.rs:2022:5 [INFO] [stdout] | [INFO] [stdout] 2022 | 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:2693:9 [INFO] [stdout] | [INFO] [stdout] 2693 | 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:2694:9 [INFO] [stdout] | [INFO] [stdout] 2694 | 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:2695:9 [INFO] [stdout] | [INFO] [stdout] 2695 | 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:2696:9 [INFO] [stdout] | [INFO] [stdout] 2696 | 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:2755:9 [INFO] [stdout] | [INFO] [stdout] 2755 | 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:2756:9 [INFO] [stdout] | [INFO] [stdout] 2756 | 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:2757:9 [INFO] [stdout] | [INFO] [stdout] 2757 | 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:2758:9 [INFO] [stdout] | [INFO] [stdout] 2758 | 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:2759:9 [INFO] [stdout] | [INFO] [stdout] 2759 | 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:2874:9 [INFO] [stdout] | [INFO] [stdout] 2874 | 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:2875:9 [INFO] [stdout] | [INFO] [stdout] 2875 | 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:2876:9 [INFO] [stdout] | [INFO] [stdout] 2876 | 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:2921:9 [INFO] [stdout] | [INFO] [stdout] 2921 | 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:2944:9 [INFO] [stdout] | [INFO] [stdout] 2944 | 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:2984:9 [INFO] [stdout] | [INFO] [stdout] 2984 | 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:2985:9 [INFO] [stdout] | [INFO] [stdout] 2985 | 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:3119:9 [INFO] [stdout] | [INFO] [stdout] 3119 | 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:3140:9 [INFO] [stdout] | [INFO] [stdout] 3140 | 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:3141:9 [INFO] [stdout] | [INFO] [stdout] 3141 | 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:3142:9 [INFO] [stdout] | [INFO] [stdout] 3142 | 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:3158:76 [INFO] [stdout] | [INFO] [stdout] 3158 | 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:3225:9 [INFO] [stdout] | [INFO] [stdout] 3225 | 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:3226:9 [INFO] [stdout] | [INFO] [stdout] 3226 | 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:3227:9 [INFO] [stdout] | [INFO] [stdout] 3227 | 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:3228:9 [INFO] [stdout] | [INFO] [stdout] 3228 | 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:3229:9 [INFO] [stdout] | [INFO] [stdout] 3229 | 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:3240:9 [INFO] [stdout] | [INFO] [stdout] 3240 | 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:3241:9 [INFO] [stdout] | [INFO] [stdout] 3241 | 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:3417:9 [INFO] [stdout] | [INFO] [stdout] 3417 | 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:3573:9 [INFO] [stdout] | [INFO] [stdout] 3573 | 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:1579:22 [INFO] [stdout] | [INFO] [stdout] 1579 | 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:1605:22 [INFO] [stdout] | [INFO] [stdout] 1605 | 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:1635:22 [INFO] [stdout] | [INFO] [stdout] 1635 | 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: 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:2379:8 [INFO] [stdout] | [INFO] [stdout] 2096 | impl CodeGenAsm { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2379 | 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 `error_msg`, `next_token`, and `get_parser_data` are never used [INFO] [stdout] --> core/src/parser/mod.rs:976:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 976 | fn error_msg(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1146 | fn next_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1159 | 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: 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: 207 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rasm-server v0.1.0-alpha.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: method `strip_ifdef` is never used [INFO] [stdout] --> core/src/codegen/mod.rs:2379:8 [INFO] [stdout] | [INFO] [stdout] 2096 | impl CodeGenAsm { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2379 | 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 `error_msg`, `next_token`, and `get_parser_data` are never used [INFO] [stdout] --> core/src/parser/mod.rs:976:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 976 | fn error_msg(&self, message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1146 | fn next_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1159 | 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: unused import: `Prefix` [INFO] [stdout] --> server/src/reference_finder.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{PathBuf, Prefix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Prefix` [INFO] [stdout] --> server/src/reference_finder.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{PathBuf, Prefix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 214 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] 1006 | 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: 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] 1006 | 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:1530:8 [INFO] [stdout] | [INFO] [stdout] 1530 | fn format_collection_items(items: &[CompletionItem]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "cff3d800bb474aea91b5d95fdef96e89be4083e4afa16e4974340a03ad81b4c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff3d800bb474aea91b5d95fdef96e89be4083e4afa16e4974340a03ad81b4c1", kill_on_drop: false }` [INFO] [stdout] cff3d800bb474aea91b5d95fdef96e89be4083e4afa16e4974340a03ad81b4c1