[INFO] cloning repository https://github.com/TetroGem/scratch-asm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TetroGem/scratch-asm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTetroGem%2Fscratch-asm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTetroGem%2Fscratch-asm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03ddc91c290589828cf1618a5ae2e0bfb724d58d [INFO] checking TetroGem/scratch-asm/03ddc91c290589828cf1618a5ae2e0bfb724d58d 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%2FTetroGem%2Fscratch-asm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TetroGem/scratch-asm on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/TetroGem/scratch-asm [INFO] finished tweaking git repo https://github.com/TetroGem/scratch-asm [INFO] tweaked toml for git repo https://github.com/TetroGem/scratch-asm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TetroGem/scratch-asm 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] afc45b8e83895925e952ee1a181a26dfa2cba21d6def01f6dc65722274f8185c [INFO] running `Command { std: "docker" "start" "-a" "afc45b8e83895925e952ee1a181a26dfa2cba21d6def01f6dc65722274f8185c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afc45b8e83895925e952ee1a181a26dfa2cba21d6def01f6dc65722274f8185c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc45b8e83895925e952ee1a181a26dfa2cba21d6def01f6dc65722274f8185c", kill_on_drop: false }` [INFO] [stdout] afc45b8e83895925e952ee1a181a26dfa2cba21d6def01f6dc65722274f8185c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5aa276d209b462cf7eee834554362bf5160dff9e0ff9ca4f2d2484187a8affa5 [INFO] running `Command { std: "docker" "start" "-a" "5aa276d209b462cf7eee834554362bf5160dff9e0ff9ca4f2d2484187a8affa5", kill_on_drop: false }` [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zip v2.1.3 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking deflate64 v0.1.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking symspell v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking zip-extensions v0.8.0 [INFO] [stderr] Checking scratch-asm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/compiler/mod.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::parser::command::{ApTag, ApVal, Command}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsmVal` [INFO] [stdout] --> src/parser/mod.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use asm_token::{parse_asm_token, AsmToken, AsmVal, Positioned}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ap` and `Command` [INFO] [stdout] --> src/parser/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use command::{Ap, ApFn, ApTag, ApVal, Command, CommandDiscriminants, LineNumbered}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::bail` [INFO] [stdout] --> src/parser/parse_command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::bail; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/compiler/mod.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::parser::command::{ApTag, ApVal, Command}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsmVal` [INFO] [stdout] --> src/parser/mod.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use asm_token::{parse_asm_token, AsmToken, AsmVal, Positioned}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ap` and `Command` [INFO] [stdout] --> src/parser/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use command::{Ap, ApFn, ApTag, ApVal, Command, CommandDiscriminants, LineNumbered}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::bail` [INFO] [stdout] --> src/parser/parse_command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::bail; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/compiler/mod.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 506 | pub enum BroadcastInput { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 507 | Message(Arc), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BroadcastInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BroadcastAsync` and `If` are never constructed [INFO] [stdout] --> src/compiler/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 512 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 520 | BroadcastAsync(BroadcastInput), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 521 | If { cond: BoolExpr, then: Body }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:1040:8 [INFO] [stdout] | [INFO] [stdout] 865 | pub fn compile(parsed: Parsed) -> anyhow::Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 866 | let stdout = Arc::new(List { uuid: Uuid::new_v4(), name: "::stdout".into() }); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | let stack = Arc::new(List { uuid: Uuid::new_v4(), name: "::stack".into() }); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 868 | let args = Arc::new(List { uuid: Uuid::new_v4(), name: "::args".into() }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 869 | [INFO] [stdout] 870 | let mut message_name_to_message = HashMap::new(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 871 | [INFO] [stdout] 872 | let mut linked_chunks = Vec::default(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 900 | let chains = linked_chunks.into_iter().map(|link| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1038 | let chains = chains.collect::>>()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1039 | [INFO] [stdout] 1040 | Ok(Compiled { stdout, stack, args, chains, message_name_to_message }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/compiler/mod.rs:1035:12 [INFO] [stdout] | [INFO] [stdout] 900 | let chains = linked_chunks.into_iter().map(|link| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 901 | let root_op = match link.header.kind { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 906 | let head = Root { block: Block { op: root_op, uuid: Uuid::new_v4() }, x: 0., y: 0. }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 907 | [INFO] [stdout] 908 | let mut body = Vec::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 984 | let blocks = link.chunk.body.into_iter().map(|command| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | let blocks = blocks.collect::>>()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1033 | let body = Body { blocks: body }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1034 | [INFO] [stdout] 1035 | Ok(Chain { root: head, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:985:13 [INFO] [stdout] | [INFO] [stdout] 984 | let blocks = link.chunk.body.into_iter().map(|command| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 985 | / command_kind_to_ops( [INFO] [stdout] 986 | | command.inner, [INFO] [stdout] 987 | | &stdout, [INFO] [stdout] 988 | | &stack, [INFO] [stdout] ... | [INFO] [stdout] 994 | | &message_name_to_message, [INFO] [stdout] 995 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 24 | let mut scopes: Vec = Vec::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(Parsed { scopes }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 129 | return Some(Err(anyhow!("Function name must be provided after FN keyword"))); [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | return Some(Err(anyhow!("Function names must start with @"))); [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Some(parse_scope(scope_kind, parts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/asm_token.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 123 | bail!("Dereference should consist of * with a value after"); [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let AsmToken::Val(val) = parse_asm_token(rest)? else { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | bail!("Can only dereference values, not functions or tags") [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok(Box::new(val)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parse_command.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 32 | fn link(command: Command) -> ParseCommandRes { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ParseCommandRes { command, new_chunk: 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/parser/parse_command.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 36 | fn split_to_jump(command: Command) -> ParseCommandRes { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ParseCommandRes { command, new_chunk: Some(NewChunk { tag: 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/parser/parse_command.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn split_to_tag(command: Command, chunk_tag: &ApTag) -> ParseCommandRes { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | new_chunk: Some(NewChunk { tag: Some(Arc::clone(&chunk_tag.inner)) }), [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: variant `Message` is never constructed [INFO] [stdout] --> src/compiler/mod.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 506 | pub enum BroadcastInput { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 507 | Message(Arc), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BroadcastInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BroadcastAsync` and `If` are never constructed [INFO] [stdout] --> src/compiler/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 512 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 520 | BroadcastAsync(BroadcastInput), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 521 | If { cond: BoolExpr, then: Body }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:1040:8 [INFO] [stdout] | [INFO] [stdout] 865 | pub fn compile(parsed: Parsed) -> anyhow::Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 866 | let stdout = Arc::new(List { uuid: Uuid::new_v4(), name: "::stdout".into() }); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | let stack = Arc::new(List { uuid: Uuid::new_v4(), name: "::stack".into() }); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 868 | let args = Arc::new(List { uuid: Uuid::new_v4(), name: "::args".into() }); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 869 | [INFO] [stdout] 870 | let mut message_name_to_message = HashMap::new(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 871 | [INFO] [stdout] 872 | let mut linked_chunks = Vec::default(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 900 | let chains = linked_chunks.into_iter().map(|link| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1038 | let chains = chains.collect::>>()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1039 | [INFO] [stdout] 1040 | Ok(Compiled { stdout, stack, args, chains, message_name_to_message }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/compiler/mod.rs:1035:12 [INFO] [stdout] | [INFO] [stdout] 900 | let chains = linked_chunks.into_iter().map(|link| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 901 | let root_op = match link.header.kind { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 906 | let head = Root { block: Block { op: root_op, uuid: Uuid::new_v4() }, x: 0., y: 0. }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 907 | [INFO] [stdout] 908 | let mut body = Vec::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 984 | let blocks = link.chunk.body.into_iter().map(|command| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | let blocks = blocks.collect::>>()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1033 | let body = Body { blocks: body }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1034 | [INFO] [stdout] 1035 | Ok(Chain { root: head, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:985:13 [INFO] [stdout] | [INFO] [stdout] 984 | let blocks = link.chunk.body.into_iter().map(|command| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 985 | / command_kind_to_ops( [INFO] [stdout] 986 | | command.inner, [INFO] [stdout] 987 | | &stdout, [INFO] [stdout] 988 | | &stack, [INFO] [stdout] ... | [INFO] [stdout] 994 | | &message_name_to_message, [INFO] [stdout] 995 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 24 | let mut scopes: Vec = Vec::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(Parsed { scopes }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 129 | return Some(Err(anyhow!("Function name must be provided after FN keyword"))); [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | return Some(Err(anyhow!("Function names must start with @"))); [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Some(parse_scope(scope_kind, parts)) [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 9 previous errors; 6 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/parser/asm_token.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 123 | bail!("Dereference should consist of * with a value after"); [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let AsmToken::Val(val) = parse_asm_token(rest)? else { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | bail!("Can only dereference values, not functions or tags") [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok(Box::new(val)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parse_command.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 32 | fn link(command: Command) -> ParseCommandRes { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ParseCommandRes { command, new_chunk: 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/parser/parse_command.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 36 | fn split_to_jump(command: Command) -> ParseCommandRes { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ParseCommandRes { command, new_chunk: Some(NewChunk { tag: 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/parser/parse_command.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn split_to_tag(command: Command, chunk_tag: &ApTag) -> ParseCommandRes { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | new_chunk: Some(NewChunk { tag: Some(Arc::clone(&chunk_tag.inner)) }), [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 `scratch-asm` (bin "scratch-asm") due to 10 previous errors; 6 warnings emitted [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `scratch-asm` (bin "scratch-asm" test) due to 10 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5aa276d209b462cf7eee834554362bf5160dff9e0ff9ca4f2d2484187a8affa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa276d209b462cf7eee834554362bf5160dff9e0ff9ca4f2d2484187a8affa5", kill_on_drop: false }` [INFO] [stdout] 5aa276d209b462cf7eee834554362bf5160dff9e0ff9ca4f2d2484187a8affa5