[INFO] cloning repository https://github.com/SuperTails/langcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperTails/langcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTails%2Flangcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperTails%2Flangcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cc84a1e4337896f224a27fb485b0ceb25f7408b [INFO] checking SuperTails/langcraft/4cc84a1e4337896f224a27fb485b0ceb25f7408b 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%2FSuperTails%2Flangcraft" "/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/SuperTails/langcraft 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 git repo https://github.com/SuperTails/langcraft [INFO] finished tweaking git repo https://github.com/SuperTails/langcraft [INFO] tweaked toml for git repo https://github.com/SuperTails/langcraft written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SuperTails/langcraft 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] ee0fe49c8ed7b2b170d2b0896fae0caec56fa6697c7c48222d445c4270fe6236 [INFO] running `Command { std: "docker" "start" "-a" "ee0fe49c8ed7b2b170d2b0896fae0caec56fa6697c7c48222d445c4270fe6236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee0fe49c8ed7b2b170d2b0896fae0caec56fa6697c7c48222d445c4270fe6236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0fe49c8ed7b2b170d2b0896fae0caec56fa6697c7c48222d445c4270fe6236", kill_on_drop: false }` [INFO] [stdout] ee0fe49c8ed7b2b170d2b0896fae0caec56fa6697c7c48222d445c4270fe6236 [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] 8b766e7c95dec96f4491de9cfbf2eb5cbbc24938471acbd0458e0d17599feaba [INFO] running `Command { std: "docker" "start" "-a" "8b766e7c95dec96f4491de9cfbf2eb5cbbc24938471acbd0458e0d17599feaba", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling llvm-ir v0.7.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling llvm-sys v100.2.0 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Checking serde_with v1.4.0 [INFO] [stderr] Checking langcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/compile_ir.rs:1656:30 [INFO] [stdout] | [INFO] [stdout] 1656 | } else if let Some(((d, s), len)) = dest_align.zip(src_align).zip(as_const_32(len)).filter(|((d, s), _)| d % 4 == 0 && s % 4 == 0) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/compile_ir.rs:1656:33 [INFO] [stdout] | [INFO] [stdout] 1656 | } else if let Some(((d, s), len)) = dest_align.zip(src_align).zip(as_const_32(len)).filter(|((d, s), _)| d % 4 == 0 && s % 4 == 0) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/compile_ir.rs:2064:36 [INFO] [stdout] | [INFO] [stdout] 2064 | if let Type::IntegerType { bits } = &*op0_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compile_ir.rs:2127:17 [INFO] [stdout] | [INFO] [stdout] 2127 | if let Some(value) = as_const_64(operand1) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/compile_ir.rs:2131:36 [INFO] [stdout] | [INFO] [stdout] 2131 | if let Type::IntegerType { bits } = &*op0_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/compile_ir.rs:1656:30 [INFO] [stdout] | [INFO] [stdout] 1656 | } else if let Some(((d, s), len)) = dest_align.zip(src_align).zip(as_const_32(len)).filter(|((d, s), _)| d % 4 == 0 && s % 4 == 0) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/compile_ir.rs:1656:33 [INFO] [stdout] | [INFO] [stdout] 1656 | } else if let Some(((d, s), len)) = dest_align.zip(src_align).zip(as_const_32(len)).filter(|((d, s), _)| d % 4 == 0 && s % 4 == 0) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/compile_ir.rs:2064:36 [INFO] [stdout] | [INFO] [stdout] 2064 | if let Type::IntegerType { bits } = &*op0_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compile_ir.rs:2127:17 [INFO] [stdout] | [INFO] [stdout] 2127 | if let Some(value) = as_const_64(operand1) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/compile_ir.rs:2131:36 [INFO] [stdout] | [INFO] [stdout] 2131 | if let Type::IntegerType { bits } = &*op0_type { [INFO] [stdout] | ^^^^ help: try ignoring the field: `bits: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dest_pos` is assigned to, but never used [INFO] [stdout] --> src/interpreter.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | let mut dest_pos = pos; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dest_pos` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dest_pos` is never read [INFO] [stdout] --> src/interpreter.rs:961:21 [INFO] [stdout] | [INFO] [stdout] 961 | dest_pos = match target.to_string().as_str() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_dests` and `get_cond_dest` are never used [INFO] [stdout] --> src/analysis.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AbstractBlock { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn all_dests(&self, func_starts: &HashMap) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_cond_dest(&self) -> Option<(ScoreHolder, FunctionId, FunctionId)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_call_cycle` is never used [INFO] [stdout] --> src/analysis.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) fn has_call_cycle(funcs: &[&Function], index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_call_cycle_inner` is never used [INFO] [stdout] --> src/analysis.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn has_call_cycle_inner(funcs: &[&Function], index: usize, visited: &mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockTree` is never used [INFO] [stdout] --> src/analysis.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | pub(crate) type BlockTree<'a> = (DiGraph, BlockEdge>, NodeIndex); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainNode` is never constructed [INFO] [stdout] --> src/analysis.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 308 | pub(crate) struct ChainNode<'a> { [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/lib.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | .find(|(_, f)| f.id == FunctionId::new("run")) [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/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 32 | let mut functions = compile_bc(path, build_opts)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Datapack { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | functions, [INFO] [stdout] 37 | | description: "Compiled datapack from Langcraft".into(), [INFO] [stdout] 38 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cir.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn new(name: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | Self::new_sub(name, Name::Number(0), 0) [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/cir.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 489 | let block = if let Some(idx) = s.find("-block") { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | let block = if let Ok(num) = s[idx + 6..].parse() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 503 | Ok(FunctionId { [INFO] [stdout] | ____________^ [INFO] [stdout] 504 | | name, [INFO] [stdout] 505 | | block, [INFO] [stdout] 506 | | sub, [INFO] [stdout] 507 | | }) [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/cir.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn from_str(id: FunctionId, cmds: &str) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 538 | let cmds = cmds [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | Ok(Function { id, cmds }) [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/cir.rs:1058:9 [INFO] [stdout] | [INFO] [stdout] 1057 | let message = serde_json::from_str(self.tail).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1058 | Tellraw { target, message }.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/cir.rs:1446:26 [INFO] [stdout] | [INFO] [stdout] 1445 | fn from(t: Tellraw) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1446 | Command::Tellraw(Box::new(t)) [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/cir/raw_text.rs:195:73 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/cir/raw_text.rs:241:58 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Debug, PartialEq, PartialOrd, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/compile_ir.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn save_regs(regs: T) -> Vec [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | let base_set = assign(stackbaseptr(), stackptr()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | [INFO] [stdout] 467 | / regs [INFO] [stdout] 468 | | .into_iter() [INFO] [stdout] 469 | | .chain(std::iter::once(stackbaseptr())) [INFO] [stdout] 470 | | .filter(|reg| { [INFO] [stdout] ... | [INFO] [stdout] 481 | | .flatten() [INFO] [stdout] 482 | | .chain(std::iter::once(base_set)) [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/compile_ir.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn load_regs(regs: T) -> Vec [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | let base_read = assign(stackptr(), stackbaseptr()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | [INFO] [stdout] 493 | / std::iter::once(base_read).chain( [INFO] [stdout] 494 | | regs [INFO] [stdout] 495 | | .into_iter() [INFO] [stdout] 496 | | .filter(|reg| { [INFO] [stdout] ... | [INFO] [stdout] 509 | | .flatten() [INFO] [stdout] 510 | | ).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/compile_ir.rs:527:22 [INFO] [stdout] | [INFO] [stdout] 527 | .map(|f| (f, compile_function(f, &globals, &module.types, options))) [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/compile_ir.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 572 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 579 | id: McFuncId::new("rust:__langcraft_return"), [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/compile_ir.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 585 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 604 | let mut cmd = Execute::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 636 | let mut on_invalid_1 = Execute::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | let mut on_invalid_2 = Execute::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | id: McFuncId::new("rust:__langcraft_call"), [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/compile_ir.rs:1045:38 [INFO] [stdout] | [INFO] [stdout] 1045 | let list = funcs.iter().map(|f| (f.id.clone(), 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/compile_ir.rs:1267:73 [INFO] [stdout] | [INFO] [stdout] 1267 | let values = element_types.iter().map(|et| ConstantRef::new(make_zeroed(et, tys))).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] warning: variable `dest_pos` is assigned to, but never used [INFO] [stdout] --> src/interpreter.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | let mut dest_pos = pos; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dest_pos` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compile_ir.rs:5934:14 [INFO] [stdout] | [INFO] [stdout] 4436 | let result = match instr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4447 | let (mut cmds, true_val) = eval_operand(true_value, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4448 | let (tmp, false_val) = eval_operand(false_value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4449 | cmds.extend(tmp); [INFO] [stdout] 4450 | let (tmp, cond) = eval_operand(condition, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4467 | let mut true_cmd = Execute::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4476 | let mut false_cmd = Execute::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4494 | let (mut cmds, addr) = eval_operand(address, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4504 | let write_cmds = match eval_maybe_const(value, globals, tys) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4505 | MaybeConst::Const(value) => vec![write_ptr_const(value)], [INFO] [stdout] 4506 | MaybeConst::NonConst(eval_cmds, ids) => { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4518 | for (idx, write_cmd) in write_cmds.into_iter().enumerate() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4537 | let (eval_cmds, value) = eval_operand(value, globals, tys); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4550 | let (eval_cmds, value) = eval_operand(value, globals, tys); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4592 | let (tmp, val) = eval_operand(value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4614 | let (tmp, val) = eval_operand(value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4661 | let addr_ty = address.get_type(tys); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4668 | let (mut cmds, addr) = eval_operand(address, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4787 | let (mut cmds, source0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4788 | let (tmp, source1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4847 | let (mut cmds, source0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4848 | let (tmp, source1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4918 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4919 | let (tmp_cmds, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4929 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4962 | let (mut cmds, target) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4963 | let (tmp_cmds, source) = eval_operand(operand1, globals, tys); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4990 | let mut hi_gt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4999 | let mut lo_gt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5024 | let mut hi_lt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5033 | let mut lo_lt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5130 | let conditionals = compile_normal_icmp(target[0].clone(), source[0].clone(), predicate, dest); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5177 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5191 | let (tmp, val) = eval_operand(value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5197 | let mut cmd = Execute::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5217 | let (mut cmds, source) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5247 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5261 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5291 | let (mut cmds, aggr) = eval_operand(aggregate, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5348 | let aggr_ty = aggregate.get_type(tys); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5366 | let (mut cmds, aggr) = eval_operand(aggregate, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5367 | let (tmp, elem) = eval_operand(element, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5384 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5418 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5435 | let mut on_one = Execute::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5440 | let mut on_zero = Execute::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5458 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5481 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5495 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5508 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5531 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5603 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5604 | [INFO] [stdout] 5605 | let (tmp, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5621 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5650 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5651 | let (tmp, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5663 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5699 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5723 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5742 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5743 | let (tmp, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5746 | let op0_ty = operand0.get_type(tys); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5759 | let mask_vals = match &**mask { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5771 | let dest_type = Type::VectorType { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5780 | for (dest, mask_idx) in dest.into_iter().zip(mask_vals.into_iter()) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5810 | for (dest_byte_idx, mask_idx) in mask_vals.into_iter().enumerate() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5852 | let element_type = if let Type::VectorType { element_type, .. } = &*vector.get_type(tys) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5861 | let (mut cmds, vec) = eval_operand(vector, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5893 | let element_type = if let Type::VectorType { element_type, .. } = &*vector.get_type(tys) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5906 | let (mut cmds, vec) = eval_operand(vector, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5907 | [INFO] [stdout] 5908 | let (tmp, elem) = eval_operand(element, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5934 | (result, None) [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dest_pos` is never read [INFO] [stdout] --> src/interpreter.rs:961:21 [INFO] [stdout] | [INFO] [stdout] 961 | dest_pos = match target.to_string().as_str() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compile_ir.rs:6017:48 [INFO] [stdout] | [INFO] [stdout] 6017 | if values.iter().all(|v| matches!(&*v.get_type(tys), Type::IntegerType { bits: 32 })) { [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/compile_ir.rs:6020:30 [INFO] [stdout] | [INFO] [stdout] 6020 | .map(|v| eval_constant(v, globals, tys).force_eval()) [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/compile_ir.rs:6024:26 [INFO] [stdout] | [INFO] [stdout] 6021 | .map(|(c, w)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 6024 | (c.into_iter().next().unwrap(), w.into_iter().next().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/interpreter.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_raw(program: Vec, input: &str) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | run_state: RunState::Chain { resume_cmd: None, cmd_1: None, cmd_2: None, idx: None, tick_queued: false, next_pos: (0, 0, 0) }, [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/intrinsics.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|(name, body)| Function::from_str(FunctionId::new(name.to_owned()), body).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/intrinsics.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | .find(|(_, f)| f.id == FunctionId::new(start_func)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `all_dests` and `get_cond_dest` are never used [INFO] [stdout] --> src/analysis.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AbstractBlock { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn all_dests(&self, func_starts: &HashMap) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_cond_dest(&self) -> Option<(ScoreHolder, FunctionId, FunctionId)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_call_cycle` is never used [INFO] [stdout] --> src/analysis.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) fn has_call_cycle(funcs: &[&Function], index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_call_cycle_inner` is never used [INFO] [stdout] --> src/analysis.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn has_call_cycle_inner(funcs: &[&Function], index: usize, visited: &mut HashSet) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockTree` is never used [INFO] [stdout] --> src/analysis.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | pub(crate) type BlockTree<'a> = (DiGraph, BlockEdge>, NodeIndex); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainNode` is never constructed [INFO] [stdout] --> src/analysis.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 308 | pub(crate) struct ChainNode<'a> { [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/lib.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | .find(|(_, f)| f.id == FunctionId::new("run")) [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/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 32 | let mut functions = compile_bc(path, build_opts)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Datapack { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | functions, [INFO] [stdout] 37 | | description: "Compiled datapack from Langcraft".into(), [INFO] [stdout] 38 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 12 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/cir.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn new(name: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | Self::new_sub(name, Name::Number(0), 0) [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/cir.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 489 | let block = if let Some(idx) = s.find("-block") { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | let block = if let Ok(num) = s[idx + 6..].parse() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 503 | Ok(FunctionId { [INFO] [stdout] | ____________^ [INFO] [stdout] 504 | | name, [INFO] [stdout] 505 | | block, [INFO] [stdout] 506 | | sub, [INFO] [stdout] 507 | | }) [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/cir.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn from_str(id: FunctionId, cmds: &str) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 538 | let cmds = cmds [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | Ok(Function { id, cmds }) [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/cir.rs:1058:9 [INFO] [stdout] | [INFO] [stdout] 1057 | let message = serde_json::from_str(self.tail).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1058 | Tellraw { target, message }.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/cir.rs:1446:26 [INFO] [stdout] | [INFO] [stdout] 1445 | fn from(t: Tellraw) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1446 | Command::Tellraw(Box::new(t)) [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/cir/raw_text.rs:195:73 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/cir/raw_text.rs:241:58 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Debug, PartialEq, PartialOrd, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/compile_ir.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn save_regs(regs: T) -> Vec [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | let base_set = assign(stackbaseptr(), stackptr()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | [INFO] [stdout] 467 | / regs [INFO] [stdout] 468 | | .into_iter() [INFO] [stdout] 469 | | .chain(std::iter::once(stackbaseptr())) [INFO] [stdout] 470 | | .filter(|reg| { [INFO] [stdout] ... | [INFO] [stdout] 481 | | .flatten() [INFO] [stdout] 482 | | .chain(std::iter::once(base_set)) [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/compile_ir.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn load_regs(regs: T) -> Vec [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | let base_read = assign(stackptr(), stackbaseptr()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | [INFO] [stdout] 493 | / std::iter::once(base_read).chain( [INFO] [stdout] 494 | | regs [INFO] [stdout] 495 | | .into_iter() [INFO] [stdout] 496 | | .filter(|reg| { [INFO] [stdout] ... | [INFO] [stdout] 509 | | .flatten() [INFO] [stdout] 510 | | ).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/compile_ir.rs:527:22 [INFO] [stdout] | [INFO] [stdout] 527 | .map(|f| (f, compile_function(f, &globals, &module.types, options))) [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/compile_ir.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 572 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 579 | id: McFuncId::new("rust:__langcraft_return"), [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/compile_ir.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 585 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 604 | let mut cmd = Execute::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 636 | let mut on_invalid_1 = Execute::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | let mut on_invalid_2 = Execute::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | id: McFuncId::new("rust:__langcraft_call"), [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/compile_ir.rs:1045:38 [INFO] [stdout] | [INFO] [stdout] 1045 | let list = funcs.iter().map(|f| (f.id.clone(), 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/compile_ir.rs:1267:73 [INFO] [stdout] | [INFO] [stdout] 1267 | let values = element_types.iter().map(|et| ConstantRef::new(make_zeroed(et, tys))).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] [stderr] error: could not compile `langcraft` (lib test) due to 24 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compile_ir.rs:5934:14 [INFO] [stdout] | [INFO] [stdout] 4436 | let result = match instr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4447 | let (mut cmds, true_val) = eval_operand(true_value, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4448 | let (tmp, false_val) = eval_operand(false_value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4449 | cmds.extend(tmp); [INFO] [stdout] 4450 | let (tmp, cond) = eval_operand(condition, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4467 | let mut true_cmd = Execute::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4476 | let mut false_cmd = Execute::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4494 | let (mut cmds, addr) = eval_operand(address, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4504 | let write_cmds = match eval_maybe_const(value, globals, tys) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4505 | MaybeConst::Const(value) => vec![write_ptr_const(value)], [INFO] [stdout] 4506 | MaybeConst::NonConst(eval_cmds, ids) => { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4518 | for (idx, write_cmd) in write_cmds.into_iter().enumerate() { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4537 | let (eval_cmds, value) = eval_operand(value, globals, tys); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4550 | let (eval_cmds, value) = eval_operand(value, globals, tys); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4592 | let (tmp, val) = eval_operand(value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4614 | let (tmp, val) = eval_operand(value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4661 | let addr_ty = address.get_type(tys); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4668 | let (mut cmds, addr) = eval_operand(address, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4787 | let (mut cmds, source0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4788 | let (tmp, source1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4847 | let (mut cmds, source0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4848 | let (tmp, source1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4918 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4919 | let (tmp_cmds, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4929 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4962 | let (mut cmds, target) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4963 | let (tmp_cmds, source) = eval_operand(operand1, globals, tys); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4990 | let mut hi_gt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4999 | let mut lo_gt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5024 | let mut hi_lt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5033 | let mut lo_lt_check = Execute::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5130 | let conditionals = compile_normal_icmp(target[0].clone(), source[0].clone(), predicate, dest); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5177 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5191 | let (tmp, val) = eval_operand(value, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5197 | let mut cmd = Execute::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5217 | let (mut cmds, source) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5247 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5261 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5291 | let (mut cmds, aggr) = eval_operand(aggregate, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5348 | let aggr_ty = aggregate.get_type(tys); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5366 | let (mut cmds, aggr) = eval_operand(aggregate, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5367 | let (tmp, elem) = eval_operand(element, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5384 | let mut cmds = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5418 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5435 | let mut on_one = Execute::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5440 | let mut on_zero = Execute::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5458 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5481 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5495 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5508 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5531 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5603 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5604 | [INFO] [stdout] 5605 | let (tmp, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5621 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5650 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5651 | let (tmp, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5663 | let mut exec = Execute::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5699 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5723 | let (mut cmds, op) = eval_operand(operand, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5742 | let (mut cmds, op0) = eval_operand(operand0, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5743 | let (tmp, op1) = eval_operand(operand1, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5746 | let op0_ty = operand0.get_type(tys); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5759 | let mask_vals = match &**mask { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5771 | let dest_type = Type::VectorType { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5780 | for (dest, mask_idx) in dest.into_iter().zip(mask_vals.into_iter()) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5810 | for (dest_byte_idx, mask_idx) in mask_vals.into_iter().enumerate() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5852 | let element_type = if let Type::VectorType { element_type, .. } = &*vector.get_type(tys) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5861 | let (mut cmds, vec) = eval_operand(vector, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5893 | let element_type = if let Type::VectorType { element_type, .. } = &*vector.get_type(tys) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5906 | let (mut cmds, vec) = eval_operand(vector, globals, tys); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5907 | [INFO] [stdout] 5908 | let (tmp, elem) = eval_operand(element, globals, tys); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5934 | (result, None) [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] = 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/compile_ir.rs:6017:48 [INFO] [stdout] | [INFO] [stdout] 6017 | if values.iter().all(|v| matches!(&*v.get_type(tys), Type::IntegerType { bits: 32 })) { [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/compile_ir.rs:6020:30 [INFO] [stdout] | [INFO] [stdout] 6020 | .map(|v| eval_constant(v, globals, tys).force_eval()) [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/compile_ir.rs:6024:26 [INFO] [stdout] | [INFO] [stdout] 6021 | .map(|(c, w)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 6024 | (c.into_iter().next().unwrap(), w.into_iter().next().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/interpreter.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new_raw(program: Vec, input: &str) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | run_state: RunState::Chain { resume_cmd: None, cmd_1: None, cmd_2: None, idx: None, tick_queued: false, next_pos: (0, 0, 0) }, [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/intrinsics.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|(name, body)| Function::from_str(FunctionId::new(name.to_owned()), body).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: aborting due to 22 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `langcraft` (lib) due to 23 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b766e7c95dec96f4491de9cfbf2eb5cbbc24938471acbd0458e0d17599feaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b766e7c95dec96f4491de9cfbf2eb5cbbc24938471acbd0458e0d17599feaba", kill_on_drop: false }` [INFO] [stdout] 8b766e7c95dec96f4491de9cfbf2eb5cbbc24938471acbd0458e0d17599feaba