[INFO] cloning repository https://github.com/MarcHoff94/monkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcHoff94/monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcHoff94%2Fmonkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcHoff94%2Fmonkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a6fed46dfe1fc21fb1b6cb8b0190e979c861f9f [INFO] checking MarcHoff94/monkey against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcHoff94%2Fmonkey" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcHoff94/monkey on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarcHoff94/monkey [INFO] finished tweaking git repo https://github.com/MarcHoff94/monkey [INFO] tweaked toml for git repo https://github.com/MarcHoff94/monkey written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MarcHoff94/monkey 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0427268cd65f184ddb1eaf68bbcdc8484b078e1300fb78d424edf8773244cc1 [INFO] running `Command { std: "docker" "start" "-a" "a0427268cd65f184ddb1eaf68bbcdc8484b078e1300fb78d424edf8773244cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0427268cd65f184ddb1eaf68bbcdc8484b078e1300fb78d424edf8773244cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0427268cd65f184ddb1eaf68bbcdc8484b078e1300fb78d424edf8773244cc1", kill_on_drop: false }` [INFO] [stdout] a0427268cd65f184ddb1eaf68bbcdc8484b078e1300fb78d424edf8773244cc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cc2dcf1d840d8743c583245b07538bb197faadf4b03bc958dbc6d801f325d67 [INFO] running `Command { std: "docker" "start" "-a" "7cc2dcf1d840d8743c583245b07538bb197faadf4b03bc958dbc6d801f325d67", kill_on_drop: false }` [INFO] [stderr] Checking monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MonkeyExpr` [INFO] [stdout] --> src/parser.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{MonkeyExpr, MonkeyExpression, Programm, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/object.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::{Ref, RefCell}, collections::HashMap, fmt::Debug, rc::Rc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonkeyExpr` [INFO] [stdout] --> src/parser.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{MonkeyExpr, MonkeyExpression, Programm, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/object.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::{Ref, RefCell}, collections::HashMap, fmt::Debug, rc::Rc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/repl.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let program = monkey_parser.parse_programm(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/repl.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let program = monkey_parser.parse_programm(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 47 | MonkeyExpression::INTEGERLITERAL(x) => Ok(eval_integer_literal(x)), [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] 48 | MonkeyExpression::BOOLEAN(x) => Ok(eval_bool(x)), [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] 49 | MonkeyExpression::PREFIX(x) => eval_prefix_expr(&x.operator, *x.right, Rc::clone(&env)), [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 50 | MonkeyExpression::INFIX(x) => eval_infix_expr(x.operator.as_str(), *x.left, *x.right, Rc::clone(&env)), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 47 | MonkeyExpression::INTEGERLITERAL(x) => Ok(eval_integer_literal(x)), [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] 48 | MonkeyExpression::BOOLEAN(x) => Ok(eval_bool(x)), [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] 49 | MonkeyExpression::PREFIX(x) => eval_prefix_expr(&x.operator, *x.right, Rc::clone(&env)), [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 50 | MonkeyExpression::INFIX(x) => eval_infix_expr(x.operator.as_str(), *x.left, *x.right, Rc::clone(&env)), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/evaluator.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | MonkeyObject::NULL(x) => MonkeyObject::BOOLEAN(Bool { value: true }), [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/evaluator.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | MonkeyObject::NULL(x) => MonkeyObject::BOOLEAN(Bool { value: true }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/evaluator.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | let func = match function { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/evaluator.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let args = eval_expr_list(arguments, Rc::clone(&env)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/evaluator.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | let func = match function { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/evaluator.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let args = eval_expr_list(arguments, Rc::clone(&env)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tokens` is never used [INFO] [stdout] --> src/repl.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_tokens(monkey_lexer: &mut Lexer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_program` is never used [INFO] [stdout] --> src/ast.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Programm { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 99 | fn print_program(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tokens` is never used [INFO] [stdout] --> src/repl.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_tokens(monkey_lexer: &mut Lexer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_program` is never used [INFO] [stdout] --> src/ast.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Programm { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 99 | fn print_program(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "7cc2dcf1d840d8743c583245b07538bb197faadf4b03bc958dbc6d801f325d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc2dcf1d840d8743c583245b07538bb197faadf4b03bc958dbc6d801f325d67", kill_on_drop: false }` [INFO] [stdout] 7cc2dcf1d840d8743c583245b07538bb197faadf4b03bc958dbc6d801f325d67 [INFO] checking MarcHoff94/monkey against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcHoff94%2Fmonkey" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcHoff94/monkey on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarcHoff94/monkey [INFO] finished tweaking git repo https://github.com/MarcHoff94/monkey [INFO] tweaked toml for git repo https://github.com/MarcHoff94/monkey written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MarcHoff94/monkey 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89bb5646f4636292d3e39932deb0f11646c7825197d7485fd354d7f1ea2af581 [INFO] running `Command { std: "docker" "start" "-a" "89bb5646f4636292d3e39932deb0f11646c7825197d7485fd354d7f1ea2af581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89bb5646f4636292d3e39932deb0f11646c7825197d7485fd354d7f1ea2af581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89bb5646f4636292d3e39932deb0f11646c7825197d7485fd354d7f1ea2af581", kill_on_drop: false }` [INFO] [stdout] 89bb5646f4636292d3e39932deb0f11646c7825197d7485fd354d7f1ea2af581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f0e07a8de63b482ac3e93f87f76730ea127eab05513ed400ebf7cac969160d7 [INFO] running `Command { std: "docker" "start" "-a" "4f0e07a8de63b482ac3e93f87f76730ea127eab05513ed400ebf7cac969160d7", kill_on_drop: false }` [INFO] [stderr] Checking monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MonkeyExpr` [INFO] [stdout] --> src/parser.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{MonkeyExpr, MonkeyExpression, Programm, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/object.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::{Ref, RefCell}, collections::HashMap, fmt::Debug, rc::Rc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonkeyExpr` [INFO] [stdout] --> src/parser.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ast::{MonkeyExpr, MonkeyExpression, Programm, Statement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/object.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::{Ref, RefCell}, collections::HashMap, fmt::Debug, rc::Rc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/repl.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let program = monkey_parser.parse_programm(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/repl.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let program = monkey_parser.parse_programm(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 47 | MonkeyExpression::INTEGERLITERAL(x) => Ok(eval_integer_literal(x)), [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] 48 | MonkeyExpression::BOOLEAN(x) => Ok(eval_bool(x)), [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] 49 | MonkeyExpression::PREFIX(x) => eval_prefix_expr(&x.operator, *x.right, Rc::clone(&env)), [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 50 | MonkeyExpression::INFIX(x) => eval_infix_expr(x.operator.as_str(), *x.left, *x.right, Rc::clone(&env)), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evaluator.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 47 | MonkeyExpression::INTEGERLITERAL(x) => Ok(eval_integer_literal(x)), [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] 48 | MonkeyExpression::BOOLEAN(x) => Ok(eval_bool(x)), [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] 49 | MonkeyExpression::PREFIX(x) => eval_prefix_expr(&x.operator, *x.right, Rc::clone(&env)), [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 50 | MonkeyExpression::INFIX(x) => eval_infix_expr(x.operator.as_str(), *x.left, *x.right, Rc::clone(&env)), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | _ => panic!("Unknown Expression {:#?}", expr), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/evaluator.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | MonkeyObject::NULL(x) => MonkeyObject::BOOLEAN(Bool { value: true }), [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/evaluator.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | MonkeyObject::NULL(x) => MonkeyObject::BOOLEAN(Bool { value: true }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/evaluator.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | let func = match function { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/evaluator.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let args = eval_expr_list(arguments, Rc::clone(&env)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/evaluator.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | let func = match function { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/evaluator.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let args = eval_expr_list(arguments, Rc::clone(&env)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tokens` is never used [INFO] [stdout] --> src/repl.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_tokens(monkey_lexer: &mut Lexer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_program` is never used [INFO] [stdout] --> src/ast.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Programm { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 99 | fn print_program(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:289:61 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn new(tok: Token, op: String, right: MonkeyExpression) -> PrefixExpression { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | PrefixExpression { token: tok, operator: op, right: Box::new(right) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:322:66 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn new(operator: String, tok: Token, left: MonkeyExpression, right: MonkeyExpression) -> InfixExpression { [INFO] [stdout] | ---------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | InfixExpression { operator: operator, token: tok, left: Box::new(left), right: Box::new(right) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:322:89 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn new(operator: String, tok: Token, left: MonkeyExpression, right: MonkeyExpression) -> InfixExpression { [INFO] [stdout] | ---------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | InfixExpression { operator: operator, token: tok, left: Box::new(left), right: Box::new(right) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:409:48 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn new(tok: Token, function: MonkeyExpression, arguments: Option>>) -> CallExpression { [INFO] [stdout] | -------------------------- --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | CallExpression { token: tok, function: Box::new(function), arguments } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tokens` is never used [INFO] [stdout] --> src/repl.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn create_tokens(monkey_lexer: &mut Lexer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_program` is never used [INFO] [stdout] --> src/ast.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Programm { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 99 | fn print_program(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | let value = self.parse_expression(Precedence::LOWEST.into_i32()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok(Statement::LET( [INFO] [stdout] | ____________^ [INFO] [stdout] 135 | | LetStatement::new( [INFO] [stdout] 136 | | Token::new(statement_token.tokentype, statement_token.literal), [INFO] [stdout] 137 | | statement_name, [INFO] [stdout] 138 | | value.unwrap()) [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 158 | let expression = match self.parse_expression(Precedence::LOWEST.into_i32()) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Ok(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Statement::EXPRESSION(ExpressionStatement::new(self.curr_token.clone(), expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 223 | let blockstatement = self.parse_block_statement().unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | [INFO] [stdout] 225 | Ok(MonkeyExpression::FUNCTIONLITERAL( [INFO] [stdout] | ____________^ [INFO] [stdout] 226 | | FunctionLiteral::new(func_tok, params, blockstatement) [INFO] [stdout] 227 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 261 | let condition = self.parse_expression(Precedence::LOWEST.into_i32()).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | let consequence = self.parse_block_statement().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | let alternative: Option; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok(MonkeyExpression::IF( [INFO] [stdout] | ____________^ [INFO] [stdout] 282 | | IfExpression::new(if_token, Box::new(condition), consequence, alternative) [INFO] [stdout] 283 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:289:61 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn new(tok: Token, op: String, right: MonkeyExpression) -> PrefixExpression { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | PrefixExpression { token: tok, operator: op, right: Box::new(right) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 320 | let right = self.parse_expression(Precedence::PREFIX.into_i32()).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Ok(MonkeyExpression::PREFIX(PrefixExpression::new(tok, op, right))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 325 | fn parse_infix_expression(&mut self, left: MonkeyExpression) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | Ok(MonkeyExpression::INFIX( [INFO] [stdout] | ____________^ [INFO] [stdout] 330 | | InfixExpression::new( [INFO] [stdout] 331 | | token.literal.clone(), [INFO] [stdout] 332 | | token, [INFO] [stdout] ... | [INFO] [stdout] 335 | | ) [INFO] [stdout] 336 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:322:66 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn new(operator: String, tok: Token, left: MonkeyExpression, right: MonkeyExpression) -> InfixExpression { [INFO] [stdout] | ---------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | InfixExpression { operator: operator, token: tok, left: Box::new(left), right: Box::new(right) } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 339 | fn parse_call_expression(&mut self, function: MonkeyExpression) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let tok = self.curr_token.clone(); [INFO] [stdout] 341 | let args = self.parse_call_arguments(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | Ok(MonkeyExpression::CALL(CallExpression::new(tok, function, args))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:322:89 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn new(operator: String, tok: Token, left: MonkeyExpression, right: MonkeyExpression) -> InfixExpression { [INFO] [stdout] | ---------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | InfixExpression { operator: operator, token: tok, left: Box::new(left), right: Box::new(right) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:409:48 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn new(tok: Token, function: MonkeyExpression, arguments: Option>>) -> CallExpression { [INFO] [stdout] | -------------------------- --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | CallExpression { token: tok, function: Box::new(function), arguments } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new_enclosed_evironment(hashmap: HashMap, env: Rc>) -> Environment { [INFO] [stdout] | -------------------------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | Environment{ store: hashmap, outer: Some(Rc::clone(&env))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn eval_return_statement(node: ReturnStatement, env: Rc>) -> MonkeyObject { [INFO] [stdout] | --------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | MonkeyObject::RETURN(ReturnValue::new(Box::new(eval_expr(node.return_value, Rc::clone(&env)).unwrap()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 126 | let value = self.parse_expression(Precedence::LOWEST.into_i32()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok(Statement::LET( [INFO] [stdout] | ____________^ [INFO] [stdout] 135 | | LetStatement::new( [INFO] [stdout] 136 | | Token::new(statement_token.tokentype, statement_token.literal), [INFO] [stdout] 137 | | statement_name, [INFO] [stdout] 138 | | value.unwrap()) [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 158 | let expression = match self.parse_expression(Precedence::LOWEST.into_i32()) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Ok(x) => x, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Statement::EXPRESSION(ExpressionStatement::new(self.curr_token.clone(), expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn eval_expr_statement(node: ExpressionStatement, env: Rc>) -> MonkeyObject { [INFO] [stdout] | ------------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | eval_expr(node.expression, env).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 223 | let blockstatement = self.parse_block_statement().unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | [INFO] [stdout] 225 | Ok(MonkeyExpression::FUNCTIONLITERAL( [INFO] [stdout] | ____________^ [INFO] [stdout] 226 | | FunctionLiteral::new(func_tok, params, blockstatement) [INFO] [stdout] 227 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 261 | let condition = self.parse_expression(Precedence::LOWEST.into_i32()).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | let consequence = self.parse_block_statement().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | let alternative: Option; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok(MonkeyExpression::IF( [INFO] [stdout] | ____________^ [INFO] [stdout] 282 | | IfExpression::new(if_token, Box::new(condition), consequence, alternative) [INFO] [stdout] 283 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 320 | let right = self.parse_expression(Precedence::PREFIX.into_i32()).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Ok(MonkeyExpression::PREFIX(PrefixExpression::new(tok, op, right))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 325 | fn parse_infix_expression(&mut self, left: MonkeyExpression) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | Ok(MonkeyExpression::INFIX( [INFO] [stdout] | ____________^ [INFO] [stdout] 330 | | InfixExpression::new( [INFO] [stdout] 331 | | token.literal.clone(), [INFO] [stdout] 332 | | token, [INFO] [stdout] ... | [INFO] [stdout] 335 | | ) [INFO] [stdout] 336 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 339 | fn parse_call_expression(&mut self, function: MonkeyExpression) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let tok = self.curr_token.clone(); [INFO] [stdout] 341 | let args = self.parse_call_arguments(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | Ok(MonkeyExpression::CALL(CallExpression::new(tok, function, args))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 98 | fn eval_infix_expr(operator: &str, left_expr: MonkeyExpression, right_expr: MonkeyExpression, env: Rc>) -> Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new_enclosed_evironment(hashmap: HashMap, env: Rc>) -> Environment { [INFO] [stdout] | -------------------------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | Environment{ store: hashmap, outer: Some(Rc::clone(&env))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 150 | fn eval_ident(ident: Identifier, env: Rc>) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | match env.borrow().get(&ident.value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn eval_functionliteral(func_lit: FunctionLiteral, env: Rc>) -> Result { [INFO] [stdout] | ------------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Ok(MonkeyObject::FUNCTION(Function::new(func_lit.parameters, func_lit.blockstatment, Rc::clone(&env)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn eval_return_statement(node: ReturnStatement, env: Rc>) -> MonkeyObject { [INFO] [stdout] | --------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | MonkeyObject::RETURN(ReturnValue::new(Box::new(eval_expr(node.return_value, Rc::clone(&env)).unwrap()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn eval_expr_statement(node: ExpressionStatement, env: Rc>) -> MonkeyObject { [INFO] [stdout] | ------------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | eval_expr(node.expression, env).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 98 | fn eval_infix_expr(operator: &str, left_expr: MonkeyExpression, right_expr: MonkeyExpression, env: Rc>) -> Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 150 | fn eval_ident(ident: Identifier, env: Rc>) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | match env.borrow().get(&ident.value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn eval_functionliteral(func_lit: FunctionLiteral, env: Rc>) -> Result { [INFO] [stdout] | ------------------------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Ok(MonkeyObject::FUNCTION(Function::new(func_lit.parameters, func_lit.blockstatment, Rc::clone(&env)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey` (lib test) due to 18 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `monkey` (lib) due to 18 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f0e07a8de63b482ac3e93f87f76730ea127eab05513ed400ebf7cac969160d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0e07a8de63b482ac3e93f87f76730ea127eab05513ed400ebf7cac969160d7", kill_on_drop: false }` [INFO] [stdout] 4f0e07a8de63b482ac3e93f87f76730ea127eab05513ed400ebf7cac969160d7