[INFO] fetching crate key-lang 0.1.1... [INFO] checking key-lang-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate key-lang 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate key-lang 0.1.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 key-lang 0.1.1 [INFO] finished tweaking crates.io crate key-lang 0.1.1 [INFO] tweaked toml for crates.io crate key-lang 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate key-lang 0.1.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84cd85d06f4e6a45649f6f3b38cb0398e8bfca498abc0859eb6be5a38f2dc11e [INFO] running `Command { std: "docker" "start" "-a" "84cd85d06f4e6a45649f6f3b38cb0398e8bfca498abc0859eb6be5a38f2dc11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84cd85d06f4e6a45649f6f3b38cb0398e8bfca498abc0859eb6be5a38f2dc11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84cd85d06f4e6a45649f6f3b38cb0398e8bfca498abc0859eb6be5a38f2dc11e", kill_on_drop: false }` [INFO] [stdout] 84cd85d06f4e6a45649f6f3b38cb0398e8bfca498abc0859eb6be5a38f2dc11e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2dbe7357514b41df50175076e8d18116cfde45baffe22b55ac5cd559644fe8d [INFO] running `Command { std: "docker" "start" "-a" "a2dbe7357514b41df50175076e8d18116cfde45baffe22b55ac5cd559644fe8d", kill_on_drop: false }` [INFO] [stderr] Checking key-lang v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/scan/stmt.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(addr_of_mut!(crate::PLACE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/scan/stmt.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(addr_of_mut!(crate::PLACE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/kstd.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(addr_of_mut!(crate::PLACE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/kstd.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(addr_of_mut!(crate::PLACE)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/mod.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = &mut CLASSES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = addr_of_mut!(CLASSES) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {&mut GLOBAL_OPTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {addr_of_mut!(GLOBAL_OPTIONS)}; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/mod.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = &mut CLASSES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = addr_of_mut!(CLASSES) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {&mut GLOBAL_OPTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {addr_of_mut!(GLOBAL_OPTIONS)}; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/stmt.rs:444:31 [INFO] [stdout] | [INFO] [stdout] 383 | let mut methods = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 384 | let mut statics = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 444 | Stmt::Class(Box::into_raw(Box::new(ClassDefRaw { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 445 | | name:intern(id), props, methods, statics [INFO] [stdout] 446 | | }))) [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/scan/stmt.rs:542:38 [INFO] [stdout] | [INFO] [stdout] 531 | let condition = self.expr(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | let exec = Box::new(self.stmt()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 542 | Stmt::If { condition, exec, els: None } [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/runtime/mod.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 254 | let vars = crate::primitive::kstd::prelude(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Scope::new(ScopeInner { [INFO] [stdout] | ______________^ [INFO] [stdout] 258 | | parent: None, [INFO] [stdout] 259 | | return_to, [INFO] [stdout] 260 | | class_uses, [INFO] [stdout] ... | [INFO] [stdout] 266 | | ended: false [INFO] [stdout] 267 | | }) [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/runtime/evil.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | start_loop(*self, ||cond(self.calc(condition)), exec), [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 743 | b"-=" => impl_num_assign!(-), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 744 | b"*=" => impl_num_assign!(*), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 745 | b"/=" => impl_num_assign!(/), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | b"%=" => impl_num_assign!(%), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | b"&=" => impl_unsigned_assign!(&), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | b"^=" => impl_unsigned_assign!(^), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | b"|=" => impl_unsigned_assign!(|), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | b"<<=" => impl_unsigned_assign!(<<), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | b">>=" => impl_unsigned_assign!(>>), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/primitive/buf.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | v.dedup_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 116 | | CalcRef::Own(Litr::Uint(*a as usize)), CalcRef::Own(Litr::Uint(*b as usize)) [INFO] [stdout] 117 | | ], f) { [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/primitive/buf.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | v.sort_unstable_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 137 | | CalcRef::Own(Litr::Uint(*a as usize)), CalcRef::Own(Litr::Uint(*b as usize)) [INFO] [stdout] 138 | | ], f) { [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/primitive/buf.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | Litr::Buf(v.iter().map(|a| match scope.call(vec![ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 170 | | CalcRef::Own(Litr::Uint(*a as usize)) [INFO] [stdout] 171 | | ], f) { [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/primitive/buf.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | *v = v.iter().map(|a| match scope.call(vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 185 | | CalcRef::Own(Litr::Uint(*a as usize)) [INFO] [stdout] 186 | | ], f) { [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/primitive/buf.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | v.retain(|a|match scope.call( [INFO] [stdout] | _____________________^ [INFO] [stdout] 249 | | vec![CalcRef::Own(Litr::Uint(*a as usize))], f [INFO] [stdout] 250 | | ) { [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/primitive/buf.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | Litr::Buf(v.iter().filter_map(|&a|match scope.call( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 265 | | vec![CalcRef::Own(Litr::Uint(a as usize))], f [INFO] [stdout] 266 | | ) { [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/primitive/buf.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 415 | fn splice(v:&mut Vec, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | Litr::Buf(match &**args.get(2).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/buf.rs:597:15 [INFO] [stdout] | [INFO] [stdout] 597 | match scope.call(vec![CalcRef::Own(Litr::Uint(*n as usize))], f) { [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/primitive/buf.rs:618:15 [INFO] [stdout] | [INFO] [stdout] 618 | match scope.call(vec![CalcRef::Own(Litr::Uint(*n as usize))], f) { [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/primitive/buf.rs:641:11 [INFO] [stdout] | [INFO] [stdout] 641 | match scope.call(vec![CalcRef::Own(Litr::Uint(*n as usize))], f) { [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/primitive/buf.rs:665:11 [INFO] [stdout] | [INFO] [stdout] 665 | match scope.call(vec![CalcRef::Own(Litr::Uint(**n as usize))], f) { [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/primitive/buf.rs:840:13 [INFO] [stdout] | [INFO] [stdout] 837 | fn s_from_iter(mut args:Vec, _cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 838 | let from = args.get_mut(0).expect("Buf::from_iter需要一个允许迭代的元素"); [INFO] [stdout] 839 | let itr = iter::LitrIterator::new(&mut **from); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 840 | Litr::Buf(itr.map(|n|to_u8(&n)).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | v.dedup_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 80 | | CalcRef::Ref(a), CalcRef::Ref(b) [INFO] [stdout] 81 | | ], f) { [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/primitive/list.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | v.sort_unstable_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 101 | | CalcRef::Own(a.clone()), CalcRef::Own(b.clone()) [INFO] [stdout] 102 | | ], f) { [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/primitive/list.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 129 | fn map_clone(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Litr::List(v.iter_mut() [INFO] [stdout] | ______________^ [INFO] [stdout] 135 | | .map(|a| scope.call(vec![CalcRef::Ref(a)], f) ).collect()) [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | v.retain_mut(|a|match scope.call( [INFO] [stdout] | _________________________^ [INFO] [stdout] 203 | | vec![CalcRef::Ref(a)], f [INFO] [stdout] 204 | | ) { [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/primitive/list.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 212 | fn filter_clone(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | Litr::List(v.iter_mut().filter_map(|a|match scope.call( [INFO] [stdout] | ______________^ [INFO] [stdout] 219 | | vec![CalcRef::Ref(a)], f [INFO] [stdout] 220 | | ) { [INFO] [stdout] 221 | | Litr::Bool(b)=> b.then(||a.clone()), [INFO] [stdout] 222 | | _=> None [INFO] [stdout] 223 | | }).collect()) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | Litr::List(v.iter_mut().filter_map(|a|match scope.call( [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 219 | | vec![CalcRef::Ref(a)], f [INFO] [stdout] 220 | | ) { [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/primitive/list.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 300 | fn splice(v:&mut Vec, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | Litr::List(match &**args.get(2).unwrap() { [INFO] [stdout] | ______________^ [INFO] [stdout] 308 | | Litr::Buf(b)=> [INFO] [stdout] 309 | | v.splice(start..end, b.iter().map(|n|Litr::Uint(*n as usize))).collect(), [INFO] [stdout] 310 | | Litr::List(b)=> [INFO] [stdout] ... | [INFO] [stdout] 313 | | v.splice(start..end, [n.clone()].into_iter()).collect() [INFO] [stdout] 314 | | }) [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/primitive/list.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 454 | fn slice_clone(v:&mut Vec, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | Litr::List(v[start..end].to_vec()) [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/primitive/list.rs:505:14 [INFO] [stdout] | [INFO] [stdout] 495 | fn find(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | res.map_or(Litr::Uninit, |n|v[n].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/primitive/list.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | match scope.call(vec![CalcRef::Ref(n)], f) { [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/primitive/list.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 509 | fn r_find(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 519 | res.map_or(Litr::Uninit, |n|v[v.len() - n - 1].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/primitive/list.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | match scope.call(vec![CalcRef::Ref(n)], f) { [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/primitive/list.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | match scope.call(vec![CalcRef::Ref(n)], f) { [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/primitive/list.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 587 | fn s_from_iter(mut args:Vec, _cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 588 | let from = args.get_mut(0).expect("List::from_iter需要一个可迭代的元素"); [INFO] [stdout] 589 | Litr::List(iter::LitrIterator::new(&mut **from).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/kstr.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 196 | fn split(s:&mut String, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | s.split(with).map(|s|Litr::Str(s.to_string())).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/obj.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 39 | fn set(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let elem = args.get(1).map_or(Litr::Uninit, |v|(**v).clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | v.insert(name, elem).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn set(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let elem = args.get(1).map_or(Litr::Uninit, |v|(**v).clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | v.insert(name, elem).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 49 | fn remove(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | v.remove(&name).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn remove(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | v.remove(&name).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn get(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | v.get(&name).map_or(Litr::Uninit, |n|n.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/primitive/obj.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | o.extend(other.iter().map(|(k,v)|(*k, v.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/primitive/obj.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 252 | fn s_new(args:Vec,_cx:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Litr::Obj(if let Some(n) = args.get(0) { [INFO] [stdout] | _____________^ [INFO] [stdout] 254 | | HashMap::with_capacity(match &**n { [INFO] [stdout] 255 | | Litr::Uint(n)=> *n, [INFO] [stdout] 256 | | Litr::Int(n)=> *n as usize, [INFO] [stdout] 257 | | _=> 0 [INFO] [stdout] 258 | | }) [INFO] [stdout] 259 | | }else {HashMap::new()}) [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/primitive/func.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn clone_here(f:&Function, mut args:Vec, mut cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Litr::Func(match f { [INFO] [stdout] | ______________^ [INFO] [stdout] 34 | | Function::Local(f)=> Function::Local(LocalFunc::new(f.ptr, cx)), [INFO] [stdout] 35 | | // 如果不是local就正常调用 [INFO] [stdout] 36 | | _=> f.clone() [INFO] [stdout] 37 | | }) [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/primitive/func.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn clone_top(f:&Function, mut args:Vec, mut cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Litr::Func(match f { [INFO] [stdout] | ______________^ [INFO] [stdout] 63 | | Function::Local(f)=> Function::Local(LocalFunc::new(f.ptr, cx)), [INFO] [stdout] 64 | | // 如果不是local就正常调用 [INFO] [stdout] 65 | | _=> f.clone() [INFO] [stdout] 66 | | }) [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/primitive/func.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 75 | fn s_new(mut s:Vec, cx:Scope)-> Litr { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut itr = s.iter_mut(); [INFO] [stdout] 77 | let stmts = match itr.next() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let argdecl = match itr.next() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Litr::Func(Function::Local(LocalFunc::new(Box::into_raw(Box::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 99 | | LocalFuncRaw {argdecl, stmts} [INFO] [stdout] 100 | | )),cx))) [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 50 previous errors; 4 warnings emitted [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/scan/stmt.rs:444:31 [INFO] [stdout] | [INFO] [stdout] 383 | let mut methods = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 384 | let mut statics = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 444 | Stmt::Class(Box::into_raw(Box::new(ClassDefRaw { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 445 | | name:intern(id), props, methods, statics [INFO] [stdout] 446 | | }))) [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/scan/stmt.rs:542:38 [INFO] [stdout] | [INFO] [stdout] 531 | let condition = self.expr(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | let exec = Box::new(self.stmt()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 542 | Stmt::If { condition, exec, els: None } [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/runtime/mod.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 254 | let vars = crate::primitive::kstd::prelude(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Scope::new(ScopeInner { [INFO] [stdout] | ______________^ [INFO] [stdout] 258 | | parent: None, [INFO] [stdout] 259 | | return_to, [INFO] [stdout] 260 | | class_uses, [INFO] [stdout] ... | [INFO] [stdout] 266 | | ended: false [INFO] [stdout] 267 | | }) [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/runtime/evil.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | start_loop(*self, ||cond(self.calc(condition)), exec), [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 743 | b"-=" => impl_num_assign!(-), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 744 | b"*=" => impl_num_assign!(*), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 745 | b"/=" => impl_num_assign!(/), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:681:15 [INFO] [stdout] | [INFO] [stdout] 679 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | // 将Int自动转为对应类型 [INFO] [stdout] 681 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | b"%=" => impl_num_assign!(%), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_num_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | b"&=" => impl_unsigned_assign!(&), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | b"^=" => impl_unsigned_assign!(^), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | b"|=" => impl_unsigned_assign!(|), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | b"<<=" => impl_unsigned_assign!(<<), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/runtime/calc.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 699 | let right = this.calc(right); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 700 | // 数字默认为Int,所以弄个Int自动转换 [INFO] [stdout] 701 | match (left, right) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | b">>=" => impl_unsigned_assign!(>>), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_unsigned_assign` (in Nightly builds, run with -Z macro-backtrace for more info) [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/primitive/buf.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | v.dedup_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 116 | | CalcRef::Own(Litr::Uint(*a as usize)), CalcRef::Own(Litr::Uint(*b as usize)) [INFO] [stdout] 117 | | ], f) { [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/primitive/buf.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | v.sort_unstable_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 137 | | CalcRef::Own(Litr::Uint(*a as usize)), CalcRef::Own(Litr::Uint(*b as usize)) [INFO] [stdout] 138 | | ], f) { [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/primitive/buf.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | Litr::Buf(v.iter().map(|a| match scope.call(vec![ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 170 | | CalcRef::Own(Litr::Uint(*a as usize)) [INFO] [stdout] 171 | | ], f) { [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/primitive/buf.rs:184:31 [INFO] [stdout] | [INFO] [stdout] 184 | *v = v.iter().map(|a| match scope.call(vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 185 | | CalcRef::Own(Litr::Uint(*a as usize)) [INFO] [stdout] 186 | | ], f) { [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/primitive/buf.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | v.retain(|a|match scope.call( [INFO] [stdout] | _____________________^ [INFO] [stdout] 249 | | vec![CalcRef::Own(Litr::Uint(*a as usize))], f [INFO] [stdout] 250 | | ) { [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/primitive/buf.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | Litr::Buf(v.iter().filter_map(|&a|match scope.call( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 265 | | vec![CalcRef::Own(Litr::Uint(a as usize))], f [INFO] [stdout] 266 | | ) { [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/primitive/buf.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 415 | fn splice(v:&mut Vec, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | Litr::Buf(match &**args.get(2).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `key-lang` (bin "key-lang" test) due to 51 previous errors; 4 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/buf.rs:597:15 [INFO] [stdout] | [INFO] [stdout] 597 | match scope.call(vec![CalcRef::Own(Litr::Uint(*n as usize))], f) { [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] [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/primitive/buf.rs:618:15 [INFO] [stdout] | [INFO] [stdout] 618 | match scope.call(vec![CalcRef::Own(Litr::Uint(*n as usize))], f) { [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/primitive/buf.rs:641:11 [INFO] [stdout] | [INFO] [stdout] 641 | match scope.call(vec![CalcRef::Own(Litr::Uint(*n as usize))], f) { [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/primitive/buf.rs:665:11 [INFO] [stdout] | [INFO] [stdout] 665 | match scope.call(vec![CalcRef::Own(Litr::Uint(**n as usize))], f) { [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/primitive/buf.rs:840:13 [INFO] [stdout] | [INFO] [stdout] 837 | fn s_from_iter(mut args:Vec, _cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 838 | let from = args.get_mut(0).expect("Buf::from_iter需要一个允许迭代的元素"); [INFO] [stdout] 839 | let itr = iter::LitrIterator::new(&mut **from); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 840 | Litr::Buf(itr.map(|n|to_u8(&n)).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | v.dedup_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 80 | | CalcRef::Ref(a), CalcRef::Ref(b) [INFO] [stdout] 81 | | ], f) { [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/primitive/list.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | v.sort_unstable_by(|a,b| match scope.call(vec![ [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 101 | | CalcRef::Own(a.clone()), CalcRef::Own(b.clone()) [INFO] [stdout] 102 | | ], f) { [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/primitive/list.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 129 | fn map_clone(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Litr::List(v.iter_mut() [INFO] [stdout] | ______________^ [INFO] [stdout] 135 | | .map(|a| scope.call(vec![CalcRef::Ref(a)], f) ).collect()) [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | v.retain_mut(|a|match scope.call( [INFO] [stdout] | _________________________^ [INFO] [stdout] 203 | | vec![CalcRef::Ref(a)], f [INFO] [stdout] 204 | | ) { [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/primitive/list.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 212 | fn filter_clone(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | Litr::List(v.iter_mut().filter_map(|a|match scope.call( [INFO] [stdout] | ______________^ [INFO] [stdout] 219 | | vec![CalcRef::Ref(a)], f [INFO] [stdout] 220 | | ) { [INFO] [stdout] 221 | | Litr::Bool(b)=> b.then(||a.clone()), [INFO] [stdout] 222 | | _=> None [INFO] [stdout] 223 | | }).collect()) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | Litr::List(v.iter_mut().filter_map(|a|match scope.call( [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 219 | | vec![CalcRef::Ref(a)], f [INFO] [stdout] 220 | | ) { [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/primitive/list.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 300 | fn splice(v:&mut Vec, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | Litr::List(match &**args.get(2).unwrap() { [INFO] [stdout] | ______________^ [INFO] [stdout] 308 | | Litr::Buf(b)=> [INFO] [stdout] 309 | | v.splice(start..end, b.iter().map(|n|Litr::Uint(*n as usize))).collect(), [INFO] [stdout] 310 | | Litr::List(b)=> [INFO] [stdout] ... | [INFO] [stdout] 313 | | v.splice(start..end, [n.clone()].into_iter()).collect() [INFO] [stdout] 314 | | }) [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/primitive/list.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 454 | fn slice_clone(v:&mut Vec, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | Litr::List(v[start..end].to_vec()) [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/primitive/list.rs:505:14 [INFO] [stdout] | [INFO] [stdout] 495 | fn find(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | res.map_or(Litr::Uninit, |n|v[n].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/primitive/list.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | match scope.call(vec![CalcRef::Ref(n)], f) { [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/primitive/list.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 509 | fn r_find(v:&mut Vec, args:Vec, scope:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 519 | res.map_or(Litr::Uninit, |n|v[v.len() - n - 1].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/primitive/list.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | match scope.call(vec![CalcRef::Ref(n)], f) { [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/primitive/list.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | match scope.call(vec![CalcRef::Ref(n)], f) { [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/primitive/list.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 587 | fn s_from_iter(mut args:Vec, _cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 588 | let from = args.get_mut(0).expect("List::from_iter需要一个可迭代的元素"); [INFO] [stdout] 589 | Litr::List(iter::LitrIterator::new(&mut **from).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/kstr.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 196 | fn split(s:&mut String, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | s.split(with).map(|s|Litr::Str(s.to_string())).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/obj.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 39 | fn set(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let elem = args.get(1).map_or(Litr::Uninit, |v|(**v).clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | v.insert(name, elem).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn set(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let elem = args.get(1).map_or(Litr::Uninit, |v|(**v).clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | v.insert(name, elem).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 49 | fn remove(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | v.remove(&name).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn remove(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | v.remove(&name).unwrap_or(Litr::Uninit) [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/primitive/obj.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn get(v:&mut HashMap, args:Vec)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | v.get(&name).map_or(Litr::Uninit, |n|n.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/primitive/obj.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | o.extend(other.iter().map(|(k,v)|(*k, v.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/primitive/obj.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 252 | fn s_new(args:Vec,_cx:Scope)-> Litr { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Litr::Obj(if let Some(n) = args.get(0) { [INFO] [stdout] | _____________^ [INFO] [stdout] 254 | | HashMap::with_capacity(match &**n { [INFO] [stdout] 255 | | Litr::Uint(n)=> *n, [INFO] [stdout] 256 | | Litr::Int(n)=> *n as usize, [INFO] [stdout] 257 | | _=> 0 [INFO] [stdout] 258 | | }) [INFO] [stdout] 259 | | }else {HashMap::new()}) [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/primitive/func.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn clone_here(f:&Function, mut args:Vec, mut cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Litr::Func(match f { [INFO] [stdout] | ______________^ [INFO] [stdout] 34 | | Function::Local(f)=> Function::Local(LocalFunc::new(f.ptr, cx)), [INFO] [stdout] 35 | | // 如果不是local就正常调用 [INFO] [stdout] 36 | | _=> f.clone() [INFO] [stdout] 37 | | }) [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/primitive/func.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn clone_top(f:&Function, mut args:Vec, mut cx:Scope)-> Litr { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Litr::Func(match f { [INFO] [stdout] | ______________^ [INFO] [stdout] 63 | | Function::Local(f)=> Function::Local(LocalFunc::new(f.ptr, cx)), [INFO] [stdout] 64 | | // 如果不是local就正常调用 [INFO] [stdout] 65 | | _=> f.clone() [INFO] [stdout] 66 | | }) [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/primitive/func.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 75 | fn s_new(mut s:Vec, cx:Scope)-> Litr { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut itr = s.iter_mut(); [INFO] [stdout] 77 | let stmts = match itr.next() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let argdecl = match itr.next() { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Litr::Func(Function::Local(LocalFunc::new(Box::into_raw(Box::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 99 | | LocalFuncRaw {argdecl, stmts} [INFO] [stdout] 100 | | )),cx))) [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 50 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `key-lang` (bin "key-lang") due to 51 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2dbe7357514b41df50175076e8d18116cfde45baffe22b55ac5cd559644fe8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2dbe7357514b41df50175076e8d18116cfde45baffe22b55ac5cd559644fe8d", kill_on_drop: false }` [INFO] [stdout] a2dbe7357514b41df50175076e8d18116cfde45baffe22b55ac5cd559644fe8d