[INFO] cloning repository https://github.com/ilittlebig/vyn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ilittlebig/vyn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filittlebig%2Fvyn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filittlebig%2Fvyn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e42130a7208221d55cc3231025f7612a41c47060
[INFO] checking ilittlebig/vyn against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filittlebig%2Fvyn" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ilittlebig/vyn
[INFO] finished tweaking git repo https://github.com/ilittlebig/vyn
[INFO] tweaked toml for git repo https://github.com/ilittlebig/vyn written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ilittlebig/vyn on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ilittlebig/vyn 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 562ebb45a6caea8771a345c68bf366152ee150d9740f07b708818acf3a693c7e
[INFO] running `Command { std: "docker" "start" "-a" "562ebb45a6caea8771a345c68bf366152ee150d9740f07b708818acf3a693c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "562ebb45a6caea8771a345c68bf366152ee150d9740f07b708818acf3a693c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "562ebb45a6caea8771a345c68bf366152ee150d9740f07b708818acf3a693c7e", kill_on_drop: false }`
[INFO] [stdout] 562ebb45a6caea8771a345c68bf366152ee150d9740f07b708818acf3a693c7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6126178a61a36e4335179251f4199a86333e02a0d99d28ca0a636f232171b181
[INFO] running `Command { std: "docker" "start" "-a" "6126178a61a36e4335179251f4199a86333e02a0d99d28ca0a636f232171b181", kill_on_drop: false }`
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking sjoddalang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ColorSpec` and `Color`
[INFO] [stdout]   --> src/tools/cli/emitter.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use termcolor::{ Color, ColorChoice, ColorSpec, StandardStream, WriteColor };
[INFO] [stdout]    |                  ^^^^^               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TypeRef`
[INFO] [stdout]   --> src/passes/hir/lower_hir.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::frontend::parser::{ TypeRef, Stmt, StmtKind, Expr, Block, Param };
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HirStmt`
[INFO] [stdout]   --> src/passes/type_checking/types.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::passes::hir::{ HirExprKind, HirExpr, HirStmt, HirBlock, HirParam };
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/passes/mir/dump.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::{ self, Write };
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MirDumper`
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |     LocalId, MirValue, MirDumper, MirBinOp, MirUnOp, MirPlace, LoopContext, Capture
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColorChoice`, `StandardStream`, and `WriteColor`
[INFO] [stdout]  --> src/diagnostics/render.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use termcolor::{ Color, ColorChoice, ColorSpec, StandardStream, WriteColor };
[INFO] [stdout]   |                         ^^^^^^^^^^^             ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColorSpec` and `Color`
[INFO] [stdout]   --> src/diagnostics/emitter.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use termcolor::{ Color, ColorChoice, ColorSpec, StandardStream, WriteColor };
[INFO] [stdout]    |                  ^^^^^               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenKind`
[INFO] [stdout]  --> src/diagnostics/from_lexer.rs:9:56
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::frontend::lexer::{ LexError, LexDiagnostic, TokenKind };
[INFO] [stdout]   |                                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColorSpec` and `Color`
[INFO] [stdout]   --> src/tools/cli/emitter.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use termcolor::{ Color, ColorChoice, ColorSpec, StandardStream, WriteColor };
[INFO] [stdout]    |                  ^^^^^               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TypeRef`
[INFO] [stdout]   --> src/passes/hir/lower_hir.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::frontend::parser::{ TypeRef, Stmt, StmtKind, Expr, Block, Param };
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HirStmt`
[INFO] [stdout]   --> src/passes/type_checking/types.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::passes::hir::{ HirExprKind, HirExpr, HirStmt, HirBlock, HirParam };
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/passes/mir/dump.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::{ self, Write };
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MirDumper`
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |     LocalId, MirValue, MirDumper, MirBinOp, MirUnOp, MirPlace, LoopContext, Capture
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColorChoice`, `StandardStream`, and `WriteColor`
[INFO] [stdout]  --> src/diagnostics/render.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use termcolor::{ Color, ColorChoice, ColorSpec, StandardStream, WriteColor };
[INFO] [stdout]   |                         ^^^^^^^^^^^             ^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColorSpec` and `Color`
[INFO] [stdout]   --> src/diagnostics/emitter.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use termcolor::{ Color, ColorChoice, ColorSpec, StandardStream, WriteColor };
[INFO] [stdout]    |                  ^^^^^               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenKind`
[INFO] [stdout]  --> src/diagnostics/from_lexer.rs:9:56
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::frontend::lexer::{ LexError, LexDiagnostic, TokenKind };
[INFO] [stdout]   |                                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/tools/cli/error.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |             CliError::UnknownCommand { cmd } => write!(f, "unknown command"),
[INFO] [stdout]    |                                        ^^^ help: try ignoring the field: `cmd: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flag`
[INFO] [stdout]   --> src/tools/cli/error.rs:23:38
[INFO] [stdout]    |
[INFO] [stdout] 23 |             CliError::MissingValue { flag } => write!(f, "missing value"),
[INFO] [stdout]    |                                      ^^^^ help: try ignoring the field: `flag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/tools/cli/error.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |             CliError::UnknownCommand { cmd } => write!(f, "unknown command"),
[INFO] [stdout]    |                                        ^^^ help: try ignoring the field: `cmd: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flag`
[INFO] [stdout]   --> src/tools/cli/error.rs:23:38
[INFO] [stdout]    |
[INFO] [stdout] 23 |             CliError::MissingValue { flag } => write!(f, "missing value"),
[INFO] [stdout]    |                                      ^^^^ help: try ignoring the field: `flag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/tools/cli/args.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             CliCommand::Run(args) => Some(&args.compile),
[INFO] [stdout]    |             --------------------- matches all the relevant values
[INFO] [stdout] 52 |             _ => None,
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/tools/cli/args.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             CliCommand::Run(args) => Some(&args.compile),
[INFO] [stdout]    |             --------------------- matches all the relevant values
[INFO] [stdout] 52 |             _ => None,
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tools/cli/parser.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut parser = Parser::new(it);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tools/cli/parser.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut parser = Parser::new(it);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/tools/fmt/printer.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         for i in 0..n {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/tools/fmt/printer.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         for i in 0..n {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f_span`
[INFO] [stdout]   --> src/passes/hir/lower_hir.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 |         if matches!(func_name, Some((f_sym, f_span)) if f_sym == symbol) {
[INFO] [stdout]    |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_span`
[INFO] [stdout]    --> src/passes/hir/lower_hir.rs:202:42
[INFO] [stdout]     |
[INFO] [stdout] 202 |         Expr::Field { base, name: (name, name_span) } => {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f_span`
[INFO] [stdout]   --> src/passes/hir/lower_hir.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 |         if matches!(func_name, Some((f_sym, f_span)) if f_sym == symbol) {
[INFO] [stdout]    |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_span`
[INFO] [stdout]    --> src/passes/hir/lower_hir.rs:202:42
[INFO] [stdout]     |
[INFO] [stdout] 202 |         Expr::Field { base, name: (name, name_span) } => {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/passes/type_checking/types.rs:200:37
[INFO] [stdout]     |
[INFO] [stdout] 200 |         HirExprKind::Call { callee, args, .. } => {
[INFO] [stdout]     |                                     ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/passes/type_checking/types.rs:200:37
[INFO] [stdout]     |
[INFO] [stdout] 200 |         HirExprKind::Call { callee, args, .. } => {
[INFO] [stdout]     |                                     ^^^^ help: try ignoring the field: `args: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/passes/mir/dump.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |             _ => p.write_raw("<unimplemented binary operator>"),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/passes/mir/dump.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |             MirBinOp::Add => p.write_raw("add"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 249 |             MirBinOp::Sub => p.write_raw("sub"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 250 |             MirBinOp::Div => p.write_raw("div"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 251 |             MirBinOp::Mul => p.write_raw("mul"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 265 |             _ => p.write_raw("<unimplemented binary operator>"),
[INFO] [stdout]     |             ^ ...and 9 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/passes/mir/dump.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             _ => p.write_raw("<unimplemented unary operator>"),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/passes/mir/dump.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |             MirUnOp::Neg => p.write_raw("neg"),
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] 273 |             MirUnOp::Plus => p.write_raw("plus"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 274 |             MirUnOp::Not => p.write_raw("not"),
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] 275 |             _ => p.write_raw("<unimplemented unary operator>"),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut block = self.get_current_block();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut block = self.get_current_block();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut func = self.get_current_func();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut func = self.get_current_func();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/passes/mir/dump.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |             _ => p.write_raw("<unimplemented binary operator>"),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/passes/mir/dump.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |             MirBinOp::Add => p.write_raw("add"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 249 |             MirBinOp::Sub => p.write_raw("sub"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 250 |             MirBinOp::Div => p.write_raw("div"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 251 |             MirBinOp::Mul => p.write_raw("mul"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 265 |             _ => p.write_raw("<unimplemented binary operator>"),
[INFO] [stdout]     |             ^ ...and 9 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/passes/mir/dump.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             _ => p.write_raw("<unimplemented unary operator>"),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/passes/mir/dump.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |             MirUnOp::Neg => p.write_raw("neg"),
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] 273 |             MirUnOp::Plus => p.write_raw("plus"),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 274 |             MirUnOp::Not => p.write_raw("not"),
[INFO] [stdout]     |             ------------ matches some of the same values
[INFO] [stdout] 275 |             _ => p.write_raw("<unimplemented unary operator>"),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut block = self.get_current_block();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut block = self.get_current_block();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut func = self.get_current_func();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/passes/mir/lower_mir.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut func = self.get_current_func();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/passes/mir/lower_mir.rs:279:21
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 let span = expr.span;
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/passes/mir/lower_mir.rs:440:17
[INFO] [stdout]     |
[INFO] [stdout] 440 |                 _ => { todo!() },
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/passes/mir/lower_mir.rs:440:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |                 HirStmtKind::FuncDecl { def_id, init, params, .. } => {
[INFO] [stdout]     |                 -------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 355 |                 HirStmtKind::Decl { def_id, init } => {
[INFO] [stdout]     |                 ---------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 365 |                 HirStmtKind::If { cond, then_block, else_block } => {
[INFO] [stdout]     |                 ------------------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 386 |                 HirStmtKind::While { cond, body } => {
[INFO] [stdout]     |                 --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 440 |                 _ => { todo!() },
[INFO] [stdout]     |                 ^ ...and 5 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> src/passes/mir/lower_mir.rs:279:21
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 let span = expr.span;
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/passes/mir/lower_mir.rs:440:17
[INFO] [stdout]     |
[INFO] [stdout] 440 |                 _ => { todo!() },
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/passes/mir/lower_mir.rs:440:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |                 HirStmtKind::FuncDecl { def_id, init, params, .. } => {
[INFO] [stdout]     |                 -------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 355 |                 HirStmtKind::Decl { def_id, init } => {
[INFO] [stdout]     |                 ---------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 365 |                 HirStmtKind::If { cond, then_block, else_block } => {
[INFO] [stdout]     |                 ------------------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 386 |                 HirStmtKind::While { cond, body } => {
[INFO] [stdout]     |                 --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 440 |                 _ => { todo!() },
[INFO] [stdout]     |                 ^ ...and 5 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ScopeId` is more private than the item `PassContext::current_scope`
[INFO] [stdout]   --> src/passes/mod.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub current_scope: ScopeId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PassContext::current_scope` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `ScopeId` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/passes/mod.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct ScopeId(usize);
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `target` is never read
[INFO] [stdout]   --> src/tools/cli/args.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct CompileOptions {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 29 |     pub mode: Mode,
[INFO] [stdout] 30 |     pub target: Target,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompileOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `program_args` is never read
[INFO] [stdout]   --> src/tools/cli/args.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RunArgs {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 36 |     pub compile: CompileOptions,
[INFO] [stdout] 37 |     pub program_args: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RunArgs` 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 `path` is never read
[INFO] [stdout]   --> src/tools/cli/parser.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ParsedCli {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     path: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedCli` 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]   --> src/frontend/lexer.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     UnterminatedString(u8),
[INFO] [stdout]    |     ------------------ ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 19 -     UnterminatedString(u8),
[INFO] [stdout] 19 +     UnterminatedString(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/frontend/lexer.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |     UnexpectedChar(u8),
[INFO] [stdout]    |     -------------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 20 -     UnexpectedChar(u8),
[INFO] [stdout] 20 +     UnexpectedChar(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnterminatedComment` is never constructed
[INFO] [stdout]   --> src/frontend/lexer.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum LexError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     UnterminatedComment,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ScopeId` is more private than the item `PassContext::current_scope`
[INFO] [stdout]   --> src/passes/mod.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub current_scope: ScopeId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PassContext::current_scope` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `ScopeId` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/passes/mod.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct ScopeId(usize);
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AnyKeyword` and `Operator` are never constructed
[INFO] [stdout]   --> src/frontend/parser.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum Expected {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 14 |     Identifier,
[INFO] [stdout] 15 |     AnyKeyword, // when would this ever be needed?
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 16 |     Keyword(Keyword),
[INFO] [stdout] 17 |     Operator(Operator),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Expected` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/passes/mod.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Def {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     kind: DefKind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Def` 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 `ret` is never read
[INFO] [stdout]   --> src/passes/hir/types.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct HirFunc {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub ret: Option<Type>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HirFunc` 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 `span` is never read
[INFO] [stdout]   --> src/passes/hir/types.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct HirBlock {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 57 |     pub stmts: Vec<HirStmt>,
[INFO] [stdout] 58 |     pub span: Span,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HirBlock` 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 `kind` is never read
[INFO] [stdout]   --> src/passes/type_checking/types.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct TypeDef {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 43 |     pub name: Symbol,
[INFO] [stdout] 44 |     pub kind: TypeDefKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuncInfo` is never constructed
[INFO] [stdout]   --> src/passes/type_checking/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct FuncInfo<'a> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/passes/mir/mir.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ClosureId(pub usize);
[INFO] [stdout]    |            --------- ^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `ClosureId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `def_id` is never used
[INFO] [stdout]   --> src/passes/mir/mir.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Capture {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 72 |     pub fn def_id(&self) -> DefId {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Closure` is never constructed
[INFO] [stdout]    --> src/passes/mir/mir.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub enum MirValue {
[INFO] [stdout]     |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 113 |     Closure(ClosureId),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MirValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mir` is never read
[INFO] [stdout]   --> src/passes/codegen/aarch64.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Codegen {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 11 |     pub mir: MirProgram
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Note` is never constructed
[INFO] [stdout]   --> src/diagnostics/render.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Severity { Error, Warning, Note }
[INFO] [stdout]    |          --------                   ^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          variant in this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Severity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/diagnostics/emitter.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Emitter {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 37 |     pub fn new(color_choice: ColorChoice) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/diagnostics/span.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> Spanned<T> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(node: T, start: usize, end: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `target` is never read
[INFO] [stdout]   --> src/tools/cli/args.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct CompileOptions {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 29 |     pub mode: Mode,
[INFO] [stdout] 30 |     pub target: Target,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompileOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tools/fmt/printer.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             self.out.write_char(' ');
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let _ = self.out.write_char(' ');
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `program_args` is never read
[INFO] [stdout]   --> src/tools/cli/args.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RunArgs {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 36 |     pub compile: CompileOptions,
[INFO] [stdout] 37 |     pub program_args: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RunArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tools/fmt/printer.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         self.out.write_char('\n');
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let _ = self.out.write_char('\n');
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tools/fmt/printer.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         self.out.write_char('\n');
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let _ = self.out.write_char('\n');
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/tools/cli/parser.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ParsedCli {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     path: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedCli` 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]   --> src/frontend/lexer.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     UnterminatedString(u8),
[INFO] [stdout]    |     ------------------ ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 19 -     UnterminatedString(u8),
[INFO] [stdout] 19 +     UnterminatedString(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/frontend/lexer.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |     UnexpectedChar(u8),
[INFO] [stdout]    |     -------------- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 20 -     UnexpectedChar(u8),
[INFO] [stdout] 20 +     UnexpectedChar(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnterminatedComment` is never constructed
[INFO] [stdout]   --> src/frontend/lexer.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum LexError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     UnterminatedComment,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LexError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AnyKeyword` and `Operator` are never constructed
[INFO] [stdout]   --> src/frontend/parser.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum Expected {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 14 |     Identifier,
[INFO] [stdout] 15 |     AnyKeyword, // when would this ever be needed?
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 16 |     Keyword(Keyword),
[INFO] [stdout] 17 |     Operator(Operator),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Expected` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/passes/mod.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Def {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     kind: DefKind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Def` 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 `ret` is never read
[INFO] [stdout]   --> src/passes/hir/types.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct HirFunc {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub ret: Option<Type>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HirFunc` 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 `span` is never read
[INFO] [stdout]   --> src/passes/hir/types.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct HirBlock {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 57 |     pub stmts: Vec<HirStmt>,
[INFO] [stdout] 58 |     pub span: Span,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HirBlock` 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 `kind` is never read
[INFO] [stdout]   --> src/passes/type_checking/types.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct TypeDef {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 43 |     pub name: Symbol,
[INFO] [stdout] 44 |     pub kind: TypeDefKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TypeDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuncInfo` is never constructed
[INFO] [stdout]   --> src/passes/type_checking/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct FuncInfo<'a> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/passes/mir/mir.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ClosureId(pub usize);
[INFO] [stdout]    |            --------- ^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `ClosureId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `def_id` is never used
[INFO] [stdout]   --> src/passes/mir/mir.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Capture {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 72 |     pub fn def_id(&self) -> DefId {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Closure` is never constructed
[INFO] [stdout]    --> src/passes/mir/mir.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub enum MirValue {
[INFO] [stdout]     |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 113 |     Closure(ClosureId),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MirValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mir` is never read
[INFO] [stdout]   --> src/passes/codegen/aarch64.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Codegen {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 11 |     pub mir: MirProgram
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Note` is never constructed
[INFO] [stdout]   --> src/diagnostics/render.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Severity { Error, Warning, Note }
[INFO] [stdout]    |          --------                   ^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          variant in this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Severity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/diagnostics/emitter.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Emitter {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 37 |     pub fn new(color_choice: ColorChoice) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/diagnostics/span.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> Spanned<T> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(node: T, start: usize, end: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tools/fmt/printer.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             self.out.write_char(' ');
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let _ = self.out.write_char(' ');
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tools/fmt/printer.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         self.out.write_char('\n');
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let _ = self.out.write_char('\n');
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tools/fmt/printer.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         self.out.write_char('\n');
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let _ = self.out.write_char('\n');
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "6126178a61a36e4335179251f4199a86333e02a0d99d28ca0a636f232171b181", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6126178a61a36e4335179251f4199a86333e02a0d99d28ca0a636f232171b181", kill_on_drop: false }`
[INFO] [stdout] 6126178a61a36e4335179251f4199a86333e02a0d99d28ca0a636f232171b181
