[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] 7d400bd40a9d8a4fcabfd9fbf54af0c49460ecbd [INFO] checking sherif2003/nazm-lang against try#51000a35bc99aeffdc092bf2226ab562eedb9eff for pr-135899 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsherif2003%2Fnazm-lang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sherif2003/nazm-lang on toolchain 51000a35bc99aeffdc092bf2226ab562eedb9eff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "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-4-tc2/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" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6b4128ab4bdf3536e53a5ee6b675afa58bd9475f7894f67933badb43f59995e [INFO] running `Command { std: "docker" "start" "-a" "f6b4128ab4bdf3536e53a5ee6b675afa58bd9475f7894f67933badb43f59995e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6b4128ab4bdf3536e53a5ee6b675afa58bd9475f7894f67933badb43f59995e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6b4128ab4bdf3536e53a5ee6b675afa58bd9475f7894f67933badb43f59995e", kill_on_drop: false }` [INFO] [stdout] f6b4128ab4bdf3536e53a5ee6b675afa58bd9475f7894f67933badb43f59995e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+51000a35bc99aeffdc092bf2226ab562eedb9eff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ab3466de1fbb0904cccf0c05ab8a9d824e18f753cf28cc2a2a98769c4042e53 [INFO] running `Command { std: "docker" "start" "-a" "6ab3466de1fbb0904cccf0c05ab8a9d824e18f753cf28cc2a2a98769c4042e53", 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] Checking itertools v0.13.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [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 quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking nazmc_diagnostics v0.1.0 (/opt/rustwide/workdir/nazmc_diagnostics) [INFO] [stderr] Checking itertools v0.11.0 [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 hashbrown v0.15.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking clone_dyn_types v0.26.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking iter_tools v0.24.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling optfield v0.3.0 [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 derive_more v1.0.0 [INFO] [stderr] Checking nazmc_data_pool v0.1.0 (/opt/rustwide/workdir/nazmc_data_pool) [INFO] [stderr] Checking phf v0.11.2 [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: `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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nazmc_resolve v0.1.0 (/opt/rustwide/workdir/nazmc_resolve) [INFO] [stderr] Checking bpaf v0.9.14 [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 nazmc_semantics v0.1.0 (/opt/rustwide/workdir/nazmc_semantics) [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] [stderr] Checking strum v0.26.3 [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 documented v0.6.0 [INFO] [stderr] Checking nazmc_lexer v0.1.0 (/opt/rustwide/workdir/nazmc_lexer) [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:357:28 [INFO] [stdout] | [INFO] [stdout] 357 | 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:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | 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:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | 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:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | 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:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | 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:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | } 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:540:20 [INFO] [stdout] | [INFO] [stdout] 540 | 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:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | 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:603:20 [INFO] [stdout] | [INFO] [stdout] 603 | 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:670:32 [INFO] [stdout] | [INFO] [stdout] 670 | 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:699:28 [INFO] [stdout] | [INFO] [stdout] 699 | 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:835:20 [INFO] [stdout] | [INFO] [stdout] 835 | 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:847:20 [INFO] [stdout] | [INFO] [stdout] 847 | 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:865:20 [INFO] [stdout] | [INFO] [stdout] 865 | 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:623:46 [INFO] [stdout] | [INFO] [stdout] 623 | 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:623:51 [INFO] [stdout] | [INFO] [stdout] 623 | 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:624:47 [INFO] [stdout] | [INFO] [stdout] 624 | 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:629:43 [INFO] [stdout] | [INFO] [stdout] 629 | 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:638:53 [INFO] [stdout] | [INFO] [stdout] 638 | 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:642:52 [INFO] [stdout] | [INFO] [stdout] 642 | 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:642:56 [INFO] [stdout] | [INFO] [stdout] 642 | 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:650:46 [INFO] [stdout] | [INFO] [stdout] 650 | 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:650:51 [INFO] [stdout] | [INFO] [stdout] 650 | 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:651:47 [INFO] [stdout] | [INFO] [stdout] 651 | 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:656:43 [INFO] [stdout] | [INFO] [stdout] 656 | 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:1157:41 [INFO] [stdout] | [INFO] [stdout] 1157 | 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:1159:45 [INFO] [stdout] | [INFO] [stdout] 1159 | 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:1160:46 [INFO] [stdout] | [INFO] [stdout] 1160 | 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:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | 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:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | 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: `underlying_typ` [INFO] [stdout] --> nazmc_semantics/src/types.rs:431:14 [INFO] [stdout] | [INFO] [stdout] 431 | let (underlying_typ, underlying_typ_size, underlying_typ_align) = [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_size` [INFO] [stdout] --> nazmc_semantics/src/types.rs:431:30 [INFO] [stdout] | [INFO] [stdout] 431 | let (underlying_typ, underlying_typ_size, underlying_typ_align) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_underlying_typ_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `underlying_typ_align` [INFO] [stdout] --> nazmc_semantics/src/types.rs:431:51 [INFO] [stdout] | [INFO] [stdout] 431 | let (underlying_typ, underlying_typ_size, underlying_typ_align) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_underlying_typ_align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_expr_scope_key` [INFO] [stdout] --> nazmc_semantics/src/types.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | 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:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | 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:384:36 [INFO] [stdout] | [INFO] [stdout] 384 | 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:419:32 [INFO] [stdout] | [INFO] [stdout] 419 | 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:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | 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:481:32 [INFO] [stdout] | [INFO] [stdout] 481 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | الاسم, [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: `الإصدار` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | الإصدار, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `الإصدار: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_pkg_key` [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | 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: unused variable: `الاسم` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | الاسم, [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: `الإصدار` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | الإصدار, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `الإصدار: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_pkg_key` [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.46s [INFO] running `Command { std: "docker" "inspect" "6ab3466de1fbb0904cccf0c05ab8a9d824e18f753cf28cc2a2a98769c4042e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab3466de1fbb0904cccf0c05ab8a9d824e18f753cf28cc2a2a98769c4042e53", kill_on_drop: false }` [INFO] [stdout] 6ab3466de1fbb0904cccf0c05ab8a9d824e18f753cf28cc2a2a98769c4042e53