[INFO] cloning repository https://github.com/IlluzionzDev/LuceeFormat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IlluzionzDev/LuceeFormat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlluzionzDev%2FLuceeFormat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlluzionzDev%2FLuceeFormat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 662c1631e5cce14407a0f2b3dbe162b6a7f23a28
[INFO] testing IlluzionzDev/LuceeFormat against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlluzionzDev%2FLuceeFormat" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IlluzionzDev/LuceeFormat
[INFO] finished tweaking git repo https://github.com/IlluzionzDev/LuceeFormat
[INFO] tweaked toml for git repo https://github.com/IlluzionzDev/LuceeFormat written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IlluzionzDev/LuceeFormat on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IlluzionzDev/LuceeFormat 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1abaef25cb1bf958df45a56816035d7e2de16032f38cf5483f790431dd900dad
[INFO] running `Command { std: "docker" "start" "-a" "1abaef25cb1bf958df45a56816035d7e2de16032f38cf5483f790431dd900dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1abaef25cb1bf958df45a56816035d7e2de16032f38cf5483f790431dd900dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1abaef25cb1bf958df45a56816035d7e2de16032f38cf5483f790431dd900dad", kill_on_drop: false }`
[INFO] [stdout] 1abaef25cb1bf958df45a56816035d7e2de16032f38cf5483f790431dd900dad
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6a6e5399a8e7dc2b128d3b4812bf4b007f1f3b84e71a6adf2d83fc14b5a3164
[INFO] running `Command { std: "docker" "start" "-a" "e6a6e5399a8e7dc2b128d3b4812bf4b007f1f3b84e71a6adf2d83fc14b5a3164", kill_on_drop: false }`
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling owo-colors v4.2.2
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling is_ci v1.2.0
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling supports-color v3.0.2
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling supports-hyperlinks v3.1.0
[INFO] [stderr]    Compiling supports-unicode v3.0.0
[INFO] [stderr]    Compiling terminal_size v0.4.3
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling miette-derive v7.6.0
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling phf v0.13.1
[INFO] [stderr]    Compiling clap v4.5.45
[INFO] [stderr]    Compiling backtrace v0.3.75
[INFO] [stderr]    Compiling backtrace-ext v0.2.1
[INFO] [stderr]    Compiling miette v7.6.0
[INFO] [stderr]    Compiling LuceeFormat v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AST`
[INFO] [stdout]  --> src/formatter.rs:1:87
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[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: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/formatter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/formatter.rs:434:32
[INFO] [stdout]     |
[INFO] [stdout] 434 | ...                   if (extra_indent) {
[INFO] [stdout]     |                          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -                             if (extra_indent) {
[INFO] [stdout] 434 +                             if extra_indent  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lexer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/lexer.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::{max, min};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lexer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stdout]  --> src/parser.rs:3:56
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionStatement`
[INFO] [stdout]  --> src/visitor.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         allow_compact: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inline`
[INFO] [stdout]    --> src/formatter.rs:390:47
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/formatter.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_braces` is never read
[INFO] [stdout]    --> src/parser.rs:364:30
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut has_braces = false;
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `colon_token`
[INFO] [stdout]     --> src/parser.rs:1472:21
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stdout]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `literal`
[INFO] [stdout]    --> src/visitor.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/visitor.rs:233:35
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/visitor.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_creation`
[INFO] [stdout]    --> src/visitor.rs:239:40
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_expression`
[INFO] [stdout]    --> src/visitor.rs:249:42
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_access`
[INFO] [stdout]    --> src/visitor.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_statement`
[INFO] [stdout]    --> src/visitor.rs:321:40
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `continue_statement`
[INFO] [stdout]    --> src/visitor.rs:324:43
[INFO] [stdout]     |
[INFO] [stdout] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 375 | /             ForControl::Increment {
[INFO] [stdout] 376 | |                 init,
[INFO] [stdout] 377 | |                 condition,
[INFO] [stdout] 378 | |                 increment,
[INFO] [stdout] 379 | |                 ..
[INFO] [stdout] 380 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             ForControl::LoopOver {
[INFO] [stdout] 386 | |                 variable, array, ..
[INFO] [stdout] 387 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |               _ => {}
[INFO] [stdout]     |               ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]    --> src/visitor.rs:386:17
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 variable, array, ..
[INFO] [stdout]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_statement`
[INFO] [stdout]    --> src/visitor.rs:407:41
[INFO] [stdout]     |
[INFO] [stdout] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stdout]    --> src/pretty_print.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl PrettyPrintVisitor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[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/parser.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.advance();
[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] 90 |             let _ = self.advance();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |         self.advance();
[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] 151 |         let _ = self.advance();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.advance();
[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] 169 |             let _ = self.advance();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Visitor`
[INFO] [stdout]  --> src/main.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::visitor::{Visitor, Walkable};
[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: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AST`
[INFO] [stdout]  --> src/formatter.rs:1:87
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[INFO] [stdout]   |                                                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/formatter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/formatter.rs:434:32
[INFO] [stdout]     |
[INFO] [stdout] 434 | ...                   if (extra_indent) {
[INFO] [stdout]     |                          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -                             if (extra_indent) {
[INFO] [stdout] 434 +                             if extra_indent  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lexer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/lexer.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::{max, min};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lexer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stdout]  --> src/parser.rs:3:56
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionStatement`
[INFO] [stdout]  --> src/visitor.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         allow_compact: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inline`
[INFO] [stdout]    --> src/formatter.rs:390:47
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/formatter.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_braces` is never read
[INFO] [stdout]    --> src/parser.rs:364:30
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut has_braces = false;
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `colon_token`
[INFO] [stdout]     --> src/parser.rs:1472:21
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stdout]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `literal`
[INFO] [stdout]    --> src/visitor.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/visitor.rs:233:35
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/visitor.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_creation`
[INFO] [stdout]    --> src/visitor.rs:239:40
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_expression`
[INFO] [stdout]    --> src/visitor.rs:249:42
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_access`
[INFO] [stdout]    --> src/visitor.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_statement`
[INFO] [stdout]    --> src/visitor.rs:321:40
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `continue_statement`
[INFO] [stdout]    --> src/visitor.rs:324:43
[INFO] [stdout]     |
[INFO] [stdout] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 375 | /             ForControl::Increment {
[INFO] [stdout] 376 | |                 init,
[INFO] [stdout] 377 | |                 condition,
[INFO] [stdout] 378 | |                 increment,
[INFO] [stdout] 379 | |                 ..
[INFO] [stdout] 380 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             ForControl::LoopOver {
[INFO] [stdout] 386 | |                 variable, array, ..
[INFO] [stdout] 387 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |               _ => {}
[INFO] [stdout]     |               ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]    --> src/visitor.rs:386:17
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 variable, array, ..
[INFO] [stdout]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_statement`
[INFO] [stdout]    --> src/visitor.rs:407:41
[INFO] [stdout]     |
[INFO] [stdout] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_time`
[INFO] [stdout]    --> src/main.rs:309:13
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let read_time = start_file.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_time`
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let parse_time = parse_total_time - lex_time;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `doc_build_time`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let doc_build_time = doc_build_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_build_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `render_time`
[INFO] [stdout]    --> src/main.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let render_time = render_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write_time`
[INFO] [stdout]    --> src/main.rs:338:13
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let write_time = write_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_time`
[INFO] [stdout]    --> src/main.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let total_time = start_total.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source` is never read
[INFO] [stdout]   --> src/ast.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AST<'ast> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     pub source: Rc<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AST` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `pretty_print` is never used
[INFO] [stdout]   --> src/ast.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'ast> AST<'ast> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 24 |     /// Pretty print the AST with default configuration
[INFO] [stdout] 25 |     pub fn pretty_print(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnaryOperator` is never used
[INFO] [stdout]    --> src/ast.rs:449:10
[INFO] [stdout]     |
[INFO] [stdout] 449 | pub enum UnaryOperator {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_lexeme` is never used
[INFO] [stdout]    --> src/ast.rs:455:12
[INFO] [stdout]     |
[INFO] [stdout] 454 | impl UnaryOperator {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 455 |     pub fn to_lexeme(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Docs` is never constructed
[INFO] [stdout]   --> src/formatter.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Doc {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Docs(Vec<Doc>), // Just a grouping that renders it's children, doesn't do anything else
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Doc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `formatted_source` is never read
[INFO] [stdout]    --> src/formatter.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct Formatter {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 164 |     pub formatted_source: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `This`, `Is`, and `NewLine` are never constructed
[INFO] [stdout]    --> src/lexer.rs:87:5
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub enum TokenType {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  87 |     This,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     Is,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     NewLine,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenType` 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 `end_column` is never read
[INFO] [stdout]    --> src/lexer.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct Token<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub end_column: usize,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Token` 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 `labeled_span` is never used
[INFO] [stdout]    --> src/lexer.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl Token<'_> {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn labeled_span(&self, label: &str) -> LabeledSpan {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_unary_op` is never used
[INFO] [stdout]    --> src/lexer.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Token<'_> {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn to_unary_op(&self) -> UnaryOperator {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `compact_mode` is never read
[INFO] [stdout]   --> src/pretty_print.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct PrettyPrintConfig {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub compact_mode: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PrettyPrintConfig` 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: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stdout]    --> src/pretty_print.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl PrettyPrintVisitor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print` is never used
[INFO] [stdout]    --> src/pretty_print.rs:868:8
[INFO] [stdout]     |
[INFO] [stdout] 868 | pub fn pretty_print(ast: &AST) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `VisitorResult` is never used
[INFO] [stdout]  --> src/visitor.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait VisitorResult {}
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.advance();
[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] 90 |             let _ = self.advance();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |         self.advance();
[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] 151 |         let _ = self.advance();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.advance();
[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] 169 |             let _ = self.advance();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.77s
[INFO] running `Command { std: "docker" "inspect" "e6a6e5399a8e7dc2b128d3b4812bf4b007f1f3b84e71a6adf2d83fc14b5a3164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6a6e5399a8e7dc2b128d3b4812bf4b007f1f3b84e71a6adf2d83fc14b5a3164", kill_on_drop: false }`
[INFO] [stdout] e6a6e5399a8e7dc2b128d3b4812bf4b007f1f3b84e71a6adf2d83fc14b5a3164
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fef9ca90ca0e6701616a65422910c11ca9daa9eb28011a584417152eed970bf8
[INFO] running `Command { std: "docker" "start" "-a" "fef9ca90ca0e6701616a65422910c11ca9daa9eb28011a584417152eed970bf8", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `AST`
[INFO] [stdout]  --> src/formatter.rs:1:87
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[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: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/formatter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/formatter.rs:434:32
[INFO] [stdout]     |
[INFO] [stdout] 434 | ...                   if (extra_indent) {
[INFO] [stdout]     |                          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -                             if (extra_indent) {
[INFO] [stdout] 434 +                             if extra_indent  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lexer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/lexer.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::{max, min};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lexer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stdout]  --> src/parser.rs:3:56
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionStatement`
[INFO] [stdout]  --> src/visitor.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         allow_compact: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inline`
[INFO] [stdout]    --> src/formatter.rs:390:47
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/formatter.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_braces` is never read
[INFO] [stdout]    --> src/parser.rs:364:30
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut has_braces = false;
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `colon_token`
[INFO] [stdout]     --> src/parser.rs:1472:21
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stdout]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `literal`
[INFO] [stdout]    --> src/visitor.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/visitor.rs:233:35
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/visitor.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_creation`
[INFO] [stdout]    --> src/visitor.rs:239:40
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_expression`
[INFO] [stdout]    --> src/visitor.rs:249:42
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_access`
[INFO] [stdout]    --> src/visitor.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_statement`
[INFO] [stdout]    --> src/visitor.rs:321:40
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `continue_statement`
[INFO] [stdout]    --> src/visitor.rs:324:43
[INFO] [stdout]     |
[INFO] [stdout] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 375 | /             ForControl::Increment {
[INFO] [stdout] 376 | |                 init,
[INFO] [stdout] 377 | |                 condition,
[INFO] [stdout] 378 | |                 increment,
[INFO] [stdout] 379 | |                 ..
[INFO] [stdout] 380 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             ForControl::LoopOver {
[INFO] [stdout] 386 | |                 variable, array, ..
[INFO] [stdout] 387 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |               _ => {}
[INFO] [stdout]     |               ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]    --> src/visitor.rs:386:17
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 variable, array, ..
[INFO] [stdout]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling LuceeFormat v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `switch_statement`
[INFO] [stdout]    --> src/visitor.rs:407:41
[INFO] [stdout]     |
[INFO] [stdout] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stdout]    --> src/pretty_print.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl PrettyPrintVisitor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[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/parser.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.advance();
[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] 90 |             let _ = self.advance();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |         self.advance();
[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] 151 |         let _ = self.advance();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.advance();
[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] 169 |             let _ = self.advance();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Visitor`
[INFO] [stdout]  --> src/main.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::visitor::{Visitor, Walkable};
[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: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AST`
[INFO] [stdout]  --> src/formatter.rs:1:87
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[INFO] [stdout]   |                                                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/formatter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/formatter.rs:434:32
[INFO] [stdout]     |
[INFO] [stdout] 434 | ...                   if (extra_indent) {
[INFO] [stdout]     |                          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -                             if (extra_indent) {
[INFO] [stdout] 434 +                             if extra_indent  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lexer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/lexer.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::{max, min};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lexer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stdout]  --> src/parser.rs:3:56
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionStatement`
[INFO] [stdout]  --> src/visitor.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         allow_compact: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inline`
[INFO] [stdout]    --> src/formatter.rs:390:47
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/formatter.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_braces` is never read
[INFO] [stdout]    --> src/parser.rs:364:30
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut has_braces = false;
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `colon_token`
[INFO] [stdout]     --> src/parser.rs:1472:21
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stdout]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `literal`
[INFO] [stdout]    --> src/visitor.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/visitor.rs:233:35
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/visitor.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_creation`
[INFO] [stdout]    --> src/visitor.rs:239:40
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_expression`
[INFO] [stdout]    --> src/visitor.rs:249:42
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_access`
[INFO] [stdout]    --> src/visitor.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_statement`
[INFO] [stdout]    --> src/visitor.rs:321:40
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `continue_statement`
[INFO] [stdout]    --> src/visitor.rs:324:43
[INFO] [stdout]     |
[INFO] [stdout] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 375 | /             ForControl::Increment {
[INFO] [stdout] 376 | |                 init,
[INFO] [stdout] 377 | |                 condition,
[INFO] [stdout] 378 | |                 increment,
[INFO] [stdout] 379 | |                 ..
[INFO] [stdout] 380 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             ForControl::LoopOver {
[INFO] [stdout] 386 | |                 variable, array, ..
[INFO] [stdout] 387 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |               _ => {}
[INFO] [stdout]     |               ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]    --> src/visitor.rs:386:17
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 variable, array, ..
[INFO] [stdout]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_statement`
[INFO] [stdout]    --> src/visitor.rs:407:41
[INFO] [stdout]     |
[INFO] [stdout] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_time`
[INFO] [stdout]    --> src/main.rs:309:13
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let read_time = start_file.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_time`
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let parse_time = parse_total_time - lex_time;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `doc_build_time`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let doc_build_time = doc_build_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_build_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `render_time`
[INFO] [stdout]    --> src/main.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let render_time = render_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write_time`
[INFO] [stdout]    --> src/main.rs:338:13
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let write_time = write_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_time`
[INFO] [stdout]    --> src/main.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let total_time = start_total.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source` is never read
[INFO] [stdout]   --> src/ast.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AST<'ast> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     pub source: Rc<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AST` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `pretty_print` is never used
[INFO] [stdout]   --> src/ast.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'ast> AST<'ast> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 24 |     /// Pretty print the AST with default configuration
[INFO] [stdout] 25 |     pub fn pretty_print(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnaryOperator` is never used
[INFO] [stdout]    --> src/ast.rs:449:10
[INFO] [stdout]     |
[INFO] [stdout] 449 | pub enum UnaryOperator {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_lexeme` is never used
[INFO] [stdout]    --> src/ast.rs:455:12
[INFO] [stdout]     |
[INFO] [stdout] 454 | impl UnaryOperator {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 455 |     pub fn to_lexeme(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Docs` is never constructed
[INFO] [stdout]   --> src/formatter.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Doc {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Docs(Vec<Doc>), // Just a grouping that renders it's children, doesn't do anything else
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Doc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `formatted_source` is never read
[INFO] [stdout]    --> src/formatter.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct Formatter {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 164 |     pub formatted_source: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `This`, `Is`, and `NewLine` are never constructed
[INFO] [stdout]    --> src/lexer.rs:87:5
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub enum TokenType {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  87 |     This,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     Is,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     NewLine,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenType` 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 `end_column` is never read
[INFO] [stdout]    --> src/lexer.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct Token<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub end_column: usize,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Token` 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 `labeled_span` is never used
[INFO] [stdout]    --> src/lexer.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl Token<'_> {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn labeled_span(&self, label: &str) -> LabeledSpan {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_unary_op` is never used
[INFO] [stdout]    --> src/lexer.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Token<'_> {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn to_unary_op(&self) -> UnaryOperator {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `compact_mode` is never read
[INFO] [stdout]   --> src/pretty_print.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct PrettyPrintConfig {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub compact_mode: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PrettyPrintConfig` 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: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stdout]    --> src/pretty_print.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl PrettyPrintVisitor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print` is never used
[INFO] [stdout]    --> src/pretty_print.rs:868:8
[INFO] [stdout]     |
[INFO] [stdout] 868 | pub fn pretty_print(ast: &AST) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `VisitorResult` is never used
[INFO] [stdout]  --> src/visitor.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait VisitorResult {}
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.advance();
[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] 90 |             let _ = self.advance();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |         self.advance();
[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] 151 |         let _ = self.advance();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.advance();
[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] 169 |             let _ = self.advance();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Visitor`
[INFO] [stdout]  --> src/main.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::visitor::{Visitor, Walkable};
[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: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AST`
[INFO] [stdout]  --> src/formatter.rs:1:87
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[INFO] [stdout]   |                                                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/formatter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/formatter.rs:434:32
[INFO] [stdout]     |
[INFO] [stdout] 434 | ...                   if (extra_indent) {
[INFO] [stdout]     |                          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -                             if (extra_indent) {
[INFO] [stdout] 434 +                             if extra_indent  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lexer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/lexer.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::{max, min};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lexer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stdout]  --> src/parser.rs:3:56
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionStatement`
[INFO] [stdout]  --> src/visitor.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AST`
[INFO] [stdout]  --> src/formatter.rs:1:87
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[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: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/formatter.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/formatter.rs:434:32
[INFO] [stdout]     |
[INFO] [stdout] 434 | ...                   if (extra_indent) {
[INFO] [stdout]     |                          ^            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -                             if (extra_indent) {
[INFO] [stdout] 434 +                             if extra_indent  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lexer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/lexer.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::{max, min};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lexer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stdout]  --> src/parser.rs:3:56
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExpressionStatement`
[INFO] [stdout]  --> src/visitor.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         allow_compact: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inline`
[INFO] [stdout]    --> src/formatter.rs:390:47
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/formatter.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_braces` is never read
[INFO] [stdout]    --> src/parser.rs:364:30
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut has_braces = false;
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `colon_token`
[INFO] [stdout]     --> src/parser.rs:1472:21
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stdout]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         allow_compact: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inline`
[INFO] [stdout]    --> src/formatter.rs:390:47
[INFO] [stdout]     |
[INFO] [stdout] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stdout]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/formatter.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `literal`
[INFO] [stdout]    --> src/visitor.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/visitor.rs:233:35
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/visitor.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_creation`
[INFO] [stdout]    --> src/visitor.rs:239:40
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_expression`
[INFO] [stdout]    --> src/visitor.rs:249:42
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_access`
[INFO] [stdout]    --> src/visitor.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_statement`
[INFO] [stdout]    --> src/visitor.rs:321:40
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `continue_statement`
[INFO] [stdout]    --> src/visitor.rs:324:43
[INFO] [stdout]     |
[INFO] [stdout] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 375 | /             ForControl::Increment {
[INFO] [stdout] 376 | |                 init,
[INFO] [stdout] 377 | |                 condition,
[INFO] [stdout] 378 | |                 increment,
[INFO] [stdout] 379 | |                 ..
[INFO] [stdout] 380 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             ForControl::LoopOver {
[INFO] [stdout] 386 | |                 variable, array, ..
[INFO] [stdout] 387 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |               _ => {}
[INFO] [stdout]     |               ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]    --> src/visitor.rs:386:17
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 variable, array, ..
[INFO] [stdout]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_statement`
[INFO] [stdout]    --> src/visitor.rs:407:41
[INFO] [stdout]     |
[INFO] [stdout] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_time`
[INFO] [stdout]    --> src/main.rs:309:13
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let read_time = start_file.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_time`
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let parse_time = parse_total_time - lex_time;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `doc_build_time`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let doc_build_time = doc_build_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_build_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `render_time`
[INFO] [stdout]    --> src/main.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let render_time = render_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write_time`
[INFO] [stdout]    --> src/main.rs:338:13
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let write_time = write_start.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_time`
[INFO] [stdout]    --> src/main.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let total_time = start_total.elapsed().as_micros();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source` is never read
[INFO] [stdout]   --> src/ast.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AST<'ast> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 13 |     pub source: Rc<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AST` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `pretty_print` is never used
[INFO] [stdout]   --> src/ast.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'ast> AST<'ast> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 24 |     /// Pretty print the AST with default configuration
[INFO] [stdout] 25 |     pub fn pretty_print(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnaryOperator` is never used
[INFO] [stdout]    --> src/ast.rs:449:10
[INFO] [stdout]     |
[INFO] [stdout] 449 | pub enum UnaryOperator {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_lexeme` is never used
[INFO] [stdout]    --> src/ast.rs:455:12
[INFO] [stdout]     |
[INFO] [stdout] 454 | impl UnaryOperator {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 455 |     pub fn to_lexeme(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Docs` is never constructed
[INFO] [stdout]   --> src/formatter.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum Doc {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Docs(Vec<Doc>), // Just a grouping that renders it's children, doesn't do anything else
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Doc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `formatted_source` is never read
[INFO] [stdout]    --> src/formatter.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct Formatter {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 164 |     pub formatted_source: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `This`, `Is`, and `NewLine` are never constructed
[INFO] [stdout]    --> src/lexer.rs:87:5
[INFO] [stdout]     |
[INFO] [stdout]  23 | pub enum TokenType {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  87 |     This,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     Is,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     NewLine,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenType` 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 `end_column` is never read
[INFO] [stdout]    --> src/lexer.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct Token<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub end_column: usize,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Token` 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 `labeled_span` is never used
[INFO] [stdout]    --> src/lexer.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl Token<'_> {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn labeled_span(&self, label: &str) -> LabeledSpan {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_unary_op` is never used
[INFO] [stdout]    --> src/lexer.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Token<'_> {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn to_unary_op(&self) -> UnaryOperator {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `compact_mode` is never read
[INFO] [stdout]   --> src/pretty_print.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct PrettyPrintConfig {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub compact_mode: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PrettyPrintConfig` 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: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stdout]    --> src/pretty_print.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl PrettyPrintVisitor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print` is never used
[INFO] [stdout]    --> src/pretty_print.rs:868:8
[INFO] [stdout]     |
[INFO] [stdout] 868 | pub fn pretty_print(ast: &AST) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `VisitorResult` is never used
[INFO] [stdout]  --> src/visitor.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait VisitorResult {}
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.advance();
[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] 90 |             let _ = self.advance();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |         self.advance();
[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] 151 |         let _ = self.advance();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.advance();
[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] 169 |             let _ = self.advance();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_braces` is never read
[INFO] [stdout]    --> src/parser.rs:364:30
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let mut has_braces = false;
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `colon_token`
[INFO] [stdout]     --> src/parser.rs:1472:21
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stdout]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `literal`
[INFO] [stdout]    --> src/visitor.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `identifier`
[INFO] [stdout]    --> src/visitor.rs:233:35
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_call`
[INFO] [stdout]    --> src/visitor.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `object_creation`
[INFO] [stdout]    --> src/visitor.rs:239:40
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `struct_expression`
[INFO] [stdout]    --> src/visitor.rs:249:42
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_access`
[INFO] [stdout]    --> src/visitor.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `break_statement`
[INFO] [stdout]    --> src/visitor.rs:321:40
[INFO] [stdout]     |
[INFO] [stdout] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `continue_statement`
[INFO] [stdout]    --> src/visitor.rs:324:43
[INFO] [stdout]     |
[INFO] [stdout] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/visitor.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 375 | /             ForControl::Increment {
[INFO] [stdout] 376 | |                 init,
[INFO] [stdout] 377 | |                 condition,
[INFO] [stdout] 378 | |                 increment,
[INFO] [stdout] 379 | |                 ..
[INFO] [stdout] 380 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 385 | /             ForControl::LoopOver {
[INFO] [stdout] 386 | |                 variable, array, ..
[INFO] [stdout] 387 | |             } => {
[INFO] [stdout]     | |_____________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 390 |               _ => {}
[INFO] [stdout]     |               ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable`
[INFO] [stdout]    --> src/visitor.rs:386:17
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 variable, array, ..
[INFO] [stdout]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switch_statement`
[INFO] [stdout]    --> src/visitor.rs:407:41
[INFO] [stdout]     |
[INFO] [stdout] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stdout]    --> src/pretty_print.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl PrettyPrintVisitor {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[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/parser.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.advance();
[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] 90 |             let _ = self.advance();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |         self.advance();
[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] 151 |         let _ = self.advance();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.advance();
[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] 169 |             let _ = self.advance();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s
[INFO] running `Command { std: "docker" "inspect" "fef9ca90ca0e6701616a65422910c11ca9daa9eb28011a584417152eed970bf8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fef9ca90ca0e6701616a65422910c11ca9daa9eb28011a584417152eed970bf8", kill_on_drop: false }`
[INFO] [stdout] fef9ca90ca0e6701616a65422910c11ca9daa9eb28011a584417152eed970bf8
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8654935c0c2c8066e82ffe76982929223a70c7e2cb4fc11fb6660f4428d74dca
[INFO] running `Command { std: "docker" "start" "-a" "8654935c0c2c8066e82ffe76982929223a70c7e2cb4fc11fb6660f4428d74dca", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `AST`
[INFO] [stderr]  --> src/formatter.rs:1:87
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[INFO] [stderr]   |                                                                                       ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::PartialEq`
[INFO] [stderr]  --> src/formatter.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::cmp::PartialEq;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/formatter.rs:434:32
[INFO] [stderr]     |
[INFO] [stderr] 434 | ...                   if (extra_indent) {
[INFO] [stderr]     |                          ^            ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 434 -                             if (extra_indent) {
[INFO] [stderr] 434 +                             if extra_indent  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> src/lexer.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::cell::RefCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `min`
[INFO] [stderr]  --> src/lexer.rs:5:21
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::cmp::{max, min};
[INFO] [stderr]   |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/lexer.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]  --> src/lexer.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::rc::Rc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BinaryOperator` and `UnaryOperator`
[INFO] [stderr]  --> src/parser.rs:3:56
[INFO] [stderr]   |
[INFO] [stderr] 3 |     AccessModifier, ArrayExpression, BinaryExpression, BinaryOperator, BreakStatement,
[INFO] [stderr]   |                                                        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 9 |     UnaryOperator, VariableAssignment, VariableDeclaration, WhileStatement, AST,
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ExpressionStatement`
[INFO] [stderr]  --> src/visitor.rs:1:30
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::ast::{Expression, ExpressionStatement, ForControl, Statement, AST};
[INFO] [stderr]   |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `allow_compact`
[INFO] [stderr]    --> src/formatter.rs:201:9
[INFO] [stderr]     |
[INFO] [stderr] 201 |         allow_compact: bool,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_compact`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `inline`
[INFO] [stderr]    --> src/formatter.rs:390:47
[INFO] [stderr]     |
[INFO] [stderr] 390 |     fn _pop_comment(&mut self, token: &Token, inline: bool, extra_indent: bool) -> Doc {
[INFO] [stderr]     |                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inline`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/formatter.rs:521:14
[INFO] [stderr]     |
[INFO] [stderr] 521 |         for (i, line) in cleaned.iter().enumerate() {
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `has_braces` is never read
[INFO] [stderr]    --> src/parser.rs:364:30
[INFO] [stderr]     |
[INFO] [stderr] 364 |         let mut has_braces = false;
[INFO] [stderr]     |                              ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `colon_token`
[INFO] [stderr]     --> src/parser.rs:1472:21
[INFO] [stderr]      |
[INFO] [stderr] 1472 |                 let colon_token = self.advance()?.clone();
[INFO] [stderr]      |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_token`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `literal`
[INFO] [stderr]    --> src/visitor.rs:230:32
[INFO] [stderr]     |
[INFO] [stderr] 230 |     fn walk_literal(&mut self, literal: &crate::ast::Literal) -> T {
[INFO] [stderr]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `identifier`
[INFO] [stderr]    --> src/visitor.rs:233:35
[INFO] [stderr]     |
[INFO] [stderr] 233 |     fn walk_identifier(&mut self, identifier: &Token) -> T {
[INFO] [stderr]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `function_call`
[INFO] [stderr]    --> src/visitor.rs:236:38
[INFO] [stderr]     |
[INFO] [stderr] 236 |     fn walk_function_call(&mut self, function_call: &crate::ast::FunctionCall) -> T {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_call`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `object_creation`
[INFO] [stderr]    --> src/visitor.rs:239:40
[INFO] [stderr]     |
[INFO] [stderr] 239 |     fn walk_object_creation(&mut self, object_creation: &crate::ast::ObjectCreation) -> T {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_creation`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `struct_expression`
[INFO] [stderr]    --> src/visitor.rs:249:42
[INFO] [stderr]     |
[INFO] [stderr] 249 |     fn walk_struct_expression(&mut self, struct_expression: &crate::ast::StructExpression) -> T {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_expression`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `static_access`
[INFO] [stderr]    --> src/visitor.rs:290:38
[INFO] [stderr]     |
[INFO] [stderr] 290 |     fn walk_static_access(&mut self, static_access: &crate::ast::StaticAccess) -> T {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_access`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `break_statement`
[INFO] [stderr]    --> src/visitor.rs:321:40
[INFO] [stderr]     |
[INFO] [stderr] 321 |     fn walk_break_statement(&mut self, break_statement: &crate::ast::BreakStatement) -> T {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_statement`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `continue_statement`
[INFO] [stderr]    --> src/visitor.rs:324:43
[INFO] [stderr]     |
[INFO] [stderr] 324 |     fn walk_continue_statement(&mut self, continue_statement: &crate::ast::ContinueStatement) -> T {
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_continue_statement`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/visitor.rs:390:13
[INFO] [stderr]     |
[INFO] [stderr] 390 |             _ => {}
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/visitor.rs:390:13
[INFO] [stderr]     |
[INFO] [stderr] 375 | /             ForControl::Increment {
[INFO] [stderr] 376 | |                 init,
[INFO] [stderr] 377 | |                 condition,
[INFO] [stderr] 378 | |                 increment,
[INFO] [stderr] 379 | |                 ..
[INFO] [stderr] 380 | |             } => {
[INFO] [stderr]     | |_____________- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 385 | /             ForControl::LoopOver {
[INFO] [stderr] 386 | |                 variable, array, ..
[INFO] [stderr] 387 | |             } => {
[INFO] [stderr]     | |_____________- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 390 |               _ => {}
[INFO] [stderr]     |               ^ collectively making this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `variable`
[INFO] [stderr]    --> src/visitor.rs:386:17
[INFO] [stderr]     |
[INFO] [stderr] 386 |                 variable, array, ..
[INFO] [stderr]     |                 ^^^^^^^^ help: try ignoring the field: `variable: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `switch_statement`
[INFO] [stderr]    --> src/visitor.rs:407:41
[INFO] [stderr]     |
[INFO] [stderr] 407 |     fn walk_switch_statement(&mut self, switch_statement: &crate::ast::SwitchStatement) -> T {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_switch_statement`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stderr]    --> src/pretty_print.rs:170:8
[INFO] [stderr]     |
[INFO] [stderr]  54 | impl PrettyPrintVisitor {
[INFO] [stderr]     | ----------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/parser.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             self.advance();
[INFO] [stderr]    |             ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 90 |             let _ = self.advance();
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/parser.rs:151:9
[INFO] [stderr]     |
[INFO] [stderr] 151 |         self.advance();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 151 |         let _ = self.advance();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/parser.rs:169:13
[INFO] [stderr]     |
[INFO] [stderr] 169 |             self.advance();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 169 |             let _ = self.advance();
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `LuceeFormat` (lib) generated 29 warnings (run `cargo fix --lib -p LuceeFormat` to apply 23 suggestions)
[INFO] [stderr] warning: unused import: `Visitor`
[INFO] [stderr]  --> src/main.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::visitor::{Visitor, Walkable};
[INFO] [stderr]   |                      ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::PartialEq`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::cmp::PartialEq;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AST`
[INFO] [stderr]  --> src/formatter.rs:1:87
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::ast::{AccessModifier, BinaryOperator, ForControl, LiteralValue, Statement, AST};
[INFO] [stderr]   |                                                                                       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `read_time`
[INFO] [stderr]    --> src/main.rs:309:13
[INFO] [stderr]     |
[INFO] [stderr] 309 |         let read_time = start_file.elapsed().as_micros();
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parse_time`
[INFO] [stderr]    --> src/main.rs:317:13
[INFO] [stderr]     |
[INFO] [stderr] 317 |         let parse_time = parse_total_time - lex_time;
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `doc_build_time`
[INFO] [stderr]    --> src/main.rs:323:13
[INFO] [stderr]     |
[INFO] [stderr] 323 |         let doc_build_time = doc_build_start.elapsed().as_micros();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_build_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `render_time`
[INFO] [stderr]    --> src/main.rs:329:13
[INFO] [stderr]     |
[INFO] [stderr] 329 |         let render_time = render_start.elapsed().as_micros();
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `write_time`
[INFO] [stderr]    --> src/main.rs:338:13
[INFO] [stderr]     |
[INFO] [stderr] 338 |         let write_time = write_start.elapsed().as_micros();
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `total_time`
[INFO] [stderr]    --> src/main.rs:340:13
[INFO] [stderr]     |
[INFO] [stderr] 340 |         let total_time = start_total.elapsed().as_micros();
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time`
[INFO] [stderr] 
[INFO] [stderr] warning: field `source` is never read
[INFO] [stderr]   --> src/ast.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct AST<'ast> {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] 13 |     pub source: Rc<String>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AST` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `pretty_print` is never used
[INFO] [stderr]   --> src/ast.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | impl<'ast> AST<'ast> {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] 24 |     /// Pretty print the AST with default configuration
[INFO] [stderr] 25 |     pub fn pretty_print(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `UnaryOperator` is never used
[INFO] [stderr]    --> src/ast.rs:449:10
[INFO] [stderr]     |
[INFO] [stderr] 449 | pub enum UnaryOperator {
[INFO] [stderr]     |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_lexeme` is never used
[INFO] [stderr]    --> src/ast.rs:455:12
[INFO] [stderr]     |
[INFO] [stderr] 454 | impl UnaryOperator {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] 455 |     pub fn to_lexeme(&self) -> &'static str {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Docs` is never constructed
[INFO] [stderr]   --> src/formatter.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum Doc {
[INFO] [stderr]    |          --- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 19 |     Docs(Vec<Doc>), // Just a grouping that renders it's children, doesn't do anything else
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Doc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `formatted_source` is never read
[INFO] [stderr]    --> src/formatter.rs:164:9
[INFO] [stderr]     |
[INFO] [stderr] 163 | pub struct Formatter {
[INFO] [stderr]     |            --------- field in this struct
[INFO] [stderr] 164 |     pub formatted_source: String,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `This`, `Is`, and `NewLine` are never constructed
[INFO] [stderr]    --> src/lexer.rs:87:5
[INFO] [stderr]     |
[INFO] [stderr]  23 | pub enum TokenType {
[INFO] [stderr]     |          --------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr]  87 |     This,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 106 |     Is,
[INFO] [stderr]     |     ^^
[INFO] [stderr] ...
[INFO] [stderr] 123 |     NewLine,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `end_column` is never read
[INFO] [stderr]    --> src/lexer.rs:136:9
[INFO] [stderr]     |
[INFO] [stderr] 131 | pub struct Token<'a> {
[INFO] [stderr]     |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 136 |     pub end_column: usize,
[INFO] [stderr]     |         ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `labeled_span` is never used
[INFO] [stderr]    --> src/lexer.rs:160:12
[INFO] [stderr]     |
[INFO] [stderr] 155 | impl Token<'_> {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub fn labeled_span(&self, label: &str) -> LabeledSpan {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_unary_op` is never used
[INFO] [stderr]    --> src/lexer.rs:206:12
[INFO] [stderr]     |
[INFO] [stderr] 165 | impl Token<'_> {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 206 |     pub fn to_unary_op(&self) -> UnaryOperator {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `compact_mode` is never read
[INFO] [stderr]   --> src/pretty_print.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub struct PrettyPrintConfig {
[INFO] [stderr]    |            ----------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub compact_mode: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PrettyPrintConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `visit_optional_expression` and `visit_child_expression` are never used
[INFO] [stderr]    --> src/pretty_print.rs:170:8
[INFO] [stderr]     |
[INFO] [stderr]  54 | impl PrettyPrintVisitor {
[INFO] [stderr]     | ----------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 170 |     fn visit_optional_expression(&mut self, expr: &Option<Expression>, label: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 185 |     fn visit_child_expression(&mut self, expr: &Expression, label: &str, has_more_siblings: bool) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `pretty_print` is never used
[INFO] [stderr]    --> src/pretty_print.rs:868:8
[INFO] [stderr]     |
[INFO] [stderr] 868 | pub fn pretty_print(ast: &AST) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `VisitorResult` is never used
[INFO] [stderr]  --> src/visitor.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub trait VisitorResult {}
[INFO] [stderr]   |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `LuceeFormat` (bin "luceefmt") generated 50 warnings (27 duplicates) (run `cargo fix --bin "luceefmt" -p LuceeFormat` to apply 9 suggestions)
[INFO] [stderr] warning: `LuceeFormat` (bin "luceefmt" test) generated 50 warnings (50 duplicates)
[INFO] [stderr] warning: `LuceeFormat` (lib test) generated 29 warnings (29 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fusion_formatter-6317de7c09d89073)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/luceefmt-d4e4937c77b587d4)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running tests/if_statements.rs (/opt/rustwide/target/debug/deps/if_statements-f466556eba09d2d1)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test test_if_else_with_multiline_bodies ... ok
[INFO] [stdout] test test_if_else_if_chain ... ok
[INFO] [stdout] test test_if_parsing_only ... ok
[INFO] [stdout] test test_if_statement_with_multiline_body ... ok
[INFO] [stdout] test test_if_else_statement ... FAILED
[INFO] [stdout] test test_nested_if_statements ... FAILED
[INFO] [stdout] test test_simple_if_statement ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_if_else_statement stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_if_else_statement' (20) panicked at tests/common/mod.rs:40:23:
[INFO] [stdout] assertion `left == right` failed: Formatting mismatch
[INFO] [stdout]   left: "if (true) {\n    return \"yes\"\n} else {\n    return \"no\"\n}"
[INFO] [stdout]  right: "if (true) { return \"yes\" } else { return \"no\" }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x655110558ff2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x655110558ff2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized::<std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x655110558ff2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x655110558ff2 - <<std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x65511056f8fa - <core[585f66e14d78f9ba]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x65511056f8fa - core[585f66e14d78f9ba]::fmt::write
[INFO] [stdout]    6:     0x65511055ddf6 - std[3f03f8b59f91bef1]::io::default_write_fmt::<alloc[15e7b27aba85d2e2]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x65511055ddf6 - <alloc[15e7b27aba85d2e2]::vec::Vec<u8> as std[3f03f8b59f91bef1]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6551105376df - <std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6551105376df - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6551105512f9 - std[3f03f8b59f91bef1]::panicking::default_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6551103fcfce - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6551103fcfce - test[30224e0cb089acd2]::test_main_with_exit_callback::<test[30224e0cb089acd2]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6551105514b2 - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6551105514b2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x655110537798 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x65511052c909 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace::<std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x65511053866d - __rustc[caa99d26c7bae192]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x65511057000c - core[585f66e14d78f9ba]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x65511056ff23 - core[585f66e14d78f9ba]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x6551103ef3fe - core[585f66e14d78f9ba]::panicking::assert_failed::<&str, &str>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x6551103f05d8 - if_statements[a89bc004f7ac1ecc]::common::assert_formats_to
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/mod.rs:40:23
[INFO] [stdout]   22:     0x6551103ef70b - if_statements[a89bc004f7ac1ecc]::test_if_else_statement
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:32:5
[INFO] [stdout]   23:     0x6551103ef507 - if_statements[a89bc004f7ac1ecc]::test_if_else_statement::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:28:28
[INFO] [stdout]   24:     0x6551103f1066 - <if_statements[a89bc004f7ac1ecc]::test_if_else_statement::{closure#0} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6551103f137b - <fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6551103f137b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x6551103fdbda - test[30224e0cb089acd2]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x6551103fdbda - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x6551103fdbda - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x6551103fdbda - std[3f03f8b59f91bef1]::panicking::catch_unwind::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x6551103fdbda - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6551103fdbda - test[30224e0cb089acd2]::run_test_in_process
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x6551103fdbda - test[30224e0cb089acd2]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x6551103f80a4 - test[30224e0cb089acd2]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x6551103f80a4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x6551104006d2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x6551104006d2 - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x6551104006d2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x6551104006d2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x6551104006d2 - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6551104006d2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x6551104006d2 - <std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x65511055889f - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn core[585f66e14d78f9ba]::ops::function::FnOnce<(), Output = ()> + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x65511055889f - <std[3f03f8b59f91bef1]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x7cbabea35aa4 - <unknown>
[INFO] [stdout]   46:     0x7cbabeac2a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test_nested_if_statements stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_nested_if_statements' (24) panicked at tests/common/mod.rs:40:23:
[INFO] [stdout] assertion `left == right` failed: Formatting mismatch
[INFO] [stdout]   left: "if (outer) {\n    if (inner) {\n        return \"nested\"\n    }\n}"
[INFO] [stdout]  right: "if (outer) { if (inner) { return \"nested\" } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x655110558ff2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x655110558ff2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized::<std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x655110558ff2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x655110558ff2 - <<std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x65511056f8fa - <core[585f66e14d78f9ba]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x65511056f8fa - core[585f66e14d78f9ba]::fmt::write
[INFO] [stdout]    6:     0x65511055ddf6 - std[3f03f8b59f91bef1]::io::default_write_fmt::<alloc[15e7b27aba85d2e2]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x65511055ddf6 - <alloc[15e7b27aba85d2e2]::vec::Vec<u8> as std[3f03f8b59f91bef1]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6551105376df - <std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6551105376df - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6551105512f9 - std[3f03f8b59f91bef1]::panicking::default_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6551103fcfce - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6551103fcfce - test[30224e0cb089acd2]::test_main_with_exit_callback::<test[30224e0cb089acd2]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6551105514b2 - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6551105514b2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x655110537798 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x65511052c909 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace::<std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x65511053866d - __rustc[caa99d26c7bae192]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x65511057000c - core[585f66e14d78f9ba]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x65511056ff23 - core[585f66e14d78f9ba]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x6551103ef3fe - core[585f66e14d78f9ba]::panicking::assert_failed::<&str, &str>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x6551103f05d8 - if_statements[a89bc004f7ac1ecc]::common::assert_formats_to
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/mod.rs:40:23
[INFO] [stdout]   22:     0x6551103ef7ab - if_statements[a89bc004f7ac1ecc]::test_nested_if_statements
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:85:5
[INFO] [stdout]   23:     0x6551103ef567 - if_statements[a89bc004f7ac1ecc]::test_nested_if_statements::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:77:31
[INFO] [stdout]   24:     0x6551103f10e6 - <if_statements[a89bc004f7ac1ecc]::test_nested_if_statements::{closure#0} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6551103f137b - <fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6551103f137b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x6551103fdbda - test[30224e0cb089acd2]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x6551103fdbda - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x6551103fdbda - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x6551103fdbda - std[3f03f8b59f91bef1]::panicking::catch_unwind::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x6551103fdbda - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6551103fdbda - test[30224e0cb089acd2]::run_test_in_process
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x6551103fdbda - test[30224e0cb089acd2]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x6551103f80a4 - test[30224e0cb089acd2]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x6551103f80a4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x6551104006d2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x6551104006d2 - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x6551104006d2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x6551104006d2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x6551104006d2 - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6551104006d2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x6551104006d2 - <std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x65511055889f - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn core[585f66e14d78f9ba]::ops::function::FnOnce<(), Output = ()> + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x65511055889f - <std[3f03f8b59f91bef1]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x7cbabea35aa4 - <unknown>
[INFO] [stdout]   46:     0x7cbabeac2a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test_simple_if_statement stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_simple_if_statement' (25) panicked at tests/common/mod.rs:40:23:
[INFO] [stdout] assertion `left == right` failed: Formatting mismatch
[INFO] [stdout]   left: "if (true) {\n    return \"hello\"\n}"
[INFO] [stdout]  right: "if (true) { return \"hello\" }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x655110558ff2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x655110558ff2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized::<std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x655110558ff2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x655110558ff2 - <<std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x65511056f8fa - <core[585f66e14d78f9ba]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x65511056f8fa - core[585f66e14d78f9ba]::fmt::write
[INFO] [stdout]    6:     0x65511055ddf6 - std[3f03f8b59f91bef1]::io::default_write_fmt::<alloc[15e7b27aba85d2e2]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x65511055ddf6 - <alloc[15e7b27aba85d2e2]::vec::Vec<u8> as std[3f03f8b59f91bef1]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6551105376df - <std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6551105376df - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6551105512f9 - std[3f03f8b59f91bef1]::panicking::default_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6551103fcfce - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6551103fcfce - test[30224e0cb089acd2]::test_main_with_exit_callback::<test[30224e0cb089acd2]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6551105514b2 - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6551105514b2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x655110537798 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x65511052c909 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace::<std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x65511053866d - __rustc[caa99d26c7bae192]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x65511057000c - core[585f66e14d78f9ba]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x65511056ff23 - core[585f66e14d78f9ba]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x6551103ef3fe - core[585f66e14d78f9ba]::panicking::assert_failed::<&str, &str>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x6551103f05d8 - if_statements[a89bc004f7ac1ecc]::common::assert_formats_to
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/mod.rs:40:23
[INFO] [stdout]   22:     0x6551103ef75b - if_statements[a89bc004f7ac1ecc]::test_simple_if_statement
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:10:5
[INFO] [stdout]   23:     0x6551103ef537 - if_statements[a89bc004f7ac1ecc]::test_simple_if_statement::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:6:30
[INFO] [stdout]   24:     0x6551103f10a6 - <if_statements[a89bc004f7ac1ecc]::test_simple_if_statement::{closure#0} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6551103f137b - <fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6551103f137b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x6551103fdbda - test[30224e0cb089acd2]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x6551103fdbda - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x6551103fdbda - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x6551103fdbda - std[3f03f8b59f91bef1]::panicking::catch_unwind::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x6551103fdbda - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x6551103fdbda - test[30224e0cb089acd2]::run_test_in_process
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x6551103fdbda - test[30224e0cb089acd2]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x6551103f80a4 - test[30224e0cb089acd2]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x6551103f80a4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x6551104006d2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x6551104006d2 - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x6551104006d2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x6551104006d2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x6551104006d2 - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x6551104006d2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x6551104006d2 - <std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x65511055889f - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn core[585f66e14d78f9ba]::ops::function::FnOnce<(), Output = ()> + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x65511055889f - <std[3f03f8b59f91bef1]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x7cbabea35aa4 - <unknown>
[INFO] [stdout]   46:     0x7cbabeac2a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_if_else_statement
[INFO] [stdout]     test_nested_if_statements
[INFO] [stdout]     test_simple_if_statement
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test if_statements`
[INFO] running `Command { std: "docker" "inspect" "8654935c0c2c8066e82ffe76982929223a70c7e2cb4fc11fb6660f4428d74dca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8654935c0c2c8066e82ffe76982929223a70c7e2cb4fc11fb6660f4428d74dca", kill_on_drop: false }`
[INFO] [stdout] 8654935c0c2c8066e82ffe76982929223a70c7e2cb4fc11fb6660f4428d74dca
