[INFO] cloning repository https://github.com/sawcce/meep-squared [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sawcce/meep-squared" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawcce%2Fmeep-squared", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawcce%2Fmeep-squared'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f9aa3e6e685a17fd5025e44777efa03824abb99 [INFO] checking sawcce/meep-squared against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawcce%2Fmeep-squared" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sawcce/meep-squared 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/sawcce/meep-squared [INFO] finished tweaking git repo https://github.com/sawcce/meep-squared [INFO] tweaked toml for git repo https://github.com/sawcce/meep-squared written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sawcce/meep-squared 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] [stderr] warning: unused manifest key: profiles [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded zeroize v1.5.7 [INFO] [stderr] Downloaded dialoguer v0.10.2 [INFO] [stderr] Downloaded console v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 332b265c8ed9306e1c7560177de3d3cf417c3c33f73b4508f469bd5ce54d4541 [INFO] running `Command { std: "docker" "start" "-a" "332b265c8ed9306e1c7560177de3d3cf417c3c33f73b4508f469bd5ce54d4541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332b265c8ed9306e1c7560177de3d3cf417c3c33f73b4508f469bd5ce54d4541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332b265c8ed9306e1c7560177de3d3cf417c3c33f73b4508f469bd5ce54d4541", kill_on_drop: false }` [INFO] [stdout] 332b265c8ed9306e1c7560177de3d3cf417c3c33f73b4508f469bd5ce54d4541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d998acc4097219edb2801288a22965fac2c562265d2de7424c44e15266d0e314 [INFO] running `Command { std: "docker" "start" "-a" "d998acc4097219edb2801288a22965fac2c562265d2de7424c44e15266d0e314", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profiles [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking dialoguer v0.10.2 [INFO] [stderr] Checking meep_squared v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/interpreter/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::Ref, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws::ws` [INFO] [stdout] --> src/parsers/boolean.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{statements::Statement, ws::ws}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `character::complete::char`, `tag_no_case`, and `take` [INFO] [stdout] --> src/parsers/closure.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | bytes::complete::{tag, tag_no_case, take}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] 5 | character::complete::char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerboseErrorKind` [INFO] [stdout] --> src/parsers/conditional.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | error::{VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closure::Closure` and `statement` [INFO] [stdout] --> src/parsers/conditional.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | closure::Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | statements::{statement, statements, Statement, Statements}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parser` [INFO] [stdout] --> src/parsers/function_declaration.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | error::{ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | IResult, Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult` and `error::VerboseError` [INFO] [stdout] --> src/parsers/operations.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{error::VerboseError, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/parsers/program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Finish` [INFO] [stdout] --> src/parsers/program.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Finish, IResult, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError` and `parsers::function_declaration::function_declaration` [INFO] [stdout] --> src/parsers/program.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{parsers::function_declaration::function_declaration, BoxError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/parsers/return_statement.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{ErrorKind, VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statement` [INFO] [stdout] --> src/parsers/return_statement.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | statements::{statement, Statement}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `combinator::all_consuming` [INFO] [stdout] --> src/parsers/statements.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{branch::alt, combinator::all_consuming, error::VerboseError, multi::many0, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/interpreter/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::Ref, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws::ws` [INFO] [stdout] --> src/parsers/boolean.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{statements::Statement, ws::ws}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `character::complete::char`, `tag_no_case`, and `take` [INFO] [stdout] --> src/parsers/closure.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | bytes::complete::{tag, tag_no_case, take}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] 5 | character::complete::char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerboseErrorKind` [INFO] [stdout] --> src/parsers/conditional.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | error::{VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closure::Closure` and `statement` [INFO] [stdout] --> src/parsers/conditional.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | closure::Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | statements::{statement, statements, Statement, Statements}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parser` [INFO] [stdout] --> src/parsers/function_declaration.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | error::{ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | IResult, Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult` and `error::VerboseError` [INFO] [stdout] --> src/parsers/operations.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{error::VerboseError, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/parsers/program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Finish` [INFO] [stdout] --> src/parsers/program.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Finish, IResult, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError` and `parsers::function_declaration::function_declaration` [INFO] [stdout] --> src/parsers/program.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{parsers::function_declaration::function_declaration, BoxError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/parsers/return_statement.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{ErrorKind, VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statement` [INFO] [stdout] --> src/parsers/return_statement.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | statements::{statement, Statement}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `combinator::all_consuming` [INFO] [stdout] --> src/parsers/statements.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{branch::alt, combinator::all_consuming, error::VerboseError, multi::many0, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | fn date(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn input(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alternates` [INFO] [stdout] --> src/interpreter/mod.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let alternates: Vec<(Value, Vec)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alternates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/interpreter/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | let condition = self.eval(alternate.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter/mod.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let body = self.generate_instruction(alternate.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | fn date(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn input(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument_count` [INFO] [stdout] --> src/interpreter/mod.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | let (argument_count, instructions) = match func { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/interpreter/mod.rs:629:21 [INFO] [stdout] | [INFO] [stdout] 629 | for (index, argument) in arguments.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/mod.rs:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | fn pop_value(&mut self, id: Id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alternates` [INFO] [stdout] --> src/interpreter/mod.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let alternates: Vec<(Value, Vec)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alternates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/interpreter/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | let condition = self.eval(alternate.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter/mod.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let body = self.generate_instruction(alternate.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument_count` [INFO] [stdout] --> src/interpreter/mod.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | let (argument_count, instructions) = match func { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/interpreter/mod.rs:629:21 [INFO] [stdout] | [INFO] [stdout] 629 | for (index, argument) in arguments.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/mod.rs:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | fn pop_value(&mut self, id: Id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalInstruction` is more private than the item `Instruction::Conditional::0` [INFO] [stdout] --> src/interpreter/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Conditional(ConditionalInstruction), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::Conditional::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/interpreter/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/interpreter/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Test` and `PopVariable` are never constructed [INFO] [stdout] --> src/interpreter/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 104 | Test(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | PopVariable(Id), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alternates` and `fallback` are never read [INFO] [stdout] --> src/interpreter/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 117 | main: (Value, Vec), [INFO] [stdout] 118 | alternates: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 119 | fallback: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionalInstruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReferenceType` is never used [INFO] [stdout] --> src/interpreter/mod.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | enum ReferenceType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STD_PREFIX` is never used [INFO] [stdout] --> src/interpreter/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | const STD_PREFIX: &str = "msq_std::"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `instructions` are never read [INFO] [stdout] --> src/interpreter/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 519 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 520 | context: HashMap<(Id, u8), Value>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 521 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_statement` is never used [INFO] [stdout] --> src/parsers/closure.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn one_statement(i: &str) -> IResult<&str, Statements, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/parsers/operations.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> src/parsers/program.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | pub main_id: String, [INFO] [stdout] 19 | functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_file` is never used [INFO] [stdout] --> src/parsers/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn end_of_file(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closure` is never constructed [INFO] [stdout] --> src/parsers/statements.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Closure(Closure), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `True` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn True(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 5 | fn r#true(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `False` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn False(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 10 | fn r#false(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalInstruction` is more private than the item `Instruction::Conditional::0` [INFO] [stdout] --> src/interpreter/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Conditional(ConditionalInstruction), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::Conditional::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/interpreter/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/interpreter/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Test` and `PopVariable` are never constructed [INFO] [stdout] --> src/interpreter/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 104 | Test(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | PopVariable(Id), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alternates` and `fallback` are never read [INFO] [stdout] --> src/interpreter/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 117 | main: (Value, Vec), [INFO] [stdout] 118 | alternates: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 119 | fallback: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionalInstruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReferenceType` is never used [INFO] [stdout] --> src/interpreter/mod.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | enum ReferenceType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STD_PREFIX` is never used [INFO] [stdout] --> src/interpreter/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | const STD_PREFIX: &str = "msq_std::"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `instructions` are never read [INFO] [stdout] --> src/interpreter/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 519 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 520 | context: HashMap<(Id, u8), Value>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 521 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_statement` is never used [INFO] [stdout] --> src/parsers/closure.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn one_statement(i: &str) -> IResult<&str, Statements, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/parsers/operations.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> src/parsers/program.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | pub main_id: String, [INFO] [stdout] 19 | functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_file` is never used [INFO] [stdout] --> src/parsers/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn end_of_file(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closure` is never constructed [INFO] [stdout] --> src/parsers/statements.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Closure(Closure), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `True` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn True(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 5 | fn r#true(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `False` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn False(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 10 | fn r#false(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "d998acc4097219edb2801288a22965fac2c562265d2de7424c44e15266d0e314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d998acc4097219edb2801288a22965fac2c562265d2de7424c44e15266d0e314", kill_on_drop: false }` [INFO] [stdout] d998acc4097219edb2801288a22965fac2c562265d2de7424c44e15266d0e314 [INFO] checking sawcce/meep-squared 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%2Fsawcce%2Fmeep-squared" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sawcce/meep-squared 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/sawcce/meep-squared [INFO] finished tweaking git repo https://github.com/sawcce/meep-squared [INFO] tweaked toml for git repo https://github.com/sawcce/meep-squared written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sawcce/meep-squared 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] [stderr] warning: unused manifest key: profiles [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4ecb18a4998cedc064ceaad2c676d36da10c2f7ca2ad118495cfea4fcbe37860 [INFO] running `Command { std: "docker" "start" "-a" "4ecb18a4998cedc064ceaad2c676d36da10c2f7ca2ad118495cfea4fcbe37860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ecb18a4998cedc064ceaad2c676d36da10c2f7ca2ad118495cfea4fcbe37860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ecb18a4998cedc064ceaad2c676d36da10c2f7ca2ad118495cfea4fcbe37860", kill_on_drop: false }` [INFO] [stdout] 4ecb18a4998cedc064ceaad2c676d36da10c2f7ca2ad118495cfea4fcbe37860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1e157d41d8e0b3e1e48b4db1b70e56b3ba254b3cd60dc667ecc840527898af1a [INFO] running `Command { std: "docker" "start" "-a" "1e157d41d8e0b3e1e48b4db1b70e56b3ba254b3cd60dc667ecc840527898af1a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profiles [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking dialoguer v0.10.2 [INFO] [stderr] Checking meep_squared v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/interpreter/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::Ref, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws::ws` [INFO] [stdout] --> src/parsers/boolean.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{statements::Statement, ws::ws}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/interpreter/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::Ref, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `character::complete::char`, `tag_no_case`, and `take` [INFO] [stdout] --> src/parsers/closure.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | bytes::complete::{tag, tag_no_case, take}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] 5 | character::complete::char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws::ws` [INFO] [stdout] --> src/parsers/boolean.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{statements::Statement, ws::ws}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerboseErrorKind` [INFO] [stdout] --> src/parsers/conditional.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | error::{VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closure::Closure` and `statement` [INFO] [stdout] --> src/parsers/conditional.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | closure::Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | statements::{statement, statements, Statement, Statements}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `branch::alt`, `character::complete::char`, `tag_no_case`, and `take` [INFO] [stdout] --> src/parsers/closure.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | bytes::complete::{tag, tag_no_case, take}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] 5 | character::complete::char, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parser` [INFO] [stdout] --> src/parsers/function_declaration.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | error::{ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | IResult, Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerboseErrorKind` [INFO] [stdout] --> src/parsers/conditional.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | error::{VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult` and `error::VerboseError` [INFO] [stdout] --> src/parsers/operations.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{error::VerboseError, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `closure::Closure` and `statement` [INFO] [stdout] --> src/parsers/conditional.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | closure::Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | statements::{statement, statements, Statement, Statements}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/parsers/program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Finish` [INFO] [stdout] --> src/parsers/program.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Finish, IResult, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseError` and `Parser` [INFO] [stdout] --> src/parsers/function_declaration.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | error::{ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | IResult, Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError` and `parsers::function_declaration::function_declaration` [INFO] [stdout] --> src/parsers/program.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{parsers::function_declaration::function_declaration, BoxError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult` and `error::VerboseError` [INFO] [stdout] --> src/parsers/operations.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{error::VerboseError, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/parsers/return_statement.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{ErrorKind, VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/parsers/program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statement` [INFO] [stdout] --> src/parsers/return_statement.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | statements::{statement, Statement}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Finish` [INFO] [stdout] --> src/parsers/program.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Finish, IResult, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `combinator::all_consuming` [INFO] [stdout] --> src/parsers/statements.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{branch::alt, combinator::all_consuming, error::VerboseError, multi::many0, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxError` and `parsers::function_declaration::function_declaration` [INFO] [stdout] --> src/parsers/program.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{parsers::function_declaration::function_declaration, BoxError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/parsers/return_statement.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{ErrorKind, VerboseError, VerboseErrorKind}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statement` [INFO] [stdout] --> src/parsers/return_statement.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | statements::{statement, Statement}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `combinator::all_consuming` [INFO] [stdout] --> src/parsers/statements.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{branch::alt, combinator::all_consuming, error::VerboseError, multi::many0, IResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | fn date(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn input(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | fn date(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alternates` [INFO] [stdout] --> src/interpreter/mod.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let alternates: Vec<(Value, Vec)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alternates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/interpreter/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | let condition = self.eval(alternate.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter/mod.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let body = self.generate_instruction(alternate.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/mod.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn input(args: Vec) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument_count` [INFO] [stdout] --> src/interpreter/mod.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | let (argument_count, instructions) = match func { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/interpreter/mod.rs:629:21 [INFO] [stdout] | [INFO] [stdout] 629 | for (index, argument) in arguments.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alternates` [INFO] [stdout] --> src/interpreter/mod.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let alternates: Vec<(Value, Vec)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alternates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/interpreter/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | let condition = self.eval(alternate.0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpreter/mod.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | let body = self.generate_instruction(alternate.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/mod.rs:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | fn pop_value(&mut self, id: Id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument_count` [INFO] [stdout] --> src/interpreter/mod.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | let (argument_count, instructions) = match func { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/interpreter/mod.rs:629:21 [INFO] [stdout] | [INFO] [stdout] 629 | for (index, argument) in arguments.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/mod.rs:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | fn pop_value(&mut self, id: Id) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalInstruction` is more private than the item `Instruction::Conditional::0` [INFO] [stdout] --> src/interpreter/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Conditional(ConditionalInstruction), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::Conditional::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/interpreter/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/interpreter/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Test` and `PopVariable` are never constructed [INFO] [stdout] --> src/interpreter/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 104 | Test(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | PopVariable(Id), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alternates` and `fallback` are never read [INFO] [stdout] --> src/interpreter/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 117 | main: (Value, Vec), [INFO] [stdout] 118 | alternates: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 119 | fallback: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionalInstruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReferenceType` is never used [INFO] [stdout] --> src/interpreter/mod.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | enum ReferenceType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STD_PREFIX` is never used [INFO] [stdout] --> src/interpreter/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | const STD_PREFIX: &str = "msq_std::"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `instructions` are never read [INFO] [stdout] --> src/interpreter/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 519 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 520 | context: HashMap<(Id, u8), Value>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 521 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_statement` is never used [INFO] [stdout] --> src/parsers/closure.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn one_statement(i: &str) -> IResult<&str, Statements, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/parsers/operations.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> src/parsers/program.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | pub main_id: String, [INFO] [stdout] 19 | functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_file` is never used [INFO] [stdout] --> src/parsers/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn end_of_file(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closure` is never constructed [INFO] [stdout] --> src/parsers/statements.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Closure(Closure), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/interpreter/mod.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 165 | fn date(args: Vec) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | Some(Value::Int32( [INFO] [stdout] | __________^ [INFO] [stdout] 167 | | SystemTime::now() [INFO] [stdout] 168 | | .duration_since(UNIX_EPOCH) [INFO] [stdout] 169 | | .unwrap() [INFO] [stdout] 170 | | .as_millis() as i32, [INFO] [stdout] 171 | | )) [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/interpreter/mod.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn input(args: Vec) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Some(Value::String(input)) [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/interpreter/mod.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 240 | fn equals(args: Vec) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Some(Value::Boolean(is_equals)) [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/interpreter/mod.rs:340:50 [INFO] [stdout] | [INFO] [stdout] 340 | ... .map(|arg| self.eval(arg.clone())) [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/interpreter/mod.rs:381:34 [INFO] [stdout] | [INFO] [stdout] 354 | fn conditional(&mut self, conditional: Conditional) -> Instruction { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let first_condition = self.eval(conditional.main_condition.0); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | let first_body = self.generate_instruction(conditional.main_condition.1); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | let alternates: Vec<(Value, Vec)> = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | let mut fallback: Option> = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | Instruction::Conditional(ConditionalInstruction { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 382 | | main: (first_condition, first_body), [INFO] [stdout] 383 | | alternates: Some(Vec::new()), [INFO] [stdout] 384 | | fallback, [INFO] [stdout] 385 | | }) [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/interpreter/mod.rs:510:46 [INFO] [stdout] | [INFO] [stdout] 510 | .map(|arg| self.eval(arg.clone())) [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/interpreter/mod.rs:612:62 [INFO] [stdout] | [INFO] [stdout] 612 | let arguments = arguments.iter().map(|arg| self.eval(arg.clone())).collect(); [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/parsers/args_list.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | let (remaining, args) = opt(alt((underscore, args_call_list)))(i)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let args = args.unwrap_or(Vec::new()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | [INFO] [stdout] 32 | Ok((remaining, args)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `True` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn True(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 5 | fn r#true(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `False` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn False(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 10 | fn r#false(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [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/parsers/closure.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | let (remaining, statement) = statement(i)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 18 | | remaining, [INFO] [stdout] 19 | | Statements { [INFO] [stdout] 20 | | body: vec![statement], [INFO] [stdout] 21 | | }, [INFO] [stdout] 22 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parsers/closure.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | let (remaining, statements) = ws(statements)(i)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let (remaining, _) = ws(tag("end"))(remaining)?; [INFO] [stdout] 28 | Ok((remaining, statements)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/closure.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 40 | let (remaining, body) = multiple_statements(remaining)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok((remaining, Closure { arguments, body })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/conditional.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 35 | let (remaining, condition) = ws(value)(remaining)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let (remaining, _) = arrow(remaining)?; [INFO] [stdout] 37 | let (remaining, body) = opt(ws(statements))(remaining)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let body = body.unwrap_or(Statements { body: Vec::new() }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | let (remaining, fallback) = opt(else_parser)(remaining)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 44 | | remaining, [INFO] [stdout] 45 | | Statement::Conditional(Conditional { [INFO] [stdout] 46 | | main_condition: Box::new((condition, body)), [INFO] [stdout] ... | [INFO] [stdout] 49 | | }), [INFO] [stdout] 50 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/function_call.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | let (remaining, args) = delimited(tag("("), ws(call_list), tag(")"))(remaining)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 16 | | remaining, [INFO] [stdout] 17 | | Statement::FunctionCall(FunctionCall { [INFO] [stdout] 18 | | name: String::from(name), [INFO] [stdout] 19 | | arguments: args, [INFO] [stdout] 20 | | }), [INFO] [stdout] 21 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parsers/function_declaration.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | let (remaining, closure) = ws(closure)(remaining)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 25 | | remaining, [INFO] [stdout] 26 | | Statement::FunctionDeclaration(FunctionDeclaration { [INFO] [stdout] 27 | | name, [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parsers/program.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 29 | let mut program = Program { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let (remaining, mut statements) = all_consuming(statements)(i)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok((remaining, program)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/return_statement.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 15 | let (remaining, returned) = value(remaining)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok((remaining, Statement::Return(Box::new(returned)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/statements.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 44 | let (remaining, list) = /*all_consuming(*/many0(ws(statement))/*)*/(i)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok((remaining, Statements { body: list })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/string.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | let esc = escaped(none_of("\\\""), '\\', tag("\"")); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let esc_or_empty = alt((esc, tag(""))); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Ok((remaining, Statement::String(String::from(res)))) [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/parsers/variable.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 50 | let (remaining, value) = value(remaining)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 55 | | remaining, [INFO] [stdout] 56 | | Statement::Assignement(Assignement { [INFO] [stdout] 57 | | name, [INFO] [stdout] ... | [INFO] [stdout] 62 | | }), [INFO] [stdout] 63 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 19 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConditionalInstruction` is more private than the item `Instruction::Conditional::0` [INFO] [stdout] --> src/interpreter/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Conditional(ConditionalInstruction), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `Instruction::Conditional::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConditionalInstruction` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/interpreter/mod.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/interpreter/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, Box>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | CopyVar(Id, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Test` and `PopVariable` are never constructed [INFO] [stdout] --> src/interpreter/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 104 | Test(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | PopVariable(Id), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alternates` and `fallback` are never read [INFO] [stdout] --> src/interpreter/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct ConditionalInstruction { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 117 | main: (Value, Vec), [INFO] [stdout] 118 | alternates: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 119 | fallback: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionalInstruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReferenceType` is never used [INFO] [stdout] --> src/interpreter/mod.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | enum ReferenceType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STD_PREFIX` is never used [INFO] [stdout] --> src/interpreter/mod.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | const STD_PREFIX: &str = "msq_std::"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `instructions` are never read [INFO] [stdout] --> src/interpreter/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 519 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 520 | context: HashMap<(Id, u8), Value>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 521 | instructions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one_statement` is never used [INFO] [stdout] --> src/parsers/closure.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn one_statement(i: &str) -> IResult<&str, Statements, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/parsers/operations.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> src/parsers/program.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 18 | pub main_id: String, [INFO] [stdout] 19 | functions: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_file` is never used [INFO] [stdout] --> src/parsers/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn end_of_file(i: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closure` is never constructed [INFO] [stdout] --> src/parsers/statements.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Closure(Closure), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/interpreter/mod.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 165 | fn date(args: Vec) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | Some(Value::Int32( [INFO] [stdout] | __________^ [INFO] [stdout] 167 | | SystemTime::now() [INFO] [stdout] 168 | | .duration_since(UNIX_EPOCH) [INFO] [stdout] 169 | | .unwrap() [INFO] [stdout] 170 | | .as_millis() as i32, [INFO] [stdout] 171 | | )) [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/interpreter/mod.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 201 | fn input(args: Vec) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Some(Value::String(input)) [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/interpreter/mod.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 240 | fn equals(args: Vec) -> Option { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Some(Value::Boolean(is_equals)) [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/interpreter/mod.rs:340:50 [INFO] [stdout] | [INFO] [stdout] 340 | ... .map(|arg| self.eval(arg.clone())) [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/interpreter/mod.rs:381:34 [INFO] [stdout] | [INFO] [stdout] 354 | fn conditional(&mut self, conditional: Conditional) -> Instruction { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let first_condition = self.eval(conditional.main_condition.0); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | let first_body = self.generate_instruction(conditional.main_condition.1); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | let alternates: Vec<(Value, Vec)> = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | let mut fallback: Option> = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | Instruction::Conditional(ConditionalInstruction { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 382 | | main: (first_condition, first_body), [INFO] [stdout] 383 | | alternates: Some(Vec::new()), [INFO] [stdout] 384 | | fallback, [INFO] [stdout] 385 | | }) [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/interpreter/mod.rs:510:46 [INFO] [stdout] | [INFO] [stdout] 510 | .map(|arg| self.eval(arg.clone())) [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/interpreter/mod.rs:612:62 [INFO] [stdout] | [INFO] [stdout] 612 | let arguments = arguments.iter().map(|arg| self.eval(arg.clone())).collect(); [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/parsers/args_list.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | let (remaining, args) = opt(alt((underscore, args_call_list)))(i)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let args = args.unwrap_or(Vec::new()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | [INFO] [stdout] 32 | Ok((remaining, args)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `True` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn True(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 5 | fn r#true(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `False` should have a snake case name [INFO] [stdout] --> src/parsers/boolean.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn False(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 10 | fn r#false(i: &str) -> IResult<&str, Statement, VerboseError<&str>> { [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/parsers/closure.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | let (remaining, statement) = statement(i)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 18 | | remaining, [INFO] [stdout] 19 | | Statements { [INFO] [stdout] 20 | | body: vec![statement], [INFO] [stdout] 21 | | }, [INFO] [stdout] 22 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parsers/closure.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | let (remaining, statements) = ws(statements)(i)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let (remaining, _) = ws(tag("end"))(remaining)?; [INFO] [stdout] 28 | Ok((remaining, statements)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/closure.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 40 | let (remaining, body) = multiple_statements(remaining)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok((remaining, Closure { arguments, body })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/conditional.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 35 | let (remaining, condition) = ws(value)(remaining)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let (remaining, _) = arrow(remaining)?; [INFO] [stdout] 37 | let (remaining, body) = opt(ws(statements))(remaining)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let body = body.unwrap_or(Statements { body: Vec::new() }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | let (remaining, fallback) = opt(else_parser)(remaining)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 44 | | remaining, [INFO] [stdout] 45 | | Statement::Conditional(Conditional { [INFO] [stdout] 46 | | main_condition: Box::new((condition, body)), [INFO] [stdout] ... | [INFO] [stdout] 49 | | }), [INFO] [stdout] 50 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/function_call.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | let (remaining, args) = delimited(tag("("), ws(call_list), tag(")"))(remaining)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 16 | | remaining, [INFO] [stdout] 17 | | Statement::FunctionCall(FunctionCall { [INFO] [stdout] 18 | | name: String::from(name), [INFO] [stdout] 19 | | arguments: args, [INFO] [stdout] 20 | | }), [INFO] [stdout] 21 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parsers/function_declaration.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | let (remaining, closure) = ws(closure)(remaining)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 25 | | remaining, [INFO] [stdout] 26 | | Statement::FunctionDeclaration(FunctionDeclaration { [INFO] [stdout] 27 | | name, [INFO] [stdout] ... | [INFO] [stdout] 30 | | }), [INFO] [stdout] 31 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parsers/program.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 29 | let mut program = Program { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let (remaining, mut statements) = all_consuming(statements)(i)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok((remaining, program)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [stderr] error: could not compile `meep_squared` (bin "meep_squared") due to 20 previous errors; 35 warnings emitted [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/parsers/return_statement.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 15 | let (remaining, returned) = value(remaining)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok((remaining, Statement::Return(Box::new(returned)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/parsers/statements.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 44 | let (remaining, list) = /*all_consuming(*/many0(ws(statement))/*)*/(i)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok((remaining, Statements { body: list })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/parsers/string.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | let esc = escaped(none_of("\\\""), '\\', tag("\"")); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let esc_or_empty = alt((esc, tag(""))); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | Ok((remaining, Statement::String(String::from(res)))) [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/parsers/variable.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 50 | let (remaining, value) = value(remaining)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 55 | | remaining, [INFO] [stdout] 56 | | Statement::Assignement(Assignement { [INFO] [stdout] 57 | | name, [INFO] [stdout] ... | [INFO] [stdout] 62 | | }), [INFO] [stdout] 63 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 19 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `meep_squared` (bin "meep_squared" test) due to 20 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e157d41d8e0b3e1e48b4db1b70e56b3ba254b3cd60dc667ecc840527898af1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e157d41d8e0b3e1e48b4db1b70e56b3ba254b3cd60dc667ecc840527898af1a", kill_on_drop: false }` [INFO] [stdout] 1e157d41d8e0b3e1e48b4db1b70e56b3ba254b3cd60dc667ecc840527898af1a