[INFO] fetching crate petalang 0.0.1... [INFO] checking petalang-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate petalang 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate petalang 0.0.1 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] started tweaking crates.io crate petalang 0.0.1 [INFO] finished tweaking crates.io crate petalang 0.0.1 [INFO] tweaked toml for crates.io crate petalang 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate petalang 0.0.1 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] 1cb29783ed8c8d91da55086c35ba4022671809b916b9f1045be9b3f1a6dfffa8 [INFO] running `Command { std: "docker" "start" "-a" "1cb29783ed8c8d91da55086c35ba4022671809b916b9f1045be9b3f1a6dfffa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cb29783ed8c8d91da55086c35ba4022671809b916b9f1045be9b3f1a6dfffa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb29783ed8c8d91da55086c35ba4022671809b916b9f1045be9b3f1a6dfffa8", kill_on_drop: false }` [INFO] [stdout] 1cb29783ed8c8d91da55086c35ba4022671809b916b9f1045be9b3f1a6dfffa8 [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] 0ef5fda2835948f28d0f2a5c0b5236681658da8bd88a477d4d1e288940e50ee1 [INFO] running `Command { std: "docker" "start" "-a" "0ef5fda2835948f28d0f2a5c0b5236681658da8bd88a477d4d1e288940e50ee1", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking object v0.36.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking petalang v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | fn main() -> miette::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | .try_collect()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | fn main() -> miette::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | .try_collect()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [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/main.rs:57:69 [INFO] [stdout] | [INFO] [stdout] 57 | match Program::make(content, Some(path)).map(|p| p.eval(Some(scope.clone()))) { [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] = 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/errors.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|hint| Box::new(hint) as Box) [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/ast/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 118 | let mut ast: Vec> = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Program { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | tree: ast, [INFO] [stdout] 130 | | hydrator: h.clone(), [INFO] [stdout] 131 | | }) [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/ast/mod.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn eval(self, scope: Option>) -> miette::Result> { [INFO] [stdout] | ---- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let h = self.hydrator.clone(); [INFO] [stdout] 136 | eval(self, scope.unwrap_or(Scope::new()), h) [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/ast/parser.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn build_mondaic<'a>(pair: Pair<'a, Rule>, expr: ContextualNode<'a>, h: Hydrator) -> NodeRes<'a> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Ok(Node::MondaicOp { [INFO] [stdout] | ________^ [INFO] [stdout] 182 | | verb: get_mondaic(pair.as_str().to_string()).ok_or(partial!( [INFO] [stdout] 183 | | "parsing mondaic", [INFO] [stdout] 184 | | format!("Unexpected verb: {}", pair.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 190 | | } [INFO] [stdout] 191 | | .provide_context(pair.as_span())) [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/ast/parser.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 196 | lhs: ContextualNode<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | rhs: ContextualNode<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Node::DyadicOp { [INFO] [stdout] | ________^ [INFO] [stdout] 201 | | verb: get_dyadic(pair.as_str().to_string()).ok_or(partial!( [INFO] [stdout] 202 | | "parsing dyadic", [INFO] [stdout] 203 | | format!("Unexpected verb: '{}'", pair.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | .provide_context(pair.as_span())) [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/eval/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 34 | scope: MutScope<'a>, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | match node.0.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/eval/mod.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|a| step(&a, scope.clone(), h.clone())) [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/eval/mod.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 95 | left: ContextualNode<'a>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | right: ContextualNode<'a>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | scope: MutScope<'a>, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let left = step(&left, scope.clone(), h.clone())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let right = step(&right, scope.clone(), h.clone())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let (left, right) = Object::coerce(left, right, h.clone())?; [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] 105 | [INFO] [stdout] 106 | Ok(match (left.0.clone(), right.0.clone()) { [INFO] [stdout] | ________^ [INFO] [stdout] 107 | | (Object::Float(a), Object::Float(b)) => match verb { [INFO] [stdout] 108 | | Dyadic::Add => Object::Float(Float::fit(a.to_max_value() + b.to_max_value())), [INFO] [stdout] 109 | | Dyadic::Subtract => Object::Float(Float::fit(a.to_max_value() - b.to_max_value())), [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | .provide_context(span)) [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/eval/builtins.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn len<'a>(a: Vec>, h: Hydrator) -> Result, Error> { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Object::Integer(Int::fit(match &v.0.clone() { [INFO] [stdout] | ________^ [INFO] [stdout] 27 | | Object::Array(arr) => arr.len() as i128, [INFO] [stdout] 28 | | Object::String(v) => v.len() as i128, [INFO] [stdout] 29 | | _ => { [INFO] [stdout] ... | [INFO] [stdout] 37 | | })) [INFO] [stdout] 38 | | .anonymous()) [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/eval/builtins.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn print<'a>(a: Vec>, _: Hydrator) -> Result, Error> { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Object::Null.anonymous()) [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/eval/builtins.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|i| i.0.clone().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 45 | a: ContextualObject<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | b: ContextualObject<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(match (a.clone().0, b.clone().0) { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | // To Float [INFO] [stdout] 56 | | (Object::Integer(c), Object::Float(d)) => ( [INFO] [stdout] 57 | | Object::Float(Float::fit(c.to_max_value() as f64)).provide_context(a.1.clone()), [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | }) [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/scope.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_child(parent: MutScope) -> MutScope { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Rc::new(RefCell::new(Scope { [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | store: BTreeMap::new(), [INFO] [stdout] 24 | | parent: Some(parent), [INFO] [stdout] 25 | | })) [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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `petalang` (bin "pet" test) due to 15 previous errors; 1 warning emitted [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/main.rs:57:69 [INFO] [stdout] | [INFO] [stdout] 57 | match Program::make(content, Some(path)).map(|p| p.eval(Some(scope.clone()))) { [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] = 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/errors.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|hint| Box::new(hint) as Box) [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/ast/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 118 | let mut ast: Vec> = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Program { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | tree: ast, [INFO] [stdout] 130 | | hydrator: h.clone(), [INFO] [stdout] 131 | | }) [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/ast/mod.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn eval(self, scope: Option>) -> miette::Result> { [INFO] [stdout] | ---- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let h = self.hydrator.clone(); [INFO] [stdout] 136 | eval(self, scope.unwrap_or(Scope::new()), h) [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/ast/parser.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn build_mondaic<'a>(pair: Pair<'a, Rule>, expr: ContextualNode<'a>, h: Hydrator) -> NodeRes<'a> { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Ok(Node::MondaicOp { [INFO] [stdout] | ________^ [INFO] [stdout] 182 | | verb: get_mondaic(pair.as_str().to_string()).ok_or(partial!( [INFO] [stdout] 183 | | "parsing mondaic", [INFO] [stdout] 184 | | format!("Unexpected verb: {}", pair.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 190 | | } [INFO] [stdout] 191 | | .provide_context(pair.as_span())) [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/ast/parser.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 196 | lhs: ContextualNode<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | rhs: ContextualNode<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Node::DyadicOp { [INFO] [stdout] | ________^ [INFO] [stdout] 201 | | verb: get_dyadic(pair.as_str().to_string()).ok_or(partial!( [INFO] [stdout] 202 | | "parsing dyadic", [INFO] [stdout] 203 | | format!("Unexpected verb: '{}'", pair.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | .provide_context(pair.as_span())) [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/eval/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 34 | scope: MutScope<'a>, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | match node.0.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/eval/mod.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|a| step(&a, scope.clone(), h.clone())) [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/eval/mod.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 95 | left: ContextualNode<'a>, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | right: ContextualNode<'a>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | scope: MutScope<'a>, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let left = step(&left, scope.clone(), h.clone())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let right = step(&right, scope.clone(), h.clone())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let (left, right) = Object::coerce(left, right, h.clone())?; [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] 105 | [INFO] [stdout] 106 | Ok(match (left.0.clone(), right.0.clone()) { [INFO] [stdout] | ________^ [INFO] [stdout] 107 | | (Object::Float(a), Object::Float(b)) => match verb { [INFO] [stdout] 108 | | Dyadic::Add => Object::Float(Float::fit(a.to_max_value() + b.to_max_value())), [INFO] [stdout] 109 | | Dyadic::Subtract => Object::Float(Float::fit(a.to_max_value() - b.to_max_value())), [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | .provide_context(span)) [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/eval/builtins.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn len<'a>(a: Vec>, h: Hydrator) -> Result, Error> { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Object::Integer(Int::fit(match &v.0.clone() { [INFO] [stdout] | ________^ [INFO] [stdout] 27 | | Object::Array(arr) => arr.len() as i128, [INFO] [stdout] 28 | | Object::String(v) => v.len() as i128, [INFO] [stdout] 29 | | _ => { [INFO] [stdout] ... | [INFO] [stdout] 37 | | })) [INFO] [stdout] 38 | | .anonymous()) [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/eval/builtins.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn print<'a>(a: Vec>, _: Hydrator) -> Result, Error> { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Object::Null.anonymous()) [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/eval/builtins.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|i| i.0.clone().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 45 | a: ContextualObject<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | b: ContextualObject<'a>, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(match (a.clone().0, b.clone().0) { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | // To Float [INFO] [stdout] 56 | | (Object::Integer(c), Object::Float(d)) => ( [INFO] [stdout] 57 | | Object::Float(Float::fit(c.to_max_value() as f64)).provide_context(a.1.clone()), [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | }) [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/scope.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_child(parent: MutScope) -> MutScope { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Rc::new(RefCell::new(Scope { [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | store: BTreeMap::new(), [INFO] [stdout] 24 | | parent: Some(parent), [INFO] [stdout] 25 | | })) [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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `petalang` (bin "pet") due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ef5fda2835948f28d0f2a5c0b5236681658da8bd88a477d4d1e288940e50ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef5fda2835948f28d0f2a5c0b5236681658da8bd88a477d4d1e288940e50ee1", kill_on_drop: false }` [INFO] [stdout] 0ef5fda2835948f28d0f2a5c0b5236681658da8bd88a477d4d1e288940e50ee1