[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] ff2fc524fe99a50b68d78edda1a17ede0892a321
[INFO] testing IlluzionzDev/LuceeFormat against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlluzionzDev%2FLuceeFormat" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IlluzionzDev/LuceeFormat on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 816e8d0f426dfb9ee7f18423f00840007e697c13361e986a8b584d97b08a3cf5
[INFO] running `Command { std: "docker" "start" "-a" "816e8d0f426dfb9ee7f18423f00840007e697c13361e986a8b584d97b08a3cf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "816e8d0f426dfb9ee7f18423f00840007e697c13361e986a8b584d97b08a3cf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "816e8d0f426dfb9ee7f18423f00840007e697c13361e986a8b584d97b08a3cf5", kill_on_drop: false }`
[INFO] [stdout] 816e8d0f426dfb9ee7f18423f00840007e697c13361e986a8b584d97b08a3cf5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b6a0dcf0c4c404d7b3ea3e6bd76b245ebc3536cd5021b3a18d53b2a1744baa6b
[INFO] running `Command { std: "docker" "start" "-a" "b6a0dcf0c4c404d7b3ea3e6bd76b245ebc3536cd5021b3a18d53b2a1744baa6b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling terminal_size v0.4.3
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling miette-derive v7.6.0
[INFO] [stderr]    Compiling backtrace v0.3.75
[INFO] [stderr]    Compiling phf v0.13.1
[INFO] [stderr]    Compiling backtrace-ext v0.2.1
[INFO] [stderr]    Compiling miette v7.6.0
[INFO] [stderr]    Compiling clap v4.5.45
[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:489:32
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stdout] 489 +                             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:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         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:445:47
[INFO] [stdout]     |
[INFO] [stdout] 445 |     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:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         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:489:32
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stdout] 489 +                             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:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         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:445:47
[INFO] [stdout]     |
[INFO] [stdout] 445 |     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:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         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: field `formatted_source` is never read
[INFO] [stdout]    --> src/formatter.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct Formatter {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 190 |     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 37.46s
[INFO] running `Command { std: "docker" "inspect" "b6a0dcf0c4c404d7b3ea3e6bd76b245ebc3536cd5021b3a18d53b2a1744baa6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6a0dcf0c4c404d7b3ea3e6bd76b245ebc3536cd5021b3a18d53b2a1744baa6b", kill_on_drop: false }`
[INFO] [stdout] b6a0dcf0c4c404d7b3ea3e6bd76b245ebc3536cd5021b3a18d53b2a1744baa6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8237f778b13adf8b99821c84f0ff49ddd16e23d33d075064e85ddfd3fe18ccb4
[INFO] running `Command { std: "docker" "start" "-a" "8237f778b13adf8b99821c84f0ff49ddd16e23d33d075064e85ddfd3fe18ccb4", 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:489:32
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stdout] 489 +                             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:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         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:445:47
[INFO] [stdout]     |
[INFO] [stdout] 445 |     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:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         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] [stderr]    Compiling LuceeFormat v0.0.1 (/opt/rustwide/workdir)
[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:489:32
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stdout] 489 +                             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:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         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:445:47
[INFO] [stdout]     |
[INFO] [stdout] 445 |     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:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         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: field `formatted_source` is never read
[INFO] [stdout]    --> src/formatter.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct Formatter {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 190 |     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:489:32
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stdout] 489 +                             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:489:32
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stdout] 489 +                             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:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         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:445:47
[INFO] [stdout]     |
[INFO] [stdout] 445 |     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: `allow_compact`
[INFO] [stdout]    --> src/formatter.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         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: `i`
[INFO] [stdout]    --> src/formatter.rs:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         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: `inline`
[INFO] [stdout]    --> src/formatter.rs:445:47
[INFO] [stdout]     |
[INFO] [stdout] 445 |     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:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         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: 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: `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: 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 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: field `formatted_source` is never read
[INFO] [stdout]    --> src/formatter.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct Formatter {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 190 |     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 `test` profile [unoptimized + debuginfo] target(s) in 2.39s
[INFO] running `Command { std: "docker" "inspect" "8237f778b13adf8b99821c84f0ff49ddd16e23d33d075064e85ddfd3fe18ccb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8237f778b13adf8b99821c84f0ff49ddd16e23d33d075064e85ddfd3fe18ccb4", kill_on_drop: false }`
[INFO] [stdout] 8237f778b13adf8b99821c84f0ff49ddd16e23d33d075064e85ddfd3fe18ccb4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fb859fb227a17126f1168a77b1c5bf0773ba56161ce88688f0f4abd94ad3b2ff
[INFO] running `Command { std: "docker" "start" "-a" "fb859fb227a17126f1168a77b1c5bf0773ba56161ce88688f0f4abd94ad3b2ff", 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:489:32
[INFO] [stderr]     |
[INFO] [stderr] 489 | ...                   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] 489 -                             if (extra_indent) {
[INFO] [stderr] 489 +                             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:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |         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:445:47
[INFO] [stderr]     |
[INFO] [stderr] 445 |     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:576:14
[INFO] [stderr]     |
[INFO] [stderr] 576 |         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: `LuceeFormat` (lib test) generated 29 warnings (29 duplicates)
[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: field `formatted_source` is never read
[INFO] [stderr]    --> src/formatter.rs:190:9
[INFO] [stderr]     |
[INFO] [stderr] 189 | pub struct Formatter {
[INFO] [stderr]     |            --------- field in this struct
[INFO] [stderr] 190 |     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 49 warnings (27 duplicates) (run `cargo fix --bin "luceefmt" -p LuceeFormat` to apply 9 suggestions)
[INFO] [stderr] warning: `LuceeFormat` (bin "luceefmt" test) generated 49 warnings (49 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/LuceeFormat/6317de7c09d89073/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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/LuceeFormat/d4e4937c77b587d4/deps/luceefmt-d4e4937c77b587d4)
[INFO] [stderr]      Running tests/if_statements.rs (/opt/rustwide/target/debug/build/LuceeFormat/f466556eba09d2d1/deps/if_statements-f466556eba09d2d1)
[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] [stdout] running 7 tests
[INFO] [stdout] test test_if_statement_with_multiline_body ... ok
[INFO] [stdout] test test_if_parsing_only ... ok
[INFO] [stdout] test test_if_else_if_chain ... ok
[INFO] [stdout] test test_if_else_with_multiline_bodies ... ok
[INFO] [stdout] test test_simple_if_statement ... FAILED
[INFO] [stdout] test test_nested_if_statements ... FAILED
[INFO] [stdout] test test_if_else_statement ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[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:     0x57e1b3b69aa2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57e1b3b69aa2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57e1b3b69aa2 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57e1b3b69aa2 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57e1b3b803da - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57e1b3b803da - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x57e1b3b6e8d6 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57e1b3b6e8d6 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57e1b3b47ebf - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57e1b3b47ebf - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57e1b3b61da9 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57e1b3a0c5ae - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57e1b3a0c5ae - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57e1b3b61f62 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57e1b3b61f62 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57e1b3b47f78 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x57e1b3b3f8c9 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57e1b3b48e4d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57e1b3b80aec - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57e1b3b80a03 - core[8f93d80df273fe75]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x57e1b39feaae - core[8f93d80df273fe75]::panicking::assert_failed::<&str, &str>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x57e1b39ffc88 - if_statements[f8a41c012dff7e10]::common::assert_formats_to
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/mod.rs:40:23
[INFO] [stdout]   22:     0x57e1b39fee0b - if_statements[f8a41c012dff7e10]::test_simple_if_statement
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:10:5
[INFO] [stdout]   23:     0x57e1b39febe7 - if_statements[f8a41c012dff7e10]::test_simple_if_statement::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:6:30
[INFO] [stdout]   24:     0x57e1b3a00686 - <if_statements[f8a41c012dff7e10]::test_simple_if_statement::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x57e1b3a0095b - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x57e1b3a0095b - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x57e1b3a0d1ba - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x57e1b3a0d1ba - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x57e1b3a0d1ba - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x57e1b3a0d1ba - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x57e1b3a07684 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x57e1b3a07684 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x57e1b3a0fcb2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x57e1b3a0fcb2 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x57e1b3a0fcb2 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x57e1b3a0fcb2 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x57e1b3a0fcb2 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x57e1b3a0fcb2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x57e1b3a0fcb2 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x57e1b3b6934f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x57e1b3b6934f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x77298179baa4 - <unknown>
[INFO] [stdout]   46:     0x772981828a64 - 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:     0x57e1b3b69aa2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57e1b3b69aa2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57e1b3b69aa2 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57e1b3b69aa2 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57e1b3b803da - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57e1b3b803da - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x57e1b3b6e8d6 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57e1b3b6e8d6 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57e1b3b47ebf - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57e1b3b47ebf - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57e1b3b61da9 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57e1b3a0c5ae - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57e1b3a0c5ae - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57e1b3b61f62 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57e1b3b61f62 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57e1b3b47f78 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x57e1b3b3f8c9 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57e1b3b48e4d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57e1b3b80aec - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57e1b3b80a03 - core[8f93d80df273fe75]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x57e1b39feaae - core[8f93d80df273fe75]::panicking::assert_failed::<&str, &str>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x57e1b39ffc88 - if_statements[f8a41c012dff7e10]::common::assert_formats_to
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/mod.rs:40:23
[INFO] [stdout]   22:     0x57e1b39fee5b - if_statements[f8a41c012dff7e10]::test_nested_if_statements
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:85:5
[INFO] [stdout]   23:     0x57e1b39fec17 - if_statements[f8a41c012dff7e10]::test_nested_if_statements::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:77:31
[INFO] [stdout]   24:     0x57e1b3a006c6 - <if_statements[f8a41c012dff7e10]::test_nested_if_statements::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x57e1b3a0095b - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x57e1b3a0095b - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x57e1b3a0d1ba - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x57e1b3a0d1ba - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x57e1b3a0d1ba - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x57e1b3a0d1ba - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x57e1b3a07684 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x57e1b3a07684 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x57e1b3a0fcb2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x57e1b3a0fcb2 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x57e1b3a0fcb2 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x57e1b3a0fcb2 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x57e1b3a0fcb2 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x57e1b3a0fcb2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x57e1b3a0fcb2 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x57e1b3b6934f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x57e1b3b6934f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x77298179baa4 - <unknown>
[INFO] [stdout]   46:     0x772981828a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[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:     0x57e1b3b69aa2 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57e1b3b69aa2 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57e1b3b69aa2 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57e1b3b69aa2 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57e1b3b803da - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57e1b3b803da - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x57e1b3b6e8d6 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57e1b3b6e8d6 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57e1b3b47ebf - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57e1b3b47ebf - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57e1b3b61da9 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57e1b3a0c5ae - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57e1b3a0c5ae - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57e1b3b61f62 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57e1b3b61f62 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57e1b3b47f78 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x57e1b3b3f8c9 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57e1b3b48e4d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57e1b3b80aec - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57e1b3b80a03 - core[8f93d80df273fe75]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x57e1b39feaae - core[8f93d80df273fe75]::panicking::assert_failed::<&str, &str>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x57e1b39ffc88 - if_statements[f8a41c012dff7e10]::common::assert_formats_to
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/mod.rs:40:23
[INFO] [stdout]   22:     0x57e1b39fedbb - if_statements[f8a41c012dff7e10]::test_if_else_statement
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:32:5
[INFO] [stdout]   23:     0x57e1b39febb7 - if_statements[f8a41c012dff7e10]::test_if_else_statement::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/if_statements.rs:28:28
[INFO] [stdout]   24:     0x57e1b3a00646 - <if_statements[f8a41c012dff7e10]::test_if_else_statement::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x57e1b3a0095b - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x57e1b3a0095b - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x57e1b3a0d1ba - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x57e1b3a0d1ba - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x57e1b3a0d1ba - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x57e1b3a0d1ba - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x57e1b3a0d1ba - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x57e1b3a07684 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x57e1b3a07684 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x57e1b3a0fcb2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x57e1b3a0fcb2 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x57e1b3a0fcb2 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x57e1b3a0fcb2 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x57e1b3a0fcb2 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x57e1b3a0fcb2 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x57e1b3a0fcb2 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x57e1b3b6934f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x57e1b3b6934f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x77298179baa4 - <unknown>
[INFO] [stdout]   46:     0x772981828a64 - 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.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test if_statements`
[INFO] running `Command { std: "docker" "inspect" "fb859fb227a17126f1168a77b1c5bf0773ba56161ce88688f0f4abd94ad3b2ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb859fb227a17126f1168a77b1c5bf0773ba56161ce88688f0f4abd94ad3b2ff", kill_on_drop: false }`
[INFO] [stdout] fb859fb227a17126f1168a77b1c5bf0773ba56161ce88688f0f4abd94ad3b2ff
