[INFO] cloning repository https://github.com/sherif2003/nazm-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sherif2003/nazm-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsherif2003%2Fnazm-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsherif2003%2Fnazm-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2be845782231a960501f32e4e7f60981433d23c [INFO] checking sherif2003/nazm-lang against master#18a029cfe8e761533634bda8fe8a14e30280a21b for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsherif2003%2Fnazm-lang" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sherif2003/nazm-lang on toolchain 18a029cfe8e761533634bda8fe8a14e30280a21b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sherif2003/nazm-lang [INFO] finished tweaking git repo https://github.com/sherif2003/nazm-lang [INFO] tweaked toml for git repo https://github.com/sherif2003/nazm-lang written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sherif2003/nazm-lang 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" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded documented v0.6.0 [INFO] [stderr] Downloaded optfield v0.3.0 [INFO] [stderr] Downloaded documented-macros v0.6.0 [INFO] [stderr] Downloaded bpaf_derive v0.5.13 [INFO] [stderr] Downloaded typed-index-collections v3.2.3 [INFO] [stderr] Downloaded bpaf v0.9.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d925018987713c84e58126aa10069abfbd7236d8d8a8a12fad7c9ec02bf5b57 [INFO] running `Command { std: "docker" "start" "-a" "3d925018987713c84e58126aa10069abfbd7236d8d8a8a12fad7c9ec02bf5b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d925018987713c84e58126aa10069abfbd7236d8d8a8a12fad7c9ec02bf5b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d925018987713c84e58126aa10069abfbd7236d8d8a8a12fad7c9ec02bf5b57", kill_on_drop: false }` [INFO] [stdout] 3d925018987713c84e58126aa10069abfbd7236d8d8a8a12fad7c9ec02bf5b57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+18a029cfe8e761533634bda8fe8a14e30280a21b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e6f419072d6d02deea27adb1cf171512dda39b6b0a22bd4a976a80c7c0da7e [INFO] running `Command { std: "docker" "start" "-a" "65e6f419072d6d02deea27adb1cf171512dda39b6b0a22bd4a976a80c7c0da7e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking typed-index-collections v3.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking qbe v2.4.0 (/opt/rustwide/workdir/qbe-rs) [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking clone_dyn_types v0.26.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking nazmc_diagnostics v0.1.0 (/opt/rustwide/workdir/nazmc_diagnostics) [INFO] [stdout] warning: variants `ErrorWithCode` and `Warning` are never constructed [INFO] [stdout] --> nazmc_diagnostics/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 86 | enum DiagnosticLevel { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 87 | Error, [INFO] [stdout] 88 | ErrorWithCode(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to_x_axis`, `move_to_y_axis`, and `current_row_size` are never used [INFO] [stdout] --> nazmc_diagnostics/src/code_window/painter.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Painter

