[INFO] cloning repository https://github.com/mcon/craftinginterpreters-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcon/craftinginterpreters-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcon%2Fcraftinginterpreters-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcon%2Fcraftinginterpreters-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7a3f64d224860b6c44a3f5f8eefa775e9b58de37
[INFO] testing mcon/craftinginterpreters-rust against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcon%2Fcraftinginterpreters-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mcon/craftinginterpreters-rust
[INFO] finished tweaking git repo https://github.com/mcon/craftinginterpreters-rust
[INFO] tweaked toml for git repo https://github.com/mcon/craftinginterpreters-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mcon/craftinginterpreters-rust on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mcon/craftinginterpreters-rust 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded either v1.5.3
[INFO] [stderr]   Downloaded argparse v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed8b9370debdfdaab8ce6cb11f1b1e1e00a20f62c7cd8937b979ebff125e8551
[INFO] running `Command { std: "docker" "start" "-a" "ed8b9370debdfdaab8ce6cb11f1b1e1e00a20f62c7cd8937b979ebff125e8551", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed8b9370debdfdaab8ce6cb11f1b1e1e00a20f62c7cd8937b979ebff125e8551", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed8b9370debdfdaab8ce6cb11f1b1e1e00a20f62c7cd8937b979ebff125e8551", kill_on_drop: false }`
[INFO] [stdout] ed8b9370debdfdaab8ce6cb11f1b1e1e00a20f62c7cd8937b979ebff125e8551
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 250c1eeaaf3e5d228160685e24084a9cd381ab194541686588af4f5ed1ca4704
[INFO] running `Command { std: "docker" "start" "-a" "250c1eeaaf3e5d228160685e24084a9cd381ab194541686588af4f5ed1ca4704", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling argparse v0.2.2
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling loxrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/parser.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Identifier`
[INFO] [stdout]  --> src/interpreter.rs:1:68
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ast::{Exp, BinaryExp, GroupingExp, UnaryExp, LiteralExp, Stmt, Identifier};
[INFO] [stdout]   |                                                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> src/interpreter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ast::Identifier`
[INFO] [stdout]  --> src/environment.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ast::Identifier;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/environment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/environment.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:26:64
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<Iterator<Item=Discriminant<A>>> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<dyn Iterator<Item=Discriminant<A>>> {
[INFO] [stdout]    |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:94:60
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut dyn Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser.rs:108:57
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<dyn Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 |         current_exp_generator : &Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 109 |         current_exp_generator : &dyn Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn matches(&self, valid_tokens : &mut Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn matches(&self, valid_tokens : &mut dyn Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/scanner.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 267 | /             match string.parse::<i64>() {
[INFO] [stdout] 268 | |                 Ok(result) => return Some(TokenType::Literal(Literal::NUMBER(result))),
[INFO] [stdout] 269 | |                 Err(_) => {
[INFO] [stdout] 270 | |                     self.errors.push(format!("Unable to parse number on line {}", self.line));
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |             }
[INFO] [stdout]     | |_____________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] ...
[INFO] [stdout] 276 |           self.errors.push(format!("Unknown error parsing number on line {}", self.line));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/scanner.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |             character @ '0'..='9' => {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/interpreter.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         stmts_success.map(|x| ())
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:106:51
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stdout]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stdout]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:110:51
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stdout]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:110:59
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stdout]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:114:50
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:114:58
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:118:53
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stdout]     |                                                     ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:118:61
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stdout]     |                                                             ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:122:58
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:122:66
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stdout]     |                                                                  ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:126:50
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:126:58
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:130:55
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stdout]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:130:63
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stdout]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:134:50
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:144:55
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stdout]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:144:63
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stdout]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:148:56
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stdout]     |                                                        ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:148:64
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stdout]     |                                                                ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:152:33
[INFO] [stdout]     |
[INFO] [stdout] 152 |             Token { token_type, lexeme, line } =>
[INFO] [stdout]     |                                 ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/interpreter.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         x => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/interpreter.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     x => {Err("Non-number values not supported with operator -".to_string())},
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l_other`
[INFO] [stdout]    --> src/interpreter.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         (Ok(l_other), Err(r_other)) => Err(r_other),
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s
[INFO] running `Command { std: "docker" "inspect" "250c1eeaaf3e5d228160685e24084a9cd381ab194541686588af4f5ed1ca4704", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "250c1eeaaf3e5d228160685e24084a9cd381ab194541686588af4f5ed1ca4704", kill_on_drop: false }`
[INFO] [stdout] 250c1eeaaf3e5d228160685e24084a9cd381ab194541686588af4f5ed1ca4704
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9747ed4a905523232357f1ad93cd52cf1d12ac054c7141e1abc778563f6fbdb
[INFO] running `Command { std: "docker" "start" "-a" "b9747ed4a905523232357f1ad93cd52cf1d12ac054c7141e1abc778563f6fbdb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/parser.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Identifier`
[INFO] [stdout]  --> src/interpreter.rs:1:68
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ast::{Exp, BinaryExp, GroupingExp, UnaryExp, LiteralExp, Stmt, Identifier};
[INFO] [stdout]   |                                                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> src/interpreter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ast::Identifier`
[INFO] [stdout]  --> src/environment.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ast::Identifier;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/environment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/environment.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:26:64
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<Iterator<Item=Discriminant<A>>> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<dyn Iterator<Item=Discriminant<A>>> {
[INFO] [stdout]    |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:94:60
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut dyn Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser.rs:108:57
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<dyn Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 |         current_exp_generator : &Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 109 |         current_exp_generator : &dyn Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn matches(&self, valid_tokens : &mut Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn matches(&self, valid_tokens : &mut dyn Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/scanner.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 267 | /             match string.parse::<i64>() {
[INFO] [stdout] 268 | |                 Ok(result) => return Some(TokenType::Literal(Literal::NUMBER(result))),
[INFO] [stdout] 269 | |                 Err(_) => {
[INFO] [stdout] 270 | |                     self.errors.push(format!("Unable to parse number on line {}", self.line));
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |             }
[INFO] [stdout]     | |_____________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] ...
[INFO] [stdout] 276 |           self.errors.push(format!("Unknown error parsing number on line {}", self.line));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/scanner.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |             character @ '0'..='9' => {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/interpreter.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         stmts_success.map(|x| ())
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:106:51
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stdout]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stdout]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:110:51
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stdout]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:110:59
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stdout]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:114:50
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:114:58
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:118:53
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stdout]     |                                                     ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:118:61
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stdout]     |                                                             ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:122:58
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:122:66
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stdout]     |                                                                  ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:126:50
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:126:58
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:130:55
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stdout]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:130:63
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stdout]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:134:50
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:144:55
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stdout]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:144:63
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stdout]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:148:56
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stdout]     |                                                        ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:148:64
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stdout]     |                                                                ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:152:33
[INFO] [stdout]     |
[INFO] [stdout] 152 |             Token { token_type, lexeme, line } =>
[INFO] [stdout]     |                                 ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/interpreter.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         x => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/interpreter.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     x => {Err("Non-number values not supported with operator -".to_string())},
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l_other`
[INFO] [stdout]    --> src/interpreter.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         (Ok(l_other), Err(r_other)) => Err(r_other),
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling loxrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/parser.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Identifier`
[INFO] [stdout]  --> src/interpreter.rs:1:68
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ast::{Exp, BinaryExp, GroupingExp, UnaryExp, LiteralExp, Stmt, Identifier};
[INFO] [stdout]   |                                                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::FromIterator`
[INFO] [stdout]  --> src/interpreter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::FromIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/interpreter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ast::Identifier`
[INFO] [stdout]  --> src/environment.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ast::Identifier;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/environment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/environment.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:26:64
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<Iterator<Item=Discriminant<A>>> {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<dyn Iterator<Item=Discriminant<A>>> {
[INFO] [stdout]    |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:94:60
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut dyn Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser.rs:108:57
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<dyn Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parser.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 |         current_exp_generator : &Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 109 |         current_exp_generator : &dyn Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parser.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn matches(&self, valid_tokens : &mut Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn matches(&self, valid_tokens : &mut dyn Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/scanner.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 267 | /             match string.parse::<i64>() {
[INFO] [stdout] 268 | |                 Ok(result) => return Some(TokenType::Literal(Literal::NUMBER(result))),
[INFO] [stdout] 269 | |                 Err(_) => {
[INFO] [stdout] 270 | |                     self.errors.push(format!("Unable to parse number on line {}", self.line));
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |             }
[INFO] [stdout]     | |_____________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] ...
[INFO] [stdout] 276 |           self.errors.push(format!("Unknown error parsing number on line {}", self.line));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/scanner.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |             character @ '0'..='9' => {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/interpreter.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         stmts_success.map(|x| ())
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:106:51
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stdout]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:106:59
[INFO] [stdout]     |
[INFO] [stdout] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stdout]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:110:51
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stdout]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:110:59
[INFO] [stdout]     |
[INFO] [stdout] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stdout]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:114:50
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:114:58
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:118:53
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stdout]     |                                                     ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:118:61
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stdout]     |                                                             ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:122:58
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:122:66
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stdout]     |                                                                  ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:126:50
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:126:58
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:130:55
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stdout]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:130:63
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stdout]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:134:50
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stdout]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stdout]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:144:55
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stdout]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:144:63
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stdout]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:148:56
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stdout]     |                                                        ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line`
[INFO] [stdout]    --> src/interpreter.rs:148:64
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stdout]     |                                                                ^^^^ help: try ignoring the field: `line: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexeme`
[INFO] [stdout]    --> src/interpreter.rs:152:33
[INFO] [stdout]     |
[INFO] [stdout] 152 |             Token { token_type, lexeme, line } =>
[INFO] [stdout]     |                                 ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/interpreter.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         x => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/interpreter.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     x => {Err("Non-number values not supported with operator -".to_string())},
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l_other`
[INFO] [stdout]    --> src/interpreter.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         (Ok(l_other), Err(r_other)) => Err(r_other),
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/parser.rs:295:32
[INFO] [stdout]     |
[INFO] [stdout] 295 |             Err(err) => panic!(err)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 295 |             Err(err) => panic!("{}", err)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/parser.rs:332:32
[INFO] [stdout]     |
[INFO] [stdout] 332 |             Err(err) => panic!(err)
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 332 |             Err(err) => panic!("{}", err)
[INFO] [stdout]     |                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s
[INFO] running `Command { std: "docker" "inspect" "b9747ed4a905523232357f1ad93cd52cf1d12ac054c7141e1abc778563f6fbdb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9747ed4a905523232357f1ad93cd52cf1d12ac054c7141e1abc778563f6fbdb", kill_on_drop: false }`
[INFO] [stdout] b9747ed4a905523232357f1ad93cd52cf1d12ac054c7141e1abc778563f6fbdb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 28b58f4773e41b253ed187b5e2d6481d7245419d145c1f4237358f43ac520bd2
[INFO] running `Command { std: "docker" "start" "-a" "28b58f4773e41b253ed187b5e2d6481d7245419d145c1f4237358f43ac520bd2", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused import: `std::borrow::Borrow`
[INFO] [stderr]  --> src/parser.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::borrow::Borrow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Identifier`
[INFO] [stderr]  --> src/interpreter.rs:1:68
[INFO] [stderr]   |
[INFO] [stderr] 1 | use ast::{Exp, BinaryExp, GroupingExp, UnaryExp, LiteralExp, Stmt, Identifier};
[INFO] [stderr]   |                                                                    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::iter::FromIterator`
[INFO] [stderr]  --> src/interpreter.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::iter::FromIterator;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::Borrow`
[INFO] [stderr]  --> src/interpreter.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::borrow::Borrow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ast::Identifier`
[INFO] [stderr]  --> src/environment.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use ast::Identifier;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::convert::TryInto`
[INFO] [stderr]  --> src/environment.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::convert::TryInto;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::Borrow`
[INFO] [stderr]  --> src/environment.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::borrow::Borrow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parser.rs:26:64
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<Iterator<Item=Discriminant<A>>> {
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn instances_to_discriminants<A> (items : &'static [A]) -> Box<dyn Iterator<Item=Discriminant<A>>> {
[INFO] [stderr]    |                                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parser.rs:94:60
[INFO] [stderr]    |
[INFO] [stderr] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 94 |     fn consume_valid_tokens(&mut self, valid_tokens : &mut dyn Iterator<Item=Discriminant<TokenType>>) -> bool {
[INFO] [stderr]    |                                                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/parser.rs:108:57
[INFO] [stderr]     |
[INFO] [stderr] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 108 |     fn execute_level(&mut self, valid_tokens : &mut Box<dyn Iterator<Item=Discriminant<TokenType>>>, previous_exp : Exp,
[INFO] [stderr]     |                                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/parser.rs:109:34
[INFO] [stderr]     |
[INFO] [stderr] 109 |         current_exp_generator : &Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 109 |         current_exp_generator : &dyn Fn(&mut Parser, &Token, Exp) -> Result<Exp, String>) -> Result<Exp, String> {
[INFO] [stderr]     |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parser.rs:18:43
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn matches(&self, valid_tokens : &mut Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn matches(&self, valid_tokens : &mut dyn Iterator<Item = Discriminant<TokenType>>) -> bool {
[INFO] [stderr]    |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/scanner.rs:276:9
[INFO] [stderr]     |
[INFO] [stderr] 267 | /             match string.parse::<i64>() {
[INFO] [stderr] 268 | |                 Ok(result) => return Some(TokenType::Literal(Literal::NUMBER(result))),
[INFO] [stderr] 269 | |                 Err(_) => {
[INFO] [stderr] 270 | |                     self.errors.push(format!("Unable to parse number on line {}", self.line));
[INFO] [stderr] ...   |
[INFO] [stderr] 273 | |             }
[INFO] [stderr]     | |_____________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stderr] ...
[INFO] [stderr] 276 |           self.errors.push(format!("Unknown error parsing number on line {}", self.line));
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `character`
[INFO] [stderr]    --> src/scanner.rs:226:13
[INFO] [stderr]     |
[INFO] [stderr] 226 |             character @ '0'..='9' => {
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/interpreter.rs:40:28
[INFO] [stderr]    |
[INFO] [stderr] 40 |         stmts_success.map(|x| ())
[INFO] [stderr]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:106:51
[INFO] [stderr]     |
[INFO] [stderr] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stderr]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:106:59
[INFO] [stderr]     |
[INFO] [stderr] 106 |             Token { token_type: TokenType::MINUS, lexeme, line } => {
[INFO] [stderr]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:110:51
[INFO] [stderr]     |
[INFO] [stderr] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stderr]     |                                                   ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:110:59
[INFO] [stderr]     |
[INFO] [stderr] 110 |             Token { token_type: TokenType::SLASH, lexeme, line } => {
[INFO] [stderr]     |                                                           ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:114:50
[INFO] [stderr]     |
[INFO] [stderr] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stderr]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:114:58
[INFO] [stderr]     |
[INFO] [stderr] 114 |             Token { token_type: TokenType::STAR, lexeme, line } => {
[INFO] [stderr]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:118:53
[INFO] [stderr]     |
[INFO] [stderr] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stderr]     |                                                     ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:118:61
[INFO] [stderr]     |
[INFO] [stderr] 118 |             Token { token_type: TokenType::GREATER, lexeme, line } => {
[INFO] [stderr]     |                                                             ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:122:58
[INFO] [stderr]     |
[INFO] [stderr] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stderr]     |                                                          ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:122:66
[INFO] [stderr]     |
[INFO] [stderr] 122 |             Token { token_type: TokenType::GreaterEqual, lexeme, line } => {
[INFO] [stderr]     |                                                                  ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:126:50
[INFO] [stderr]     |
[INFO] [stderr] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stderr]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:126:58
[INFO] [stderr]     |
[INFO] [stderr] 126 |             Token { token_type: TokenType::LESS, lexeme, line } => {
[INFO] [stderr]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:130:55
[INFO] [stderr]     |
[INFO] [stderr] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stderr]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:130:63
[INFO] [stderr]     |
[INFO] [stderr] 130 |             Token { token_type: TokenType::LessEqual, lexeme, line } => {
[INFO] [stderr]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:134:50
[INFO] [stderr]     |
[INFO] [stderr] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stderr]     |                                                  ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:134:58
[INFO] [stderr]     |
[INFO] [stderr] 134 |             Token { token_type: TokenType::PLUS, lexeme, line } => {
[INFO] [stderr]     |                                                          ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:144:55
[INFO] [stderr]     |
[INFO] [stderr] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stderr]     |                                                       ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:144:63
[INFO] [stderr]     |
[INFO] [stderr] 144 |             Token { token_type: TokenType::BangEqual, lexeme, line } => {
[INFO] [stderr]     |                                                               ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:148:56
[INFO] [stderr]     |
[INFO] [stderr] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stderr]     |                                                        ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line`
[INFO] [stderr]    --> src/interpreter.rs:148:64
[INFO] [stderr]     |
[INFO] [stderr] 148 |             Token { token_type: TokenType::EqualEqual, lexeme, line } => {
[INFO] [stderr]     |                                                                ^^^^ help: try ignoring the field: `line: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lexeme`
[INFO] [stderr]    --> src/interpreter.rs:152:33
[INFO] [stderr]     |
[INFO] [stderr] 152 |             Token { token_type, lexeme, line } =>
[INFO] [stderr]     |                                 ^^^^^^ help: try ignoring the field: `lexeme: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/interpreter.rs:140:25
[INFO] [stderr]     |
[INFO] [stderr] 140 |                         x => {
[INFO] [stderr]     |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/interpreter.rs:99:21
[INFO] [stderr]    |
[INFO] [stderr] 99 |                     x => {Err("Non-number values not supported with operator -".to_string())},
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `l_other`
[INFO] [stderr]    --> src/interpreter.rs:188:13
[INFO] [stderr]     |
[INFO] [stderr] 188 |         (Ok(l_other), Err(r_other)) => Err(r_other),
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_l_other`
[INFO] [stderr] 
[INFO] [stderr] warning: `loxrust` (lib) generated 39 warnings (run `cargo fix --lib -p loxrust` to apply 12 suggestions)
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/parser.rs:295:32
[INFO] [stderr]     |
[INFO] [stderr] 295 |             Err(err) => panic!(err)
[INFO] [stderr]     |                                ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 295 |             Err(err) => panic!("{}", err)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/parser.rs:332:32
[INFO] [stderr]     |
[INFO] [stderr] 332 |             Err(err) => panic!(err)
[INFO] [stderr]     |                                ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]     |
[INFO] [stderr] 332 |             Err(err) => panic!("{}", err)
[INFO] [stderr]     |                                +++++
[INFO] [stderr] 
[INFO] [stderr] warning: `loxrust` (lib test) generated 41 warnings (39 duplicates) (run `cargo fix --lib -p loxrust --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loxrust-4a09cf447626a433)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test parser::tests::parse_expresion_with_brackets ... ok
[INFO] [stdout] test scanner::tests::scan_string ... ok
[INFO] [stdout] test scanner::tests::statement_with_brackets ... ok
[INFO] [stdout] test parser::tests::parse_valid_example_expression ... ok
[INFO] [stdout] test scanner::tests::equals_statement ... ok
[INFO] [stdout] test ast::tests::ast_printer_simple ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- ast::tests::ast_printer_simple stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'ast::tests::ast_printer_simple' panicked at src/ast.rs:156:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "(== (group foobar) 2);"
[INFO] [stdout]  right: "(== (group foobar) 2)"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x572825edebb2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x572825edebb2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x572825edebb2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x572825edebb2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x572825f04093 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x572825f04093 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x572825edbb33 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x572825edbb33 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x572825edea02 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x572825ee0139 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x572825edff6e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x572825ea8344 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x572825ea8344 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x572825ee0c0e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x572825ee0c0e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x572825ee08da - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x572825edf0b9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x572825ee056d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x572825f02b10 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x572825f02e33 - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x572825e683cd - core::panicking::assert_failed::hef1c4f129d786fb5
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x572825e5ffb5 - loxrust::ast::tests::ast_printer_simple::h9f83987a7bf7b035
[INFO] [stdout]                                at /opt/rustwide/workdir/src/ast.rs:156:9
[INFO] [stdout]   22:     0x572825e5fa07 - loxrust::ast::tests::ast_printer_simple::{{closure}}::h92e0f9c96c800e19
[INFO] [stdout]                                at /opt/rustwide/workdir/src/ast.rs:136:28
[INFO] [stdout]   23:     0x572825e69c26 - core::ops::function::FnOnce::call_once::h729bc6e2ad99c87c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x572825eadbab - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x572825eadbab - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x572825eacce5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x572825eacce5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x572825eacce5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x572825eacce5 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x572825eacce5 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x572825eacce5 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x572825eacce5 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x572825e708e4 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x572825e708e4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x572825e742ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x572825e742ba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x572825e742ba - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x572825e742ba - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x572825e742ba - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x572825e742ba - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x572825e742ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x572825ee3b8f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x572825ee3b8f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x7d01e8133aa4 - <unknown>
[INFO] [stdout]   45:     0x7d01e81c0a34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     ast::tests::ast_printer_simple
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "28b58f4773e41b253ed187b5e2d6481d7245419d145c1f4237358f43ac520bd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28b58f4773e41b253ed187b5e2d6481d7245419d145c1f4237358f43ac520bd2", kill_on_drop: false }`
[INFO] [stdout] 28b58f4773e41b253ed187b5e2d6481d7245419d145c1f4237358f43ac520bd2
