[INFO] cloning repository https://github.com/Johan-Mi/scratch-compiler-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Johan-Mi/scratch-compiler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57f7d47c4c88a600ded1aa3b1e1f6358a11161e3 [INFO] checking Johan-Mi/scratch-compiler-rs/57f7d47c4c88a600ded1aa3b1e1f6358a11161e3 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%2FJohan-Mi%2Fscratch-compiler-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Johan-Mi/scratch-compiler-rs 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-7-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Johan-Mi/scratch-compiler-rs [INFO] finished tweaking git repo https://github.com/Johan-Mi/scratch-compiler-rs [INFO] tweaked toml for git repo https://github.com/Johan-Mi/scratch-compiler-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Johan-Mi/scratch-compiler-rs 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9794cf9c656bfacb42906fdc82f3fafbff9bcc110860793ac290e6de89b2b7bd [INFO] running `Command { std: "docker" "start" "-a" "9794cf9c656bfacb42906fdc82f3fafbff9bcc110860793ac290e6de89b2b7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9794cf9c656bfacb42906fdc82f3fafbff9bcc110860793ac290e6de89b2b7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9794cf9c656bfacb42906fdc82f3fafbff9bcc110860793ac290e6de89b2b7bd", kill_on_drop: false }` [INFO] [stdout] 9794cf9c656bfacb42906fdc82f3fafbff9bcc110860793ac290e6de89b2b7bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] da4886fdaff340cd4703383ab180ce3030cf4a1e9c8f2a663c06d37fffa277f3 [INFO] running `Command { std: "docker" "start" "-a" "da4886fdaff340cd4703383ab180ce3030cf4a1e9c8f2a663c06d37fffa277f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling cranelift-isle v0.97.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.97.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cranelift-entity v0.97.2 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.97.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking cranelift-bforest v0.97.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking ecow v0.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking lispfmt v0.1.0 (https://github.com/Johan-Mi/lispfmt#37c51553) [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking sb3-stuff v0.1.0 (https://github.com/Johan-Mi/sb3-stuff#e1dea5f9) [INFO] [stderr] Checking codemap-diagnostic v0.1.1 (https://github.com/Johan-Mi/codemap-diagnostic#c7860a6d) [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking cranelift-control v0.97.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Compiling cranelift-codegen v0.97.2 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking cranelift-module v0.97.2 [INFO] [stderr] Checking cranelift-frontend v0.97.2 [INFO] [stderr] Checking cranelift-object v0.97.2 [INFO] [stderr] Checking cranelift v0.97.2 [INFO] [stderr] Checking scratch-compiler v0.1.0 (/opt/rustwide/workdir) [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:39:26 [INFO] [stdout] | [INFO] [stdout] 38 | .map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Box::new(diagnostic::Error::FailedToReadSourceCode { [INFO] [stdout] | __________________________^ [INFO] [stdout] 40 | | inner: err, [INFO] [stdout] 41 | | }) [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/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn all_symbols(asts: Vec) -> Result, Ast> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | / asts.into_iter() [INFO] [stdout] 52 | | .map(|ast| match ast { [INFO] [stdout] 53 | | Ast::Sym(sym, ..) => Ok(sym), [INFO] [stdout] 54 | | _ => Err(ast), [INFO] [stdout] 55 | | }) [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/codegen/sb3.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | |this| Ok(self.serialize_expr(expr, this)?.with_empty_shadow()) [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/codegen/sb3.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | |this| Ok(self.serialize_expr(expr, this)?.without_shadow()) [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/codegen/sb3.rs:361:31 [INFO] [stdout] | [INFO] [stdout] 361 | var_name: var_name.into(), [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/codegen/sb3.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | Ok(Reporter::Block(this)) [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] | [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/codegen/sb3/expr.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | Ok(Reporter::Block(this)) [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/codegen/sb3/statement.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 308 | .map(|arg| Ok(self.serialize_expr(arg, this)?.with_empty_shadow())) [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/codegen/x86_64.rs:540:28 [INFO] [stdout] | [INFO] [stdout] 540 | list_name: name.into(), [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/ir.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_asts(asts: Vec) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut sprites = HashMap::::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let stage = [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Self { stage, sprites }) [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] | [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/ir/expr.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_ast(ast: Ast) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(match ast { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | Ast::Num(num, ..) => Self::Imm(Value::Num(num)), [INFO] [stdout] 37 | | Ast::Bool(b, ..) => Self::Imm(Value::Bool(b)), [INFO] [stdout] 38 | | Ast::String(s, ..) => Self::Imm(Value::String(s.into())), [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }) [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/ir/proc.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_asts(args: Vec) -> Result<(String, Self)> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | // TODO: Error handling [INFO] [stdout] 22 | let mut args = args.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let signature = args.next().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let (name, params) = parse_signature(signature)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let mut variables = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let mut lists = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | name, [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | params, [INFO] [stdout] ... | [INFO] [stdout] 48 | | }, [INFO] [stdout] 49 | | )) [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] | [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/ir/proc.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_signature(ast: Ast) -> Result<(String, Vec<(Expr, Span)>)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | // TODO: Error handling [INFO] [stdout] 59 | let Ast::Node(box Ast::Sym(name, ..), params, ..) = ast else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let params = params [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok((name, params)) [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] | [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/ir/proc.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|param| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let span = param.span(); [INFO] [stdout] 66 | Ok((Expr::from_ast(param)?, 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/ir/sprite.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_ast(ast: Ast) -> Result<(String, Self)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let (mut tail, span) = match ast { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ast::Node(box Ast::Sym("sprite", ..), tail, span) => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let mut variables = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut lists = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut procedures = HashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | name, [INFO] [stdout] 72 | | Self { [INFO] [stdout] 73 | | costumes, [INFO] [stdout] ... | [INFO] [stdout] 77 | | }, [INFO] [stdout] 78 | | )) [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/ir/statement.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ast(ast: Ast) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let Ast::Node(box Ast::Sym(sym, sym_span), tail, ..) = ast else { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut tail = tail.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(match &*sym { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | "do" => Self::Do(tail.map(Self::from_ast).collect::>()?), [INFO] [stdout] 57 | | "if" => { [INFO] [stdout] 58 | | let condition = tail.next().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 162 | | }, [INFO] [stdout] 163 | | }) [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/ir/statement.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 150 | |acc, (condition, then)| Self::IfElse { [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] 151 | condition, [INFO] [stdout] 152 | then: Box::new(then), [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/ir/statement.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 150 | |acc, (condition, then)| Self::IfElse { [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] 153 | else_: 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/macros.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn interpolate(body: Ast, bindings: &HashMap<&str, Ast>) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | Ok(match body { [INFO] [stdout] | ________^ [INFO] [stdout] 344 | | Ast::Unquote(box Ast::Sym(var_name, span), ..) => bindings [INFO] [stdout] 345 | | .get(&*var_name) [INFO] [stdout] 346 | | .ok_or(Error::UnknownMetavariable { span, var_name })? [INFO] [stdout] ... | [INFO] [stdout] 359 | | } [INFO] [stdout] 360 | | }) [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:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | let hex = based(16, &['x', 'X'], hex_digit1); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let binary = based(2, &['b', 'B'], take_while(1.., ['0', '1'])); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let octal = based(8, &['o', 'O'], oct_digit1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | / spanned(terminated( [INFO] [stdout] 34 | | alt((hex, binary, octal, float)), [INFO] [stdout] 35 | | not(sym_non_first_char), [INFO] [stdout] 36 | | )) [INFO] [stdout] 37 | | .map(|(span, num)| Ast::Num(num, 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/parser.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | digitp: impl Parser, &'a str, Error>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> impl Parser, f64, Error> { [INFO] [stdout] 46 | separated_pair(sign, ('0', one_of(prefix)), digitp).try_map( [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:112:5 [INFO] [stdout] | [INFO] [stdout] 75 | let normal = take_till(1.., ['\"', '\\', '\n']).map(Cow::Borrowed); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let null = terminated('0', not(digit1)).value(Cow::Borrowed("\0")); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let character_escape_sequence = dispatch! {any; [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let hex_escape_sequence = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let bracketed_unicode = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | delimited('{', take_while(1..=6, |c: char| c.is_ascii_hexdigit()), '}'); [INFO] [stdout] 96 | let unicode_escape_sequence = [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | preceded('u', alt((hex4digits, bracketed_unicode))); [INFO] [stdout] 98 | let escape_sequence = preceded( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let string_char = alt((normal, escape_sequence)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | [INFO] [stdout] 112 | / spanned(delimited('"', repeat(0.., string_char), '"')) [INFO] [stdout] 113 | | .map(|(span, strs): (_, Vec<_>)| Ast::String(strs.concat(), 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/parser.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | let content = (expr, repeat(0.., preceded(ws, expr))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | / spanned(delimited(('(', ws), content, (ws, ')'))) [INFO] [stdout] 147 | | .map(|(span, (first, rest))| Ast::Node(Box::new(first), rest, 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/parser.rs:147:48 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|(span, (first, rest))| Ast::Node(Box::new(first), rest, 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] | [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:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|(span, ast)| Ast::Unquote(Box::new(ast), 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] | [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 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratch-compiler` (bin "scratch-compiler") due to 26 previous errors [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:39:26 [INFO] [stdout] | [INFO] [stdout] 38 | .map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Box::new(diagnostic::Error::FailedToReadSourceCode { [INFO] [stdout] | __________________________^ [INFO] [stdout] 40 | | inner: err, [INFO] [stdout] 41 | | }) [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/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn all_symbols(asts: Vec) -> Result, Ast> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | / asts.into_iter() [INFO] [stdout] 52 | | .map(|ast| match ast { [INFO] [stdout] 53 | | Ast::Sym(sym, ..) => Ok(sym), [INFO] [stdout] 54 | | _ => Err(ast), [INFO] [stdout] 55 | | }) [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/codegen/sb3.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | |this| Ok(self.serialize_expr(expr, this)?.with_empty_shadow()) [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/codegen/sb3.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | |this| Ok(self.serialize_expr(expr, this)?.without_shadow()) [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/codegen/sb3.rs:361:31 [INFO] [stdout] | [INFO] [stdout] 361 | var_name: var_name.into(), [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/codegen/sb3.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | Ok(Reporter::Block(this)) [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] | [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/codegen/sb3/expr.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | Ok(Reporter::Block(this)) [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/codegen/sb3/statement.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 308 | .map(|arg| Ok(self.serialize_expr(arg, this)?.with_empty_shadow())) [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/codegen/x86_64.rs:540:28 [INFO] [stdout] | [INFO] [stdout] 540 | list_name: name.into(), [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/ir.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_asts(asts: Vec) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let mut sprites = HashMap::::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let stage = [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Self { stage, sprites }) [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] | [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/ir/expr.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_ast(ast: Ast) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(match ast { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | Ast::Num(num, ..) => Self::Imm(Value::Num(num)), [INFO] [stdout] 37 | | Ast::Bool(b, ..) => Self::Imm(Value::Bool(b)), [INFO] [stdout] 38 | | Ast::String(s, ..) => Self::Imm(Value::String(s.into())), [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }) [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/ir/proc.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_asts(args: Vec) -> Result<(String, Self)> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | // TODO: Error handling [INFO] [stdout] 22 | let mut args = args.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let signature = args.next().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let (name, params) = parse_signature(signature)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let mut variables = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let mut lists = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | name, [INFO] [stdout] 43 | | Self { [INFO] [stdout] 44 | | params, [INFO] [stdout] ... | [INFO] [stdout] 48 | | }, [INFO] [stdout] 49 | | )) [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] | [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/ir/proc.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse_signature(ast: Ast) -> Result<(String, Vec<(Expr, Span)>)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | // TODO: Error handling [INFO] [stdout] 59 | let Ast::Node(box Ast::Sym(name, ..), params, ..) = ast else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let params = params [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok((name, params)) [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] | [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/ir/proc.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|param| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let span = param.span(); [INFO] [stdout] 66 | Ok((Expr::from_ast(param)?, 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/ir/sprite.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_ast(ast: Ast) -> Result<(String, Self)> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let (mut tail, span) = match ast { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ast::Node(box Ast::Sym("sprite", ..), tail, span) => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let mut variables = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut lists = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut procedures = HashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | name, [INFO] [stdout] 72 | | Self { [INFO] [stdout] 73 | | costumes, [INFO] [stdout] ... | [INFO] [stdout] 77 | | }, [INFO] [stdout] 78 | | )) [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/ir/statement.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_ast(ast: Ast) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let Ast::Node(box Ast::Sym(sym, sym_span), tail, ..) = ast else { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut tail = tail.into_iter(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(match &*sym { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | "do" => Self::Do(tail.map(Self::from_ast).collect::>()?), [INFO] [stdout] 57 | | "if" => { [INFO] [stdout] 58 | | let condition = tail.next().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 162 | | }, [INFO] [stdout] 163 | | }) [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/ir/statement.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 150 | |acc, (condition, then)| Self::IfElse { [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] 151 | condition, [INFO] [stdout] 152 | then: Box::new(then), [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/ir/statement.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 150 | |acc, (condition, then)| Self::IfElse { [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] 153 | else_: 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/macros.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 342 | fn interpolate(body: Ast, bindings: &HashMap<&str, Ast>) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | Ok(match body { [INFO] [stdout] | ________^ [INFO] [stdout] 344 | | Ast::Unquote(box Ast::Sym(var_name, span), ..) => bindings [INFO] [stdout] 345 | | .get(&*var_name) [INFO] [stdout] 346 | | .ok_or(Error::UnknownMetavariable { span, var_name })? [INFO] [stdout] ... | [INFO] [stdout] 359 | | } [INFO] [stdout] 360 | | }) [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:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | let hex = based(16, &['x', 'X'], hex_digit1); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let binary = based(2, &['b', 'B'], take_while(1.., ['0', '1'])); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let octal = based(8, &['o', 'O'], oct_digit1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | [INFO] [stdout] 33 | / spanned(terminated( [INFO] [stdout] 34 | | alt((hex, binary, octal, float)), [INFO] [stdout] 35 | | not(sym_non_first_char), [INFO] [stdout] 36 | | )) [INFO] [stdout] 37 | | .map(|(span, num)| Ast::Num(num, 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/parser.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | digitp: impl Parser, &'a str, Error>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | ) -> impl Parser, f64, Error> { [INFO] [stdout] 46 | separated_pair(sign, ('0', one_of(prefix)), digitp).try_map( [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:112:5 [INFO] [stdout] | [INFO] [stdout] 75 | let normal = take_till(1.., ['\"', '\\', '\n']).map(Cow::Borrowed); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let null = terminated('0', not(digit1)).value(Cow::Borrowed("\0")); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let character_escape_sequence = dispatch! {any; [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let hex_escape_sequence = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let bracketed_unicode = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | delimited('{', take_while(1..=6, |c: char| c.is_ascii_hexdigit()), '}'); [INFO] [stdout] 96 | let unicode_escape_sequence = [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | preceded('u', alt((hex4digits, bracketed_unicode))); [INFO] [stdout] 98 | let escape_sequence = preceded( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let string_char = alt((normal, escape_sequence)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | [INFO] [stdout] 112 | / spanned(delimited('"', repeat(0.., string_char), '"')) [INFO] [stdout] 113 | | .map(|(span, strs): (_, Vec<_>)| Ast::String(strs.concat(), 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/parser.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | let content = (expr, repeat(0.., preceded(ws, expr))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | / spanned(delimited(('(', ws), content, (ws, ')'))) [INFO] [stdout] 147 | | .map(|(span, (first, rest))| Ast::Node(Box::new(first), rest, 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/parser.rs:147:48 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|(span, (first, rest))| Ast::Node(Box::new(first), rest, 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] | [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:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|(span, ast)| Ast::Unquote(Box::new(ast), 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] | [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 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratch-compiler` (bin "scratch-compiler" test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "da4886fdaff340cd4703383ab180ce3030cf4a1e9c8f2a663c06d37fffa277f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da4886fdaff340cd4703383ab180ce3030cf4a1e9c8f2a663c06d37fffa277f3", kill_on_drop: false }` [INFO] [stdout] da4886fdaff340cd4703383ab180ce3030cf4a1e9c8f2a663c06d37fffa277f3