{ [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn move_to_x_axis(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn move_to_y_axis(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn current_row_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iter_tools v0.24.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling optfield v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling nazmc_parse_derive v0.1.0 (/opt/rustwide/workdir/nazmc_parse_derive) [INFO] [stderr] Compiling bpaf_derive v0.5.13 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nazmc_parse_derive/src/lib.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | ParseResult(&'a Type), [INFO] [stdout] | ----------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 243 - ParseResult(&'a Type), [INFO] [stdout] 243 + ParseResult(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nazmc_parse_derive/src/lib.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | Option(&'a Type), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 245 - Option(&'a Type), [INFO] [stdout] 245 + Option(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nazmc_parse_derive/src/lib.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | Vec(&'a Type), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 246 - Vec(&'a Type), [INFO] [stdout] 246 + Vec(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> nazmc_parse_derive/src/lib.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | ZeroOrMany(&'a Type, &'a Type), [INFO] [stdout] | ---------- ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 247 - ZeroOrMany(&'a Type, &'a Type), [INFO] [stdout] 247 + ZeroOrMany((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> nazmc_parse_derive/src/lib.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | OneOrMany(&'a Type, &'a Type), [INFO] [stdout] | --------- ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 248 - OneOrMany(&'a Type, &'a Type), [INFO] [stdout] 248 + OneOrMany((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling documented-macros v0.6.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking bpaf v0.9.14 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking nazmc_data_pool v0.1.0 (/opt/rustwide/workdir/nazmc_data_pool) [INFO] [stderr] Checking nazmc_ast v0.1.0 (/opt/rustwide/workdir/nazmc_ast) [INFO] [stderr] Checking nazmc_nir v0.1.0 (/opt/rustwide/workdir/nazmc_nir) [INFO] [stdout] warning: unused variable: `lambda_type_key` [INFO] [stdout] --> nazmc_nir/src/abi/mod.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | Type::Lambda(lambda_type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_type_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> nazmc_nir/src/abi/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | for arg in args {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | Type::Slice(type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | Type::MutSlice(type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | Type::Array(array_type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | Type::Lambda(lambda_type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking documented v0.6.0 [INFO] [stdout] warning: unused variable: `lvalue_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | Stm::Drop(lvalue_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lvalue_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:457:36 [INFO] [stdout] | [INFO] [stdout] 457 | LValueKind::MutField { on, field_id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_id` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | LValueKind::MutField { on, field_id } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `field_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:458:39 [INFO] [stdout] | [INFO] [stdout] 458 | LValueKind::MutTupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:458:43 [INFO] [stdout] | [INFO] [stdout] 458 | LValueKind::MutTupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:459:39 [INFO] [stdout] | [INFO] [stdout] 459 | LValueKind::MutArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | LValueKind::MutArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | LValueKind::MutArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:460:48 [INFO] [stdout] | [INFO] [stdout] 460 | LValueKind::MutArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thin_vec` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:471:27 [INFO] [stdout] | [INFO] [stdout] 471 | RValue::Tuple(thin_vec) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thin_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thin_vec` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:472:35 [INFO] [stdout] | [INFO] [stdout] 472 | RValue::ArrayElements(thin_vec) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thin_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeated` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:473:37 [INFO] [stdout] | [INFO] [stdout] 473 | RValue::ArrayRepeated { repeated, size } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `repeated: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | RValue::ArrayRepeated { repeated, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | RValue::Struct { struct_key, fields } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `struct_key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:474:42 [INFO] [stdout] | [INFO] [stdout] 474 | RValue::Struct { struct_key, fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:475:28 [INFO] [stdout] | [INFO] [stdout] 475 | RValue::Cast { val, to } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:475:33 [INFO] [stdout] | [INFO] [stdout] 475 | RValue::Cast { val, to } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:587:33 [INFO] [stdout] | [INFO] [stdout] 587 | LValueKind::Field { on, field_id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_id` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:587:37 [INFO] [stdout] | [INFO] [stdout] 587 | LValueKind::Field { on, field_id } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `field_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:588:36 [INFO] [stdout] | [INFO] [stdout] 588 | LValueKind::TupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:588:40 [INFO] [stdout] | [INFO] [stdout] 588 | LValueKind::TupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 589 | LValueKind::ArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:589:40 [INFO] [stdout] | [INFO] [stdout] 589 | LValueKind::ArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | LValueKind::ArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:590:45 [INFO] [stdout] | [INFO] [stdout] 590 | LValueKind::ArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | LValueKind::MutField { on, field_id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_id` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:591:40 [INFO] [stdout] | [INFO] [stdout] 591 | LValueKind::MutField { on, field_id } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `field_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:592:39 [INFO] [stdout] | [INFO] [stdout] 592 | LValueKind::MutTupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:592:43 [INFO] [stdout] | [INFO] [stdout] 592 | LValueKind::MutTupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:593:39 [INFO] [stdout] | [INFO] [stdout] 593 | LValueKind::MutArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:593:43 [INFO] [stdout] | [INFO] [stdout] 593 | LValueKind::MutArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:594:44 [INFO] [stdout] | [INFO] [stdout] 594 | LValueKind::MutArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:594:48 [INFO] [stdout] | [INFO] [stdout] 594 | LValueKind::MutArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:621:26 [INFO] [stdout] | [INFO] [stdout] 621 | Type::Struct(struct_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:622:25 [INFO] [stdout] | [INFO] [stdout] 622 | Type::Slice(type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:623:28 [INFO] [stdout] | [INFO] [stdout] 623 | Type::MutSlice(type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | Type::Array(array_type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | Type::Tuple(tuple_type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_type_key` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:626:26 [INFO] [stdout] | [INFO] [stdout] 626 | Type::Lambda(lambda_type_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:653:33 [INFO] [stdout] | [INFO] [stdout] 653 | LValueKind::Field { on, field_id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_id` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:653:37 [INFO] [stdout] | [INFO] [stdout] 653 | LValueKind::Field { on, field_id } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `field_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:654:36 [INFO] [stdout] | [INFO] [stdout] 654 | LValueKind::TupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:654:40 [INFO] [stdout] | [INFO] [stdout] 654 | LValueKind::TupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:655:36 [INFO] [stdout] | [INFO] [stdout] 655 | LValueKind::ArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:655:40 [INFO] [stdout] | [INFO] [stdout] 655 | LValueKind::ArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:656:41 [INFO] [stdout] | [INFO] [stdout] 656 | LValueKind::ArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:656:45 [INFO] [stdout] | [INFO] [stdout] 656 | LValueKind::ArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:657:36 [INFO] [stdout] | [INFO] [stdout] 657 | LValueKind::MutField { on, field_id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_id` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:657:40 [INFO] [stdout] | [INFO] [stdout] 657 | LValueKind::MutField { on, field_id } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `field_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:658:39 [INFO] [stdout] | [INFO] [stdout] 658 | LValueKind::MutTupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:658:43 [INFO] [stdout] | [INFO] [stdout] 658 | LValueKind::MutTupleIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:659:39 [INFO] [stdout] | [INFO] [stdout] 659 | LValueKind::MutArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:659:43 [INFO] [stdout] | [INFO] [stdout] 659 | LValueKind::MutArrayIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:660:44 [INFO] [stdout] | [INFO] [stdout] 660 | LValueKind::MutArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `on: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> nazmc_nir/src/codegen/qbe.rs:660:48 [INFO] [stdout] | [INFO] [stdout] 660 | LValueKind::MutArrayConstIdx { on, idx } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lvalue_key` [INFO] [stdout] --> nazmc_nir/src/fmt.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | Stm::Drop(lvalue_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lvalue_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `structs_layouts` and `tuples_layouts` are never read [INFO] [stdout] --> nazmc_nir/src/abi/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NIRAbiTransformer<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | nir: NIR<'a>, [INFO] [stdout] 5 | structs_layouts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | tuples_layouts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `align`, and `fields` are never read [INFO] [stdout] --> nazmc_nir/src/abi/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct TypeLayout { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | align: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `offset` are never read [INFO] [stdout] --> nazmc_nir/src/abi/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct FieldLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> nazmc_nir/src/abi/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> NIRAbiTransformer<'a> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 21 | const PTR_SIZE: u32 = usize::BITS / 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | fn calculate_type_size(&mut self, type_key: TypeKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn calculate_type_align(&mut self, type_key: TypeKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn calculate_layout_from_types(&mut self, types: impl Iterator) -> TypeLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn calculate_struct_layout(&mut self, struct_key: StructKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn calculate_tuple_layout(&mut self, tuple_type_key: TupleTypeKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn get_struct_size(&self, struct_key: StructKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_struct_align(&self, struct_key: StructKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn get_tuple_size(&self, tuple_type_key: TupleTypeKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn get_tuple_align(&self, tuple_type_key: TupleTypeKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn calculate_array_size(&mut self, array_type_key: ArrayTypeKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn calculate_array_align(&mut self, array_type_key: ArrayTypeKey) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nazmc_resolve v0.1.0 (/opt/rustwide/workdir/nazmc_resolve) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | writeln!(f, "digraph CFG {{"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | writeln!(f, " node [shape=rect];"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / writeln!( [INFO] [stdout] 15 | | f, [INFO] [stdout] 16 | | " BB{} [style = \"rounded\", label=\"Start\"];", [INFO] [stdout] 17 | | BasicBlockKey::START_BASIC_BLOCK.0 [INFO] [stdout] 18 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / writeln!( [INFO] [stdout] 21 | | f, [INFO] [stdout] 22 | | " BB{} [style = \"rounded\", label=\"End\"];", [INFO] [stdout] 23 | | BasicBlockKey::END_BASIC_BLOCK.0 [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / writeln!( [INFO] [stdout] 73 | | f, [INFO] [stdout] 74 | | " BB{} [label=\"@BB{}\\l{}\"];", [INFO] [stdout] 75 | | bb_key.0, bb_key.0, stms [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | writeln!(f, " BB{} -> BB{}", branch.from.0, branch.to.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | / writeln!( [INFO] [stdout] 88 | | f, [INFO] [stdout] 89 | | " Branch_{} [shape = \"diamond\", label=\"If {}\"];", [INFO] [stdout] 90 | | i, [INFO] [stdout] 91 | | self.fmt_operand_kind(&cfg, &o.kind) [INFO] [stdout] 92 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | writeln!(f, " BB{} -> Branch_{}", branch.from.0, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | writeln!(f, " Branch_{} -> BB{} [label=\"Yes\"]", i, branch.to.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | / writeln!( [INFO] [stdout] 99 | | f, [INFO] [stdout] 100 | | " Branch_{} -> BB{} [label=\"No\"]", [INFO] [stdout] 101 | | i, else_block_key.0 [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> nazmc_nir/src/fmt.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | writeln!(f, "}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking nazmc_semantics v0.1.0 (/opt/rustwide/workdir/nazmc_semantics) [INFO] [stderr] Checking nazmc_lexer v0.1.0 (/opt/rustwide/workdir/nazmc_lexer) [INFO] [stdout] warning: unused import: `nazmc_diagnostics::span::SpanCursor` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nazmc_diagnostics::span::SpanCursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> nazmc_semantics/src/consts.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 17 | panic!("Cycle detected"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 18 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nazmc_parser v0.1.0 (/opt/rustwide/workdir/nazmc_parser) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> nazmc_semantics/src/consts.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let c = &self.ast.consts[const_key]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | Item::Const { vis: _, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | Item::Static { vis: _, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | Item::Const { vis: _, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | Item::Static { vis: _, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | if let Err(err) = self.type_inf_ctx.unify(¶ms_types[i], &arg_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | if let Err(err) = self.type_inf_ctx.unify(¶ms_types[i], &arg_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_array` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | let (underlying_ty, is_array) = match on_expr_ty { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | if let Err(err) = self.type_inf_ctx.unify(&Type::u(), &idx_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | if let Err(err) = self.type_inf_ctx.unify(&field_ty, &field_expr_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 428 | if let Err(err) = self.type_inf_ctx.unify(&Type::boolean(), &if_cond_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | if let Err(err) = self.type_inf_ctx.unify(&Type::boolean(), &else_if_cond_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | if let Err(err) = self.type_inf_ctx.unify(&if_ty, &else_if_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:468:24 [INFO] [stdout] | [INFO] [stdout] 468 | if let Err(err) = self.type_inf_ctx.unify(&if_ty, &else_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:478:27 [INFO] [stdout] | [INFO] [stdout] 478 | } else if let Err(err) = self.type_inf_ctx.unify(&Type::unit(), &if_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:532:20 [INFO] [stdout] | [INFO] [stdout] 532 | if let Err(err) = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_scope` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | return_scope, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `return_scope: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:595:20 [INFO] [stdout] | [INFO] [stdout] 595 | if let Err(err) = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:662:32 [INFO] [stdout] | [INFO] [stdout] 662 | if let Err(err) = self.type_inf_ctx.unify(ty, &found_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:691:28 [INFO] [stdout] | [INFO] [stdout] 691 | if let Err(err) = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:827:20 [INFO] [stdout] | [INFO] [stdout] 827 | if let Err(err) = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:839:20 [INFO] [stdout] | [INFO] [stdout] 839 | if let Err(err) = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/exprs.rs:857:20 [INFO] [stdout] | [INFO] [stdout] 857 | if let Err(err) = self.type_inf_ctx.unify(expected_ty, found_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `underlying_typ` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | crate::CompositeType::Ref(underlying_typ) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_underlying_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `underlying_typ` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | crate::CompositeType::RefMut(underlying_typ) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_underlying_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_struct_key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | crate::ConcreteType::UnitStruct(unit_struct_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_struct_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_struct_key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | crate::ConcreteType::TupleStruct(tuple_struct_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_struct_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:627:46 [INFO] [stdout] | [INFO] [stdout] 627 | nazmc_ast::Item::Const { vis, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `vis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:627:51 [INFO] [stdout] | [INFO] [stdout] 627 | nazmc_ast::Item::Const { vis, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:628:47 [INFO] [stdout] | [INFO] [stdout] 628 | nazmc_ast::Item::Static { vis, key } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `vis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:633:43 [INFO] [stdout] | [INFO] [stdout] 633 | nazmc_ast::Item::Fn { vis, key } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `vis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fn_key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:642:53 [INFO] [stdout] | [INFO] [stdout] 642 | nazmc_ast::Item::FnParam { idx, fn_key } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fn_key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:647:52 [INFO] [stdout] | [INFO] [stdout] 647 | nazmc_ast::Item::LambdaParam { id, scope_key } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:647:56 [INFO] [stdout] | [INFO] [stdout] 647 | nazmc_ast::Item::LambdaParam { id, scope_key } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `scope_key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:655:46 [INFO] [stdout] | [INFO] [stdout] 655 | nazmc_ast::Item::Const { vis, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `vis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:655:51 [INFO] [stdout] | [INFO] [stdout] 655 | nazmc_ast::Item::Const { vis, key } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `key: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:656:47 [INFO] [stdout] | [INFO] [stdout] 656 | nazmc_ast::Item::Static { vis, key } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `vis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:661:43 [INFO] [stdout] | [INFO] [stdout] 661 | nazmc_ast::Item::Fn { vis, key } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `vis: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_expr` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:1162:41 [INFO] [stdout] | [INFO] [stdout] 1162 | nazmc_ast::ExprKind::Lambda(lambda_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_struct_path_key` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:1164:45 [INFO] [stdout] | [INFO] [stdout] 1164 | nazmc_ast::ExprKind::UnitStruct(unit_struct_path_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_struct_path_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple_struct_expr` [INFO] [stdout] --> nazmc_semantics/src/nir_builder.rs:1165:46 [INFO] [stdout] | [INFO] [stdout] 1165 | nazmc_ast::ExprKind::TupleStruct(tuple_struct_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple_struct_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_key` [INFO] [stdout] --> nazmc_semantics/src/types.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | CycleDetected::Const(const_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `const_key` [INFO] [stdout] --> nazmc_semantics/src/types.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | CycleDetected::Const(const_key) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_const_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> nazmc_semantics/src/types.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let s = self.typed_ast.tuple_structs.get(&key).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> nazmc_semantics/src/types.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let s = self.typed_ast.fields_structs.get(&key).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_align` [INFO] [stdout] --> nazmc_semantics/src/types.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let mut max_align = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> nazmc_semantics/src/types.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut offset: u32 = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nazmc_semantics/src/types.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut max_align = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nazmc_semantics/src/types.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut offset: u32 = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `underlying_typ` [INFO] [stdout] --> nazmc_semantics/src/types.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let underlying_typ = self.analyze_type_expr(underlying_typ); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_underlying_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_expr_scope_key` [INFO] [stdout] --> nazmc_semantics/src/types.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let size_expr_scope_key = self.ast.types_exprs.arrays[key].size_expr_scope_key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_expr_scope_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/lib.rs:319:20 [INFO] [stdout] | [INFO] [stdout] 319 | if let Err(err) = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/lib.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | if let Err(err) = self.type_inf_ctx.unify(&let_stm_type, &expr_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/lib.rs:425:32 [INFO] [stdout] | [INFO] [stdout] 425 | if let Err(err) = self.type_inf_ctx.unify(&Type::boolean(), &while_cond_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/lib.rs:436:32 [INFO] [stdout] | [INFO] [stdout] 436 | if let Err(err) = self.type_inf_ctx.unify(&Type::unit(), &while_scope_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> nazmc_semantics/src/lib.rs:487:32 [INFO] [stdout] | [INFO] [stdout] 487 | if let Err(err) = self.type_inf_ctx.unify(ty, &found_ty) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const` is never constructed [INFO] [stdout] --> nazmc_semantics/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum CycleDetected { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Const(ConstKey), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CycleDetected` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consts` is never read [INFO] [stdout] --> nazmc_semantics/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct SemanticsStack { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 40 | consts: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticsStack` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `analyze_consts` and `analyze_const` are never used [INFO] [stdout] --> nazmc_semantics/src/consts.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl<'a> SemanticsAnalyzer<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 4 | pub(crate) fn analyze_consts(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn analyze_const(&mut self, const_key: ConstKey) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `consts` and `statics` are never read [INFO] [stdout] --> nazmc_semantics/src/typed_ast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TypedAST { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub consts: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | pub statics: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ` and `value` are never read [INFO] [stdout] --> nazmc_semantics/src/typed_ast.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Const { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 40 | pub typ: Type, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | pub value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> nazmc_semantics/src/typed_ast.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 45 | pub typ: Type, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `types` is never read [INFO] [stdout] --> nazmc_semantics/src/typed_ast.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct TupleStruct { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 50 | pub types: ThinVec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> nazmc_parser/src/ast_validator.rs:1167:13 [INFO] [stdout] | [INFO] [stdout] 1167 | let mut expr = self.lower_primary_expr(unary_expr.expr.unwrap()); [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: fields `first`, `rest`, and `terminator` are never read [INFO] [stdout] --> nazmc_parser/src/parse_methods.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct OneOrMany [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub first: ParseResult, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | pub rest: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | pub terminator: ParseResult, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OneOrMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `comma` and `close_delim` are never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) struct [] { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 108 | comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | close_delim: $close_delim, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | generateTrailingCommaWithCloseDelimiter!(CloseAngleBracketOrGreaterSymbol); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithCloseAngleBracketOrGreaterSymbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generateTrailingCommaWithCloseDelimiter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `import_keyword` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/item.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ImportStm { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub(crate) import_keyword: ImportKeyword, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportStm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `const_keyword` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/item.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) struct ConstStm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 55 | pub(crate) const_keyword: ConstKeyword, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstStm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `static_keyword` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/item.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct StaticStm { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 61 | pub(crate) static_keyword: StaticKeyword, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticStm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/item.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | Unit(SemicolonSymbol), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 84 - Unit(SemicolonSymbol), [INFO] [stdout] 84 + Unit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trailing_comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct [] { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/item.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | generatePunctuatedItem!(TupleStructField); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `PunctuatedTupleStructField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/item.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | generatePunctuatedItem!(TupleStructField); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithTupleStructField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trailing_comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct [] { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/item.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | generatePunctuatedItem!(StructField); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `PunctuatedStructField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/item.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | generatePunctuatedItem!(StructField); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithStructField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trailing_comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct [] { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/item.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | generatePunctuatedItem!(FnParam); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `PunctuatedFnParam` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/item.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | generatePunctuatedItem!(FnParam); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithFnParam` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `double_colons` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/path.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct SimpleInnerPath { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 12 | pub(crate) double_colons: DoubleColonsSymbol, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleInnerPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semicolon` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/typ.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ArraySizeExpr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | pub(crate) semicolon: SemicolonSymbol, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArraySizeExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/typ.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | generatePunctuatedItem!(Type); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/stm.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | Semicolon(SemicolonSymbol), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Stm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Semicolon(SemicolonSymbol), [INFO] [stdout] 5 + Semicolon(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `let_keyword` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/stm.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct LetStm { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | pub(crate) let_keyword: LetKeyword, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetStm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_item`, `rest_items`, and `trailing_comma` are never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct [] { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 83 | pub(crate) first_item: ParseResult<$item>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 84 | pub(crate) rest_items: Vec]>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | pub(crate) trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/stm.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | generatePunctuatedItem!(Binding); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `PunctuatedBinding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/stm.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | generatePunctuatedItem!(Binding); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithBinding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/stm.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | generatePunctuatedItem!(BindingKind); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithBindingKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/stm.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) struct ColonWithType { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 53 | pub(crate) colon: ColonSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColonWithType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `equal` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/stm.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) struct LetAssign { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 59 | pub(crate) equal: EqualSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetAssign` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `do_keyword`, `block`, `while_keyword`, and `condition` are never read [INFO] [stdout] --> nazmc_parser/src/syntax/stm.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct DoWhileStm { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 71 | // TODO [INFO] [stdout] 72 | pub(crate) do_keyword: DoKeyword, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | /// This must be checked that it doesn't have a lambda arrow [INFO] [stdout] 74 | pub(crate) block: ParseResult, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | pub(crate) while_keyword: ParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub(crate) condition: ParseResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoWhileStm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dot` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/expr/mod.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) struct InnerAccessExpr { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 57 | pub(crate) dot: DotSymbol, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerAccessExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `equal` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/expr/mod.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) struct StructFieldInitExplicitExpr { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 113 | pub(crate) equal: EqualSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructFieldInitExplicitExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trailing_comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct [] { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/expr/mod.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | generatePunctuatedItem!(StructFieldInitExpr); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `PunctuatedStructFieldInitExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/expr/mod.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | generatePunctuatedItem!(StructFieldInitExpr); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithStructFieldInitExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/punctuated.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) struct [] { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 96 | pub(crate) comma: CommaSymbol, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: nazmc_parser/src/syntax/expr/mod.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | generatePunctuatedItem!(Expr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `CommaWithExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `generatePunctuatedItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semicolon` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/expr/array.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct ExplicitSizeArrayExpr { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 18 | pub(crate) repeated_expr: ParseResult, [INFO] [stdout] 19 | pub(crate) semicolon: SemicolonSymbol, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExplicitSizeArrayExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trailing_comma` is never read [INFO] [stdout] --> nazmc_parser/src/syntax/expr/array.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct ElementsArrayExpr { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(crate) trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementsArrayExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `when_keyword` and `expr` are never read [INFO] [stdout] --> nazmc_parser/src/syntax/expr/control_flow.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct WhenExpr { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub(crate) when_keyword: WhenKeyword, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub(crate) expr: ParseResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhenExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking nazmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `الإصدار` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | الإصدار, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `الإصدار: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_pkg_key` [INFO] [stdout] --> src/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let top_pkg_key = pkgs.get_key(&ThinVec::new()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_pkg_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `الإصدار` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | الإصدار, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `الإصدار: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_pkg_key` [INFO] [stdout] --> src/main.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let top_pkg_key = pkgs.get_key(&ThinVec::new()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_pkg_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cli` is never constructed [INFO] [stdout] --> src/cli.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Cli { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/cli.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_file() -> (PathBuf, String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cli` is never constructed [INFO] [stdout] --> src/cli.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Cli { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/cli.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_file() -> (PathBuf, String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.26s [INFO] running `Command { std: "docker" "inspect" "65e6f419072d6d02deea27adb1cf171512dda39b6b0a22bd4a976a80c7c0da7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e6f419072d6d02deea27adb1cf171512dda39b6b0a22bd4a976a80c7c0da7e", kill_on_drop: false }` [INFO] [stdout] 65e6f419072d6d02deea27adb1cf171512dda39b6b0a22bd4a976a80c7c0da7e