[INFO] cloning repository https://github.com/AumyF/haksh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AumyF/haksh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Fhaksh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Fhaksh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2850a1ee77ea7b6201f53f28405bb03d604fd1f2 [INFO] checking AumyF/haksh/2850a1ee77ea7b6201f53f28405bb03d604fd1f2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAumyF%2Fhaksh" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AumyF/haksh on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/AumyF/haksh [INFO] finished tweaking git repo https://github.com/AumyF/haksh [INFO] tweaked toml for git repo https://github.com/AumyF/haksh written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AumyF/haksh 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e999f7cbaecfa4be17b62962ce4e0e27380086f3da0ffca9fac4cb31c4342906 [INFO] running `Command { std: "docker" "start" "-a" "e999f7cbaecfa4be17b62962ce4e0e27380086f3da0ffca9fac4cb31c4342906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e999f7cbaecfa4be17b62962ce4e0e27380086f3da0ffca9fac4cb31c4342906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e999f7cbaecfa4be17b62962ce4e0e27380086f3da0ffca9fac4cb31c4342906", kill_on_drop: false }` [INFO] [stdout] e999f7cbaecfa4be17b62962ce4e0e27380086f3da0ffca9fac4cb31c4342906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e4ea5ec7491857bba685ab07064c92dc6418b5c76e7027378818955c92f4dce [INFO] running `Command { std: "docker" "start" "-a" "2e4ea5ec7491857bba685ab07064c92dc6418b5c76e7027378818955c92f4dce", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking file-id v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking notify-debouncer-full v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking nom-regex v0.2.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling nom-recursive-macros v0.5.0 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking nom-recursive v0.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.1 [INFO] [stderr] Checking haksh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `notify_debouncer_full::DebouncedEvent` [INFO] [stdout] --> src/interpreter.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | use notify_debouncer_full::DebouncedEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/interpreter.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `line_ending` and `preceded` [INFO] [stdout] --> src/parser.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | character::complete::{char, line_ending, multispace0, space0, space1, u64}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notify_debouncer_full::DebouncedEvent` [INFO] [stdout] --> src/interpreter.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | use notify_debouncer_full::DebouncedEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/interpreter.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `line_ending` and `preceded` [INFO] [stdout] --> src/parser.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | character::complete::{char, line_ending, multispace0, space0, space1, u64}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/interpreter.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/interpreter.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | use std::io::{self, BufRead, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/interpreter.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | TaggedString::Regex(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interpreter.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | let current_dir = std::env::current_dir().map_err(|e| "IOError")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/interpreter.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | TaggedString::Regex(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/interpreter.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | let current_dir = std::env::current_dir().map_err(|e| "IOError")?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sub` is never used [INFO] [stdout] --> src/parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_sub(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binop` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn binop<'t, Op: crate::interpreter::BinaryOperator, E: ParseError<&'t str>, G>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_div` is never used [INFO] [stdout] --> src/parser.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul_div(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Option` is never constructed [INFO] [stdout] --> src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 102 | Option(String, PrimaryExpr), [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/interpreter.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 130 | mut expr: std::collections::VecDeque, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | env: Environment, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | value: Value, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | ) -> EvalResult { [INFO] [stdout] 134 | Ok(if let Some(e) = expr.pop_front() { [INFO] [stdout] | ________________^ [INFO] [stdout] 135 | | match e { [INFO] [stdout] 136 | | BlockElement::Expr(e) => { [INFO] [stdout] 137 | | let v = e.evaluate(&env)?; [INFO] [stdout] ... | [INFO] [stdout] 166 | | value [INFO] [stdout] 167 | | }) [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.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | .map(|(k, v)| v.evaluate(env).map(|v| (k.to_string(), v))) [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.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 241 | fn op(&self, left: Value, right: Value) -> EvalResult { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Ok(Value::UInt64(result)) [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.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 256 | fn op(&self, left: Value, right: Value) -> EvalResult { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | Ok(Value::UInt64(result)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_sub` is never used [INFO] [stdout] --> src/parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn add_sub(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binop` is never used [INFO] [stdout] --> src/parser.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn binop<'t, Op: crate::interpreter::BinaryOperator, E: ParseError<&'t str>, G>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_div` is never used [INFO] [stdout] --> src/parser.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mul_div(input: &str) -> IResult<&str, BinOp> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Option` is never constructed [INFO] [stdout] --> src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 102 | Option(String, PrimaryExpr), [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/interpreter.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 130 | mut expr: std::collections::VecDeque, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | env: Environment, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | value: Value, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | ) -> EvalResult { [INFO] [stdout] 134 | Ok(if let Some(e) = expr.pop_front() { [INFO] [stdout] | ________________^ [INFO] [stdout] 135 | | match e { [INFO] [stdout] 136 | | BlockElement::Expr(e) => { [INFO] [stdout] 137 | | let v = e.evaluate(&env)?; [INFO] [stdout] ... | [INFO] [stdout] 166 | | value [INFO] [stdout] 167 | | }) [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.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | .map(|(k, v)| v.evaluate(env).map(|v| (k.to_string(), v))) [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.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 241 | fn op(&self, left: Value, right: Value) -> EvalResult { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Ok(Value::UInt64(result)) [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.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 256 | fn op(&self, left: Value, right: Value) -> EvalResult { [INFO] [stdout] | ----------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | Ok(Value::UInt64(result)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/interpreter.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | let pif = tuple((tag("if"),space0, expr,space0, tag("then"),space0, block, space0,tag("else"), space0,block)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | [INFO] [stdout] 25 | / alt(( [INFO] [stdout] 26 | | map(pif, |(_if, _,cond, _,_then,_, true_exp, _,_else,_, false_expr)| { [INFO] [stdout] 27 | | Expr::If(If { [INFO] [stdout] 28 | | cond: Box::new(cond), [INFO] [stdout] ... | [INFO] [stdout] 34 | | map(primary_expr, Expr::Primary), [INFO] [stdout] 35 | | ))(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/parser.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 26 | map(pif, |(_if, _,cond, _,_then,_, true_exp, _,_else,_, false_expr)| { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Expr::If(If { [INFO] [stdout] | ______________________^ [INFO] [stdout] 28 | | cond: Box::new(cond), [INFO] [stdout] 29 | | true_exp: Box::new(Expr::Primary(PrimaryExpr::Block(Block(true_exp)))), [INFO] [stdout] 30 | | false_expr: Box::new(Expr::Primary(PrimaryExpr::Block(Block(false_expr)))), [INFO] [stdout] 31 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | let add = map(char('+'), |_| AddSubOp::Add); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let sub = map(char('-'), |_| AddSubOp::Sub); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let op = alt((add, sub)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let term = |input| alt((map(mul_div, Expr::MulDiv), map(primary_expr, Expr::Primary)))(input); [INFO] [stdout] 43 | binop(term, op)(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/parser.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let term = |input| alt((map(mul_div, Expr::MulDiv), map(primary_expr, Expr::Primary)))(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/parser.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | move |input| delimited(space0, p, space0)(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/parser.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | let op = terminated(op, space0); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | move |input: &str| { [INFO] [stdout] 61 | / map( [INFO] [stdout] 62 | | pair( [INFO] [stdout] 63 | | terminated(term, space0), [INFO] [stdout] 64 | | many1(pair(op, terminated(term, space0))), [INFO] [stdout] ... | [INFO] [stdout] 82 | | }, [INFO] [stdout] 83 | | )(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/parser.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 66 | |(first, rest)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut rest: std::collections::VecDeque<_> = rest.into_iter().collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let (op1, right1) = rest.pop_front().unwrap(); [INFO] [stdout] | --- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | [INFO] [stdout] 70 | rest.into_iter().fold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 66 | |(first, rest)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut rest: std::collections::VecDeque<_> = rest.into_iter().collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let (op1, right1) = rest.pop_front().unwrap(); [INFO] [stdout] | --- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / BinOp { [INFO] [stdout] 72 | | left: Box::new(first), [INFO] [stdout] 73 | | op: op1, [INFO] [stdout] 74 | | right: Box::new(right1), [INFO] [stdout] 75 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 76 | |acc, (op, e)| BinOp { [INFO] [stdout] | --- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | left: Box::new(Op::into_expr()(acc)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 76 | |acc, (op, e)| BinOp { [INFO] [stdout] | --- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | right: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | let add = map(char('*'), |_| MulDivOp::Mul); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let sub = map(char('/'), |_| MulDivOp::Div); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let op = alt((add, sub)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | binop(term, op)(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/parser.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let term = |input| map(primary_expr, Expr::Primary)(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/parser.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 105 | let identifier = map(space(function_name), |i| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let arg = map(primary_expr, Type::Arg); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let opargs = separated_list0(space1, arg); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | [INFO] [stdout] 125 | let r = tuple((identifier, opargs)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | / map(r, |(fident, opargs)| { [INFO] [stdout] 127 | | let mut args = Vec::new(); [INFO] [stdout] 128 | | let mut options = BTreeMap::new(); [INFO] [stdout] 129 | | for e in opargs { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | })(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/parser.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 113 | |acc, path| Identifier { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | child: Some(Box::new(acc)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | let pf = map(tag("false"), |_| BoolLiteral::False); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | let pt = map(tag("true"), |_| BoolLiteral::True); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | alt((pf, pt))(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/parser.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 178 | let p = delimited( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | / map(p, |e| { [INFO] [stdout] 184 | | let mut map = std::collections::BTreeMap::new(); [INFO] [stdout] 185 | | e.iter().for_each(|(key, _, def)| { [INFO] [stdout] 186 | | map.insert(key.clone(), def.clone()); [INFO] [stdout] ... | [INFO] [stdout] 189 | | map [INFO] [stdout] 190 | | })(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] warning: unused `Result` that must be used [INFO] [stdout] --> src/interpreter.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = bufr.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 194 | let pb = map(pbool, |b| PrimaryExpr::Bool(b)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | let block = map(block, |b| PrimaryExpr::Block(Block(b))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let u = map(u64, |u| PrimaryExpr::DecimalInt(u)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let id = map(identifer, |id| PrimaryExpr::Identifier(id)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let ps = map(pstring, PrimaryExpr::StringLiteral); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let pc = map(pcompound, PrimaryExpr::Compound); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | alt((pb, block, u, id, ps, pc))(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/parser.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | let block = map(block, |b| PrimaryExpr::Block(Block(b))); [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 230 | let a = tuple(( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | / map(a, |(_let, _, ident, _, _eq, _, def)| BlockElement::Using { [INFO] [stdout] 240 | | name: ident.to_string(), [INFO] [stdout] 241 | | def, [INFO] [stdout] 242 | | })(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/parser.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 272 | let a = terminated(block_inner, pair(multispace0, eof)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | map(a, |v| Block(v))(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/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | let pif = tuple((tag("if"),space0, expr,space0, tag("then"),space0, block, space0,tag("else"), space0,block)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | [INFO] [stdout] 25 | / alt(( [INFO] [stdout] 26 | | map(pif, |(_if, _,cond, _,_then,_, true_exp, _,_else,_, false_expr)| { [INFO] [stdout] 27 | | Expr::If(If { [INFO] [stdout] 28 | | cond: Box::new(cond), [INFO] [stdout] ... | [INFO] [stdout] 34 | | map(primary_expr, Expr::Primary), [INFO] [stdout] 35 | | ))(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/parser.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 26 | map(pif, |(_if, _,cond, _,_then,_, true_exp, _,_else,_, false_expr)| { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Expr::If(If { [INFO] [stdout] | ______________________^ [INFO] [stdout] 28 | | cond: Box::new(cond), [INFO] [stdout] 29 | | true_exp: Box::new(Expr::Primary(PrimaryExpr::Block(Block(true_exp)))), [INFO] [stdout] 30 | | false_expr: Box::new(Expr::Primary(PrimaryExpr::Block(Block(false_expr)))), [INFO] [stdout] 31 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | let add = map(char('+'), |_| AddSubOp::Add); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let sub = map(char('-'), |_| AddSubOp::Sub); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let op = alt((add, sub)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let term = |input| alt((map(mul_div, Expr::MulDiv), map(primary_expr, Expr::Primary)))(input); [INFO] [stdout] 43 | binop(term, op)(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/parser.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let term = |input| alt((map(mul_div, Expr::MulDiv), map(primary_expr, Expr::Primary)))(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/parser.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | move |input| delimited(space0, p, space0)(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/parser.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | let op = terminated(op, space0); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | move |input: &str| { [INFO] [stdout] 61 | / map( [INFO] [stdout] 62 | | pair( [INFO] [stdout] 63 | | terminated(term, space0), [INFO] [stdout] 64 | | many1(pair(op, terminated(term, space0))), [INFO] [stdout] ... | [INFO] [stdout] 82 | | }, [INFO] [stdout] 83 | | )(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/parser.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 66 | |(first, rest)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut rest: std::collections::VecDeque<_> = rest.into_iter().collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let (op1, right1) = rest.pop_front().unwrap(); [INFO] [stdout] | --- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | [INFO] [stdout] 70 | rest.into_iter().fold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 66 | |(first, rest)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let mut rest: std::collections::VecDeque<_> = rest.into_iter().collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let (op1, right1) = rest.pop_front().unwrap(); [INFO] [stdout] | --- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / BinOp { [INFO] [stdout] 72 | | left: Box::new(first), [INFO] [stdout] 73 | | op: op1, [INFO] [stdout] 74 | | right: Box::new(right1), [INFO] [stdout] 75 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 76 | |acc, (op, e)| BinOp { [INFO] [stdout] | --- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | left: Box::new(Op::into_expr()(acc)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 76 | |acc, (op, e)| BinOp { [INFO] [stdout] | --- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | right: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | let add = map(char('*'), |_| MulDivOp::Mul); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let sub = map(char('/'), |_| MulDivOp::Div); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let op = alt((add, sub)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | binop(term, op)(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/parser.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let term = |input| map(primary_expr, Expr::Primary)(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/parser.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 105 | let identifier = map(space(function_name), |i| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let arg = map(primary_expr, Type::Arg); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | let opargs = separated_list0(space1, arg); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | [INFO] [stdout] 125 | let r = tuple((identifier, opargs)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | / map(r, |(fident, opargs)| { [INFO] [stdout] 127 | | let mut args = Vec::new(); [INFO] [stdout] 128 | | let mut options = BTreeMap::new(); [INFO] [stdout] 129 | | for e in opargs { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | })(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/parser.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 113 | |acc, path| Identifier { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | child: Some(Box::new(acc)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | let pf = map(tag("false"), |_| BoolLiteral::False); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | let pt = map(tag("true"), |_| BoolLiteral::True); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | alt((pf, pt))(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/parser.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 178 | let p = delimited( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | / map(p, |e| { [INFO] [stdout] 184 | | let mut map = std::collections::BTreeMap::new(); [INFO] [stdout] 185 | | e.iter().for_each(|(key, _, def)| { [INFO] [stdout] 186 | | map.insert(key.clone(), def.clone()); [INFO] [stdout] ... | [INFO] [stdout] 189 | | map [INFO] [stdout] 190 | | })(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/parser.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 194 | let pb = map(pbool, |b| PrimaryExpr::Bool(b)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | let block = map(block, |b| PrimaryExpr::Block(Block(b))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let u = map(u64, |u| PrimaryExpr::DecimalInt(u)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let id = map(identifer, |id| PrimaryExpr::Identifier(id)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let ps = map(pstring, PrimaryExpr::StringLiteral); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let pc = map(pcompound, PrimaryExpr::Compound); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | alt((pb, block, u, id, ps, pc))(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/parser.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | let block = map(block, |b| PrimaryExpr::Block(Block(b))); [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 230 | let a = tuple(( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | / map(a, |(_let, _, ident, _, _eq, _, def)| BlockElement::Using { [INFO] [stdout] 240 | | name: ident.to_string(), [INFO] [stdout] 241 | | def, [INFO] [stdout] 242 | | })(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/parser.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 272 | let a = terminated(block_inner, pair(multispace0, eof)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | map(a, |v| Block(v))(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: aborting due to 24 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `haksh` (lib test) due to 25 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `haksh` (lib) due to 25 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e4ea5ec7491857bba685ab07064c92dc6418b5c76e7027378818955c92f4dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4ea5ec7491857bba685ab07064c92dc6418b5c76e7027378818955c92f4dce", kill_on_drop: false }` [INFO] [stdout] 2e4ea5ec7491857bba685ab07064c92dc6418b5c76e7027378818955c92f4dce