[INFO] cloning repository https://github.com/mrkajetanp/c-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrkajetanp/c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrkajetanp%2Fc-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrkajetanp%2Fc-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de5de7393510ed1d60be34f1e140d29eba5c495a [INFO] checking mrkajetanp/c-compiler against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrkajetanp%2Fc-compiler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrkajetanp/c-compiler on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mrkajetanp/c-compiler [INFO] finished tweaking git repo https://github.com/mrkajetanp/c-compiler [INFO] tweaked toml for git repo https://github.com/mrkajetanp/c-compiler written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mrkajetanp/c-compiler 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synoptic v2.0.4 [INFO] [stderr] Downloaded sdd v1.7.0 [INFO] [stderr] Downloaded llvm-sys v180.0.0 [INFO] [stderr] Downloaded display_tree_derive v1.0.3 [INFO] [stderr] Downloaded display_tree v1.1.2 [INFO] [stderr] Downloaded lliw v0.2.0 [INFO] [stderr] Downloaded scc v2.1.5 [INFO] [stderr] Downloaded colog v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7403fbc134a11e2bee693338cb92b97f5bf9f6e0f9086a5dbb62836c0c79c39d [INFO] running `Command { std: "docker" "start" "-a" "7403fbc134a11e2bee693338cb92b97f5bf9f6e0f9086a5dbb62836c0c79c39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7403fbc134a11e2bee693338cb92b97f5bf9f6e0f9086a5dbb62836c0c79c39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7403fbc134a11e2bee693338cb92b97f5bf9f6e0f9086a5dbb62836c0c79c39d", kill_on_drop: false }` [INFO] [stdout] 7403fbc134a11e2bee693338cb92b97f5bf9f6e0f9086a5dbb62836c0c79c39d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a69617fb68fa6ff5ddf2ee15ff6f3d5307e2e9999a37946f2441501adccbc7b [INFO] running `Command { std: "docker" "start" "-a" "5a69617fb68fa6ff5ddf2ee15ff6f3d5307e2e9999a37946f2441501adccbc7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking sdd v1.7.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking scc v2.1.5 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking lliw v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling display_tree_derive v1.0.3 [INFO] [stderr] Checking display_tree v1.1.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking synoptic v2.0.4 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking colog v1.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.21s [INFO] running `Command { std: "docker" "inspect" "5a69617fb68fa6ff5ddf2ee15ff6f3d5307e2e9999a37946f2441501adccbc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a69617fb68fa6ff5ddf2ee15ff6f3d5307e2e9999a37946f2441501adccbc7b", kill_on_drop: false }` [INFO] [stdout] 5a69617fb68fa6ff5ddf2ee15ff6f3d5307e2e9999a37946f2441501adccbc7b [INFO] checking mrkajetanp/c-compiler against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrkajetanp%2Fc-compiler" "/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/mrkajetanp/c-compiler on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mrkajetanp/c-compiler [INFO] finished tweaking git repo https://github.com/mrkajetanp/c-compiler [INFO] tweaked toml for git repo https://github.com/mrkajetanp/c-compiler written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mrkajetanp/c-compiler 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f626148ccd92f0867bf3b930f42a42dcd0185e48e2e99ce282786c8322bc5f [INFO] running `Command { std: "docker" "start" "-a" "50f626148ccd92f0867bf3b930f42a42dcd0185e48e2e99ce282786c8322bc5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f626148ccd92f0867bf3b930f42a42dcd0185e48e2e99ce282786c8322bc5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f626148ccd92f0867bf3b930f42a42dcd0185e48e2e99ce282786c8322bc5f", kill_on_drop: false }` [INFO] [stdout] 50f626148ccd92f0867bf3b930f42a42dcd0185e48e2e99ce282786c8322bc5f [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d393cd3f75893c7d3201fc69f098444eaa343765c785b4b297f28536e97ab965 [INFO] running `Command { std: "docker" "start" "-a" "d393cd3f75893c7d3201fc69f098444eaa343765c785b4b297f28536e97ab965", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking sdd v1.7.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking scc v2.1.5 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking lliw v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling display_tree_derive v1.0.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking synoptic v2.0.4 [INFO] [stderr] Checking display_tree v1.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking colog v1.3.0 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn asm_path(&self, ast: ast::Program, stage: CompileStage) -> Option { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Some(self.emit(code).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | let body = Block::parse(tokens)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 110 | | name, [INFO] [stdout] 111 | | return_type: return_type.to_string(), [INFO] [stdout] 112 | | body, [INFO] [stdout] 113 | | }) [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/ast.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 127 | let mut body = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok(Block { body }) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn generate_from_block(block: ast::Block, ctx: &mut IrCtx) -> Vec { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | / block [INFO] [stdout] 104 | | .body [INFO] [stdout] 105 | | .into_iter() [INFO] [stdout] 106 | | .flat_map(|block| Instruction::generate_from_basic_block(block, ctx)) [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/semantic.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn validate(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let mut ctx = SemanticCtx::new(); [INFO] [stdout] 72 | self.resolve(&mut ctx).unwrap().label(&mut ctx).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/semantic.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn resolve(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | body: self.body.resolve(ctx)?, [INFO] [stdout] 78 | | }) [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/semantic.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn label(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | body: self.body.label(ctx)?, [INFO] [stdout] 84 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn resolve(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut variables: VariableMap = HashMap::new(); [INFO] [stdout] 91 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 92 | | name: self.name, [INFO] [stdout] 93 | | return_type: self.return_type, [INFO] [stdout] 94 | | body: self.body.resolve(ctx, &mut variables)?, [INFO] [stdout] 95 | | }) [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/semantic.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn label(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | name: self.name, [INFO] [stdout] 101 | | return_type: self.return_type, [INFO] [stdout] 102 | | body: self.body.label(ctx, None)?, [INFO] [stdout] 103 | | }) [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/semantic.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 109 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | body: self [INFO] [stdout] 115 | | .body [INFO] [stdout] 116 | | .into_iter() [INFO] [stdout] 117 | | .map(|b| b.resolve(ctx, variables)) [INFO] [stdout] 118 | | .collect::, SemanticError>>()?, [INFO] [stdout] 119 | | }) [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/semantic.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 123 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 128 | | body: self [INFO] [stdout] 129 | | .body [INFO] [stdout] 130 | | .into_iter() [INFO] [stdout] 131 | | .map(|b| b.label(ctx, current_label.clone())) [INFO] [stdout] 132 | | .collect::, SemanticError>>()?, [INFO] [stdout] 133 | | }) [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/semantic.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 139 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | Self::Decl(declaration) => Self::Decl(declaration.resolve(ctx, variables)?), [INFO] [stdout] 145 | | Self::Stmt(statement) => Self::Stmt(statement.resolve(ctx, variables)?), [INFO] [stdout] 146 | | }) [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/semantic.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 150 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 155 | | Self::Decl(_) => self, [INFO] [stdout] 156 | | Self::Stmt(statement) => Self::Stmt(statement.label(ctx, current_label)?), [INFO] [stdout] 157 | | }) [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/semantic.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 163 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let init = self.init.map(|exp| exp.resolve(ctx, variables).unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | Ok(Self { name, init }) [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/semantic.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | let init = self.init.map(|exp| exp.resolve(ctx, variables).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 189 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 194 | | Self::Return(exp) => Self::Return(exp.resolve(ctx, variables)?), [INFO] [stdout] 195 | | Self::Exp(exp) => Self::Exp(exp.resolve(ctx, variables)?), [INFO] [stdout] 196 | | Self::If(cond, then_stmt, else_stmt) => Self::If( [INFO] [stdout] ... | [INFO] [stdout] 234 | | // _ => todo!(), [INFO] [stdout] 235 | | }) [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/semantic.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let cond = cond.map(|exp| exp.resolve(ctx, &mut new_variables).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:229:43 [INFO] [stdout] | [INFO] [stdout] 229 | let post = post.map(|exp| exp.resolve(ctx, &mut new_variables).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 239 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 244 | | Self::Compound(body) => Self::Compound(body.label(ctx, current_label)?), [INFO] [stdout] 245 | | Self::If(cond, then_stmt, else_stmt) => { [INFO] [stdout] 246 | | let then_stmt = then_stmt.label(ctx, current_label.clone())?; [INFO] [stdout] ... | [INFO] [stdout] 297 | | Self::Return(_) | Self::Exp(_) | Self::Null => self, [INFO] [stdout] 298 | | }) [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/semantic.rs:247:60 [INFO] [stdout] | [INFO] [stdout] 247 | let else_stmt = else_stmt.map(|s| Box::new(s.label(ctx, current_label).unwrap())); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 304 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 309 | | Self::InitDecl(decl) => Self::InitDecl(decl.resolve(ctx, variables)?), [INFO] [stdout] 310 | | Self::InitExp(expr) => Self::InitExp(expr.resolve(ctx, variables)?), [INFO] [stdout] 311 | | Self::InitNull => self, [INFO] [stdout] 312 | | }) [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/semantic.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 318 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 323 | | Self::Assignment(left, right) => { [INFO] [stdout] 324 | | if let Self::Var(_) = &*left { [INFO] [stdout] 325 | | Self::Assignment( [INFO] [stdout] ... | [INFO] [stdout] 348 | | // _ => todo!(), [INFO] [stdout] 349 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcc` (lib) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn asm_path(&self, ast: ast::Program, stage: CompileStage) -> Option { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Some(self.emit(code).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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | let body = Block::parse(tokens)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | [INFO] [stdout] 109 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 110 | | name, [INFO] [stdout] 111 | | return_type: return_type.to_string(), [INFO] [stdout] 112 | | body, [INFO] [stdout] 113 | | }) [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/ast.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 127 | let mut body = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok(Block { body }) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn generate_from_block(block: ast::Block, ctx: &mut IrCtx) -> Vec { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | / block [INFO] [stdout] 104 | | .body [INFO] [stdout] 105 | | .into_iter() [INFO] [stdout] 106 | | .flat_map(|block| Instruction::generate_from_basic_block(block, ctx)) [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/semantic.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn validate(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let mut ctx = SemanticCtx::new(); [INFO] [stdout] 72 | self.resolve(&mut ctx).unwrap().label(&mut ctx).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/semantic.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn resolve(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | body: self.body.resolve(ctx)?, [INFO] [stdout] 78 | | }) [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/semantic.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn label(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | body: self.body.label(ctx)?, [INFO] [stdout] 84 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn resolve(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut variables: VariableMap = HashMap::new(); [INFO] [stdout] 91 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 92 | | name: self.name, [INFO] [stdout] 93 | | return_type: self.return_type, [INFO] [stdout] 94 | | body: self.body.resolve(ctx, &mut variables)?, [INFO] [stdout] 95 | | }) [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/semantic.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn label(self, ctx: &mut SemanticCtx) -> SemanticResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | name: self.name, [INFO] [stdout] 101 | | return_type: self.return_type, [INFO] [stdout] 102 | | body: self.body.label(ctx, None)?, [INFO] [stdout] 103 | | }) [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/semantic.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 109 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | body: self [INFO] [stdout] 115 | | .body [INFO] [stdout] 116 | | .into_iter() [INFO] [stdout] 117 | | .map(|b| b.resolve(ctx, variables)) [INFO] [stdout] 118 | | .collect::, SemanticError>>()?, [INFO] [stdout] 119 | | }) [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/semantic.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 123 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 128 | | body: self [INFO] [stdout] 129 | | .body [INFO] [stdout] 130 | | .into_iter() [INFO] [stdout] 131 | | .map(|b| b.label(ctx, current_label.clone())) [INFO] [stdout] 132 | | .collect::, SemanticError>>()?, [INFO] [stdout] 133 | | }) [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/semantic.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 139 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | Self::Decl(declaration) => Self::Decl(declaration.resolve(ctx, variables)?), [INFO] [stdout] 145 | | Self::Stmt(statement) => Self::Stmt(statement.resolve(ctx, variables)?), [INFO] [stdout] 146 | | }) [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/semantic.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 150 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 155 | | Self::Decl(_) => self, [INFO] [stdout] 156 | | Self::Stmt(statement) => Self::Stmt(statement.label(ctx, current_label)?), [INFO] [stdout] 157 | | }) [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/semantic.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 163 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let init = self.init.map(|exp| exp.resolve(ctx, variables).unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | Ok(Self { name, init }) [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/semantic.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | let init = self.init.map(|exp| exp.resolve(ctx, variables).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 189 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 194 | | Self::Return(exp) => Self::Return(exp.resolve(ctx, variables)?), [INFO] [stdout] 195 | | Self::Exp(exp) => Self::Exp(exp.resolve(ctx, variables)?), [INFO] [stdout] 196 | | Self::If(cond, then_stmt, else_stmt) => Self::If( [INFO] [stdout] ... | [INFO] [stdout] 234 | | // _ => todo!(), [INFO] [stdout] 235 | | }) [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/semantic.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | let cond = cond.map(|exp| exp.resolve(ctx, &mut new_variables).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:229:43 [INFO] [stdout] | [INFO] [stdout] 229 | let post = post.map(|exp| exp.resolve(ctx, &mut new_variables).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 239 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 244 | | Self::Compound(body) => Self::Compound(body.label(ctx, current_label)?), [INFO] [stdout] 245 | | Self::If(cond, then_stmt, else_stmt) => { [INFO] [stdout] 246 | | let then_stmt = then_stmt.label(ctx, current_label.clone())?; [INFO] [stdout] ... | [INFO] [stdout] 297 | | Self::Return(_) | Self::Exp(_) | Self::Null => self, [INFO] [stdout] 298 | | }) [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/semantic.rs:247:60 [INFO] [stdout] | [INFO] [stdout] 247 | let else_stmt = else_stmt.map(|s| Box::new(s.label(ctx, current_label).unwrap())); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 304 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 309 | | Self::InitDecl(decl) => Self::InitDecl(decl.resolve(ctx, variables)?), [INFO] [stdout] 310 | | Self::InitExp(expr) => Self::InitExp(expr.resolve(ctx, variables)?), [INFO] [stdout] 311 | | Self::InitNull => self, [INFO] [stdout] 312 | | }) [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/semantic.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 318 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 323 | | Self::Assignment(left, right) => { [INFO] [stdout] 324 | | if let Self::Var(_) = &*left { [INFO] [stdout] 325 | | Self::Assignment( [INFO] [stdout] ... | [INFO] [stdout] 348 | | // _ => todo!(), [INFO] [stdout] 349 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcc` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "d393cd3f75893c7d3201fc69f098444eaa343765c785b4b297f28536e97ab965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d393cd3f75893c7d3201fc69f098444eaa343765c785b4b297f28536e97ab965", kill_on_drop: false }` [INFO] [stdout] d393cd3f75893c7d3201fc69f098444eaa343765c785b4b297f28536e97ab965