[INFO] fetching crate ola-lang 0.1.1... [INFO] checking ola-lang-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ola-lang 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ola-lang 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ola-lang 0.1.1 [INFO] finished tweaking crates.io crate ola-lang 0.1.1 [INFO] tweaked toml for crates.io crate ola-lang 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate ola-lang 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2a3be2a9ff012c19502408dcb5440cab5931bbbdf40cf6f7f2ba6605d5eac151 [INFO] running `Command { std: "docker" "start" "-a" "2a3be2a9ff012c19502408dcb5440cab5931bbbdf40cf6f7f2ba6605d5eac151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a3be2a9ff012c19502408dcb5440cab5931bbbdf40cf6f7f2ba6605d5eac151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3be2a9ff012c19502408dcb5440cab5931bbbdf40cf6f7f2ba6605d5eac151", kill_on_drop: false }` [INFO] [stdout] 2a3be2a9ff012c19502408dcb5440cab5931bbbdf40cf6f7f2ba6605d5eac151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 09a4e7fac0493d55d1dd590b1dd421270ae74550eb2d6585f82605f4d8aaa839 [INFO] running `Command { std: "docker" "start" "-a" "09a4e7fac0493d55d1dd590b1dd421270ae74550eb2d6585f82605f4d8aaa839", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking regex-automata v0.4.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling inkwell v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking key-node-list v0.0.5 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.1 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling inkwell_internals v0.8.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling llvm-sys v150.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking color-backtrace v0.5.1 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling ola-parser v1.0.1 [INFO] [stderr] Checking ola-lang v0.1.1 (/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/codegen/core/ir/function/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 57 | name: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | types: Types, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | personality: 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] = 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/codegen/core/ir/function/mod.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 57 | name: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | types: Types, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | data: data::Data::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/ir/function/builder.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn value>(&mut self, val: T) -> ValueId { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self.func.data.create_value(val.into()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/ir/module/mod.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 95 | name: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | self.functions.alloc(Function::new( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 101 | | name, [INFO] [stdout] 102 | | result_ty, [INFO] [stdout] 103 | | params, [INFO] [stdout] 104 | | is_var_arg, [INFO] [stdout] 105 | | self.types.clone(), [INFO] [stdout] 106 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/function.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse(source: &str, types: Types) -> Result<(&str, Function), Error> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let (mut source, personality) = parse_personality(source, &types)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | [INFO] [stdout] 185 | let mut data = Data::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | source, [INFO] [stdout] 218 | | Function { [INFO] [stdout] 219 | | name, [INFO] [stdout] ... | [INFO] [stdout] 236 | | }, [INFO] [stdout] 237 | | )) [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/codegen/core/parser/assembly/global_variable.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 43 | let (source, init) = if matches!( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | source, [INFO] [stdout] 60 | | GlobalVariable { [INFO] [stdout] 61 | | name, [INFO] [stdout] ... | [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | )) [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/codegen/core/parser/assembly/global_variable.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | let (source, konst) = super::value::parse_constant(source, types, ty)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Ok((source, (ty, konst))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 42 | let mut num_elements = 1.into(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | (source, num_elements) = parse_constant(source, ctx.types, ty)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let inst = Opcode::Alloca [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 128 | let inst = Opcode::Load [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 269 | let inst = opcode [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 307 | let inst = Opcode::ICmp [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 337 | let inst = opcode [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 428 | let inst = Opcode::Call [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 502 | let inst = Opcode::Invoke [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 513 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 535 | let inst = Opcode::LandingPad [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:556:8 [INFO] [stdout] | [INFO] [stdout] 553 | let inst = Opcode::Resume [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 646 | let inst = Opcode::Switch [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(i, source)| (i, Metadata::String(source))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:39:77 [INFO] [stdout] | [INFO] [stdout] 39 | preceded(exclamation, super::name::parse)(source).map(|(i, source)| (i, Metadata::Name(source))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:45:70 [INFO] [stdout] | [INFO] [stdout] 45 | parse_constant(source, types, ty).map(|(source, v)| (source, Metadata::Const(v))) [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/codegen/core/parser/assembly/metadata.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(i, (_, distinct, _, _, _, list, _, _))| { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | (i, Metadata::Node(list, distinct.is_some())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | move |source| alt((string, name, node(types), int(types)))(source) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/value.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 92 | let mut elems = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | source, [INFO] [stdout] 110 | | ConstantValue::Array(ConstantArray { [INFO] [stdout] 111 | | ty, [INFO] [stdout] ... | [INFO] [stdout] 115 | | }), [INFO] [stdout] 116 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/value.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 169 | let (source, arg) = parse_constant(source, types, from)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 174 | | source, [INFO] [stdout] 175 | | ConstantValue::Expr(ConstantExpr::Bitcast { [INFO] [stdout] 176 | | tys: [from, to], [INFO] [stdout] 177 | | arg: Box::new(arg), [INFO] [stdout] 178 | | }), [INFO] [stdout] 179 | | )) [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/codegen/core/pass/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add_analysis>(&mut self, pass: P) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | self.passes.push(Pass::Analysis(Box::new(pass))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/pass/mod.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_transform>(&mut self, pass: P) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self.passes.push(Pass::Transform(Box::new(pass))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/pass/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn analysis>(pass: P) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Self::Analysis(Box::new(pass)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/isa/ola/lower/store.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 61 | let konst = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | match (dst_vreg, dst_slot, vreg, konst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/lower/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 86 | let mut data = Data::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let mut merged_inst = FxHashSet::default(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(MachFunction { [INFO] [stdout] | ________^ [INFO] [stdout] 211 | | ir: function, [INFO] [stdout] 212 | | data, [INFO] [stdout] 213 | | layout, [INFO] [stdout] ... | [INFO] [stdout] 218 | | isa, [INFO] [stdout] 219 | | }) [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/sema/ast.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | params: Arc::new(params), [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/sema/ast.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | returns: Arc::new(returns), [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/sema/ast.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | body: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/ast.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | symtable: Symtable::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/corelib.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 485 | let mut resolved_args = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 529 | Ok(Expression::LibFunction { [INFO] [stdout] | ________^ [INFO] [stdout] 530 | | loc: *loc, [INFO] [stdout] 531 | | tys: vec![Type::DynamicBytes], [INFO] [stdout] 532 | | kind: builtin, [INFO] [stdout] 533 | | args: resolved_args, [INFO] [stdout] 534 | | }) [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/sema/expression/arithmetic.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 25 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | [INFO] [stdout] 32 | Ok(Expression::Subtract { [INFO] [stdout] | ________^ [INFO] [stdout] 33 | | loc: *loc, [INFO] [stdout] 34 | | ty: ty.clone(), [INFO] [stdout] 35 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 36 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 37 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 50 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Expression::BitwiseOr { [INFO] [stdout] | ________^ [INFO] [stdout] 65 | | loc: *loc, [INFO] [stdout] 66 | | ty: ty.clone(), [INFO] [stdout] 67 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 68 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 69 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 82 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(Expression::BitwiseAnd { [INFO] [stdout] | ________^ [INFO] [stdout] 98 | | loc: *loc, [INFO] [stdout] 99 | | ty: ty.clone(), [INFO] [stdout] 100 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 101 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 102 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 115 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | Ok(Expression::BitwiseXor { [INFO] [stdout] | ________^ [INFO] [stdout] 131 | | loc: *loc, [INFO] [stdout] 132 | | ty: ty.clone(), [INFO] [stdout] 133 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 134 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 135 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 148 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let right = expression(r, context, ns, symtable, diagnostics, ResolveTo::Unknown)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | let left_type = left.ty().deref_any().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(Expression::ShiftLeft { [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | loc: *loc, [INFO] [stdout] 169 | | ty: left_type.clone(), [INFO] [stdout] 170 | | left: Box::new(left.cast(loc, &left_type, ns, diagnostics)?), [INFO] [stdout] 171 | | right: Box::new(cast_shift_arg(loc, right, right_length, &left_type, ns)), [INFO] [stdout] 172 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 185 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let right = expression(r, context, ns, symtable, diagnostics, ResolveTo::Unknown)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | let left_type = left.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | Ok(Expression::ShiftRight { [INFO] [stdout] | ________^ [INFO] [stdout] 205 | | loc: *loc, [INFO] [stdout] 206 | | ty: left_type.clone(), [INFO] [stdout] 207 | | left: Box::new(left), [INFO] [stdout] 208 | | right: Box::new(cast_shift_arg(loc, right, right_length, &left_type, ns)), [INFO] [stdout] 209 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 263 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | Ok(Expression::Divide { [INFO] [stdout] | ________^ [INFO] [stdout] 290 | | loc: *loc, [INFO] [stdout] 291 | | ty: ty.clone(), [INFO] [stdout] 292 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 293 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 294 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 307 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | Ok(Expression::Modulo { [INFO] [stdout] | ________^ [INFO] [stdout] 334 | | loc: *loc, [INFO] [stdout] 335 | | ty: ty.clone(), [INFO] [stdout] 336 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 337 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 338 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 351 | let mut base = expression(b, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let exp = expression(e, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | let base_type = base.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | let exp_type = exp.ty(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | [INFO] [stdout] 373 | let ty = coerce_number(&base_type, &b.loc(), &exp_type, &e.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | Ok(Expression::Power { [INFO] [stdout] | ________^ [INFO] [stdout] 384 | | loc: *loc, [INFO] [stdout] 385 | | ty: ty.clone(), [INFO] [stdout] 386 | | base: Box::new(base.cast(&b.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 387 | | exp: Box::new(exp.cast(&e.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 388 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 437 | let left = expression(l, context, ns, symtable, diagnostics, ResolveTo::Integer)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | let right = expression(r, context, ns, symtable, diagnostics, ResolveTo::Integer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | let left_type = left.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | let right_type = right.ty(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | let ty = coerce(&left_type, &l.loc(), &right_type, &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 455 | Ok(Expression::NotEqual { [INFO] [stdout] | ________^ [INFO] [stdout] 456 | | loc: *loc, [INFO] [stdout] 457 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 458 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 459 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:574:8 [INFO] [stdout] | [INFO] [stdout] 542 | let mut left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let mut right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let left_type = left.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | let right_type = right.ty(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 548 | [INFO] [stdout] 549 | let ty = coerce_number(&left_type, &l.loc(), &right_type, &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | Ok(Expression::Add { [INFO] [stdout] | ________^ [INFO] [stdout] 575 | | loc: *loc, [INFO] [stdout] 576 | | ty: ty.clone(), [INFO] [stdout] 577 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 578 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 579 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/assign.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 182 | let set = expression(right, &mut context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | let op = |assign: Expression, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let set = match expr { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(match expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 217 | | program::Expression::AssignAdd(..) => Expression::Add { [INFO] [stdout] 218 | | loc: *loc, [INFO] [stdout] 219 | | ty: ty.clone(), [INFO] [stdout] ... | [INFO] [stdout] 302 | | _ => unreachable!(), [INFO] [stdout] 303 | | }) [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/sema/expression/function_call.rs:731:8 [INFO] [stdout] | [INFO] [stdout] 547 | let var_ty = var_expr.ty(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 731 | Ok(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/sema/expression/function_call.rs:1472:8 [INFO] [stdout] | [INFO] [stdout] 1455 | call_args: CallArgs, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1456 | cast_args: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1463 | let returns = function_returns(func, resolve_to); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1464 | let ty = function_type(func, true, resolve_to); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1465 | [INFO] [stdout] 1466 | let address = if let Some(var) = var_expr { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1472 | Ok({ [INFO] [stdout] | ________^ [INFO] [stdout] 1473 | | Expression::ExternalFunctionCall { [INFO] [stdout] 1474 | | loc: *loc, [INFO] [stdout] 1475 | | returns, [INFO] [stdout] ... | [INFO] [stdout] 1489 | | } [INFO] [stdout] 1490 | | }) [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/sema/expression/constructor.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 29 | let ty = ns.resolve_type(context.file_no, context.contract_no, ty, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let expected_ty = Type::Uint(32); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | let size_expr = expression( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let size_ty = size_expr.ty(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let size = size_expr.cast(&size_loc, &expected_ty, ns, diagnostics)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | Ok(Expression::AllocDynamicBytes { [INFO] [stdout] | ________^ [INFO] [stdout] 89 | | loc: *loc, [INFO] [stdout] 90 | | ty, [INFO] [stdout] 91 | | length: Box::new(size), [INFO] [stdout] 92 | | init: None, [INFO] [stdout] 93 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/sema/external_functions.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | for e in exprs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 118 | while let Some(e) = exprs { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(e) = exprs { [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/sema/statements.rs:788:8 [INFO] [stdout] | [INFO] [stdout] 667 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 668 | let mut left_tys = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 673 | let mut context = scopeguard::guard(context, |context| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 777 | let expr = destructure_values( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 788 | Ok(Statement::Destructure(*loc, fields, expr)) [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/sema/statements.rs:999:8 [INFO] [stdout] | [INFO] [stdout] 965 | let mut var_ty = ns.resolve_type(context.file_no, context.contract_no, ty, diagnostics)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | Ok((var_ty, loc_ty)) [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/sema/statements.rs:1185:13 [INFO] [stdout] | [INFO] [stdout] 1184 | .map(|(i, (expr_return_ty, func_return_ty))| { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1185 | / Expression::Variable { [INFO] [stdout] 1186 | | loc: expr_returns.loc(), [INFO] [stdout] 1187 | | ty: expr_return_ty, [INFO] [stdout] 1188 | | var_no: i, [INFO] [stdout] 1189 | | } [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 52 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ola-lang` (lib) due to 53 previous errors; 1 warning 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/codegen/core/ir/function/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 57 | name: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | types: Types, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | personality: 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] = 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/codegen/core/ir/function/mod.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 57 | name: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | types: Types, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | data: data::Data::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/ir/function/builder.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn value>(&mut self, val: T) -> ValueId { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self.func.data.create_value(val.into()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/ir/module/mod.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 95 | name: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | self.functions.alloc(Function::new( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 101 | | name, [INFO] [stdout] 102 | | result_ty, [INFO] [stdout] 103 | | params, [INFO] [stdout] 104 | | is_var_arg, [INFO] [stdout] 105 | | self.types.clone(), [INFO] [stdout] 106 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/function.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse(source: &str, types: Types) -> Result<(&str, Function), Error> { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let (mut source, personality) = parse_personality(source, &types)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | [INFO] [stdout] 185 | let mut data = Data::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | source, [INFO] [stdout] 218 | | Function { [INFO] [stdout] 219 | | name, [INFO] [stdout] ... | [INFO] [stdout] 236 | | }, [INFO] [stdout] 237 | | )) [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/codegen/core/parser/assembly/global_variable.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 43 | let (source, init) = if matches!( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | source, [INFO] [stdout] 60 | | GlobalVariable { [INFO] [stdout] 61 | | name, [INFO] [stdout] ... | [INFO] [stdout] 70 | | }, [INFO] [stdout] 71 | | )) [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/codegen/core/parser/assembly/global_variable.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | let (source, konst) = super::value::parse_constant(source, types, ty)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Ok((source, (ty, konst))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 42 | let mut num_elements = 1.into(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | (source, num_elements) = parse_constant(source, ctx.types, ty)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let inst = Opcode::Alloca [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 128 | let inst = Opcode::Load [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 269 | let inst = opcode [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 307 | let inst = Opcode::ICmp [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 337 | let inst = opcode [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 428 | let inst = Opcode::Call [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 502 | let inst = Opcode::Invoke [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 513 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 535 | let inst = Opcode::LandingPad [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:556:8 [INFO] [stdout] | [INFO] [stdout] 553 | let inst = Opcode::Resume [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/instruction.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 646 | let inst = Opcode::Switch [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | Ok((source, inst)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|(i, source)| (i, Metadata::String(source))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:39:77 [INFO] [stdout] | [INFO] [stdout] 39 | preceded(exclamation, super::name::parse)(source).map(|(i, source)| (i, Metadata::Name(source))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:45:70 [INFO] [stdout] | [INFO] [stdout] 45 | parse_constant(source, types, ty).map(|(source, v)| (source, Metadata::Const(v))) [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/codegen/core/parser/assembly/metadata.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|(i, (_, distinct, _, _, _, list, _, _))| { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | (i, Metadata::Node(list, distinct.is_some())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/metadata.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | move |source| alt((string, name, node(types), int(types)))(source) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/value.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 92 | let mut elems = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 109 | | source, [INFO] [stdout] 110 | | ConstantValue::Array(ConstantArray { [INFO] [stdout] 111 | | ty, [INFO] [stdout] ... | [INFO] [stdout] 115 | | }), [INFO] [stdout] 116 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/parser/assembly/value.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 169 | let (source, arg) = parse_constant(source, types, from)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 174 | | source, [INFO] [stdout] 175 | | ConstantValue::Expr(ConstantExpr::Bitcast { [INFO] [stdout] 176 | | tys: [from, to], [INFO] [stdout] 177 | | arg: Box::new(arg), [INFO] [stdout] 178 | | }), [INFO] [stdout] 179 | | )) [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/codegen/core/pass/mod.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add_analysis>(&mut self, pass: P) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | self.passes.push(Pass::Analysis(Box::new(pass))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/pass/mod.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_transform>(&mut self, pass: P) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | self.passes.push(Pass::Transform(Box::new(pass))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/core/pass/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn analysis>(pass: P) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Self::Analysis(Box::new(pass)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/isa/ola/lower/store.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 61 | let konst = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | match (dst_vreg, dst_slot, vreg, konst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/lower/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 86 | let mut data = Data::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let mut merged_inst = FxHashSet::default(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(MachFunction { [INFO] [stdout] | ________^ [INFO] [stdout] 211 | | ir: function, [INFO] [stdout] 212 | | data, [INFO] [stdout] 213 | | layout, [INFO] [stdout] ... | [INFO] [stdout] 218 | | isa, [INFO] [stdout] 219 | | }) [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/sema/ast.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | params: Arc::new(params), [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/sema/ast.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | returns: Arc::new(returns), [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/sema/ast.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | body: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/ast.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 250 | params: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | returns: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | symtable: Symtable::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/corelib.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 485 | let mut resolved_args = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 529 | Ok(Expression::LibFunction { [INFO] [stdout] | ________^ [INFO] [stdout] 530 | | loc: *loc, [INFO] [stdout] 531 | | tys: vec![Type::DynamicBytes], [INFO] [stdout] 532 | | kind: builtin, [INFO] [stdout] 533 | | args: resolved_args, [INFO] [stdout] 534 | | }) [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/sema/expression/arithmetic.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 25 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | [INFO] [stdout] 32 | Ok(Expression::Subtract { [INFO] [stdout] | ________^ [INFO] [stdout] 33 | | loc: *loc, [INFO] [stdout] 34 | | ty: ty.clone(), [INFO] [stdout] 35 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 36 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 37 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 50 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Expression::BitwiseOr { [INFO] [stdout] | ________^ [INFO] [stdout] 65 | | loc: *loc, [INFO] [stdout] 66 | | ty: ty.clone(), [INFO] [stdout] 67 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 68 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 69 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 82 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(Expression::BitwiseAnd { [INFO] [stdout] | ________^ [INFO] [stdout] 98 | | loc: *loc, [INFO] [stdout] 99 | | ty: ty.clone(), [INFO] [stdout] 100 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 101 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 102 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 115 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | Ok(Expression::BitwiseXor { [INFO] [stdout] | ________^ [INFO] [stdout] 131 | | loc: *loc, [INFO] [stdout] 132 | | ty: ty.clone(), [INFO] [stdout] 133 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 134 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 135 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 148 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let right = expression(r, context, ns, symtable, diagnostics, ResolveTo::Unknown)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | let left_type = left.ty().deref_any().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(Expression::ShiftLeft { [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | loc: *loc, [INFO] [stdout] 169 | | ty: left_type.clone(), [INFO] [stdout] 170 | | left: Box::new(left.cast(loc, &left_type, ns, diagnostics)?), [INFO] [stdout] 171 | | right: Box::new(cast_shift_arg(loc, right, right_length, &left_type, ns)), [INFO] [stdout] 172 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 185 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let right = expression(r, context, ns, symtable, diagnostics, ResolveTo::Unknown)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | let left_type = left.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | Ok(Expression::ShiftRight { [INFO] [stdout] | ________^ [INFO] [stdout] 205 | | loc: *loc, [INFO] [stdout] 206 | | ty: left_type.clone(), [INFO] [stdout] 207 | | left: Box::new(left), [INFO] [stdout] 208 | | right: Box::new(cast_shift_arg(loc, right, right_length, &left_type, ns)), [INFO] [stdout] 209 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 263 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | Ok(Expression::Divide { [INFO] [stdout] | ________^ [INFO] [stdout] 290 | | loc: *loc, [INFO] [stdout] 291 | | ty: ty.clone(), [INFO] [stdout] 292 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 293 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 294 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 307 | let left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | let right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let ty = coerce_number(&left.ty(), &l.loc(), &right.ty(), &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | Ok(Expression::Modulo { [INFO] [stdout] | ________^ [INFO] [stdout] 334 | | loc: *loc, [INFO] [stdout] 335 | | ty: ty.clone(), [INFO] [stdout] 336 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 337 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 338 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 351 | let mut base = expression(b, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let exp = expression(e, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | let base_type = base.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | let exp_type = exp.ty(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | [INFO] [stdout] 373 | let ty = coerce_number(&base_type, &b.loc(), &exp_type, &e.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | Ok(Expression::Power { [INFO] [stdout] | ________^ [INFO] [stdout] 384 | | loc: *loc, [INFO] [stdout] 385 | | ty: ty.clone(), [INFO] [stdout] 386 | | base: Box::new(base.cast(&b.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 387 | | exp: Box::new(exp.cast(&e.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 388 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 437 | let left = expression(l, context, ns, symtable, diagnostics, ResolveTo::Integer)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | let right = expression(r, context, ns, symtable, diagnostics, ResolveTo::Integer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | let left_type = left.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | let right_type = right.ty(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | let ty = coerce(&left_type, &l.loc(), &right_type, &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 455 | Ok(Expression::NotEqual { [INFO] [stdout] | ________^ [INFO] [stdout] 456 | | loc: *loc, [INFO] [stdout] 457 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 458 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 459 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/arithmetic.rs:574:8 [INFO] [stdout] | [INFO] [stdout] 542 | let mut left = expression(l, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | let mut right = expression(r, context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let left_type = left.ty(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | let right_type = right.ty(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 548 | [INFO] [stdout] 549 | let ty = coerce_number(&left_type, &l.loc(), &right_type, &r.loc(), ns, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | Ok(Expression::Add { [INFO] [stdout] | ________^ [INFO] [stdout] 575 | | loc: *loc, [INFO] [stdout] 576 | | ty: ty.clone(), [INFO] [stdout] 577 | | left: Box::new(left.cast(&l.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 578 | | right: Box::new(right.cast(&r.loc(), &ty, ns, diagnostics)?), [INFO] [stdout] 579 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sema/expression/assign.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 182 | let set = expression(right, &mut context, ns, symtable, diagnostics, resolve_to)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | let op = |assign: Expression, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let set = match expr { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(match expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 217 | | program::Expression::AssignAdd(..) => Expression::Add { [INFO] [stdout] 218 | | loc: *loc, [INFO] [stdout] 219 | | ty: ty.clone(), [INFO] [stdout] ... | [INFO] [stdout] 302 | | _ => unreachable!(), [INFO] [stdout] 303 | | }) [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/sema/expression/function_call.rs:731:8 [INFO] [stdout] | [INFO] [stdout] 547 | let var_ty = var_expr.ty(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 731 | Ok(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/sema/expression/function_call.rs:1472:8 [INFO] [stdout] | [INFO] [stdout] 1455 | call_args: CallArgs, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1456 | cast_args: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1463 | let returns = function_returns(func, resolve_to); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1464 | let ty = function_type(func, true, resolve_to); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1465 | [INFO] [stdout] 1466 | let address = if let Some(var) = var_expr { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1472 | Ok({ [INFO] [stdout] | ________^ [INFO] [stdout] 1473 | | Expression::ExternalFunctionCall { [INFO] [stdout] 1474 | | loc: *loc, [INFO] [stdout] 1475 | | returns, [INFO] [stdout] ... | [INFO] [stdout] 1489 | | } [INFO] [stdout] 1490 | | }) [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/sema/expression/constructor.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 29 | let ty = ns.resolve_type(context.file_no, context.contract_no, ty, diagnostics)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let expected_ty = Type::Uint(32); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | let size_expr = expression( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let size_ty = size_expr.ty(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let size = size_expr.cast(&size_loc, &expected_ty, ns, diagnostics)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | Ok(Expression::AllocDynamicBytes { [INFO] [stdout] | ________^ [INFO] [stdout] 89 | | loc: *loc, [INFO] [stdout] 90 | | ty, [INFO] [stdout] 91 | | length: Box::new(size), [INFO] [stdout] 92 | | init: None, [INFO] [stdout] 93 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/sema/external_functions.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | for e in exprs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 118 | while let Some(e) = exprs { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(e) = exprs { [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/sema/statements.rs:788:8 [INFO] [stdout] | [INFO] [stdout] 667 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 668 | let mut left_tys = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 673 | let mut context = scopeguard::guard(context, |context| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 777 | let expr = destructure_values( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 788 | Ok(Statement::Destructure(*loc, fields, expr)) [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/sema/statements.rs:999:8 [INFO] [stdout] | [INFO] [stdout] 965 | let mut var_ty = ns.resolve_type(context.file_no, context.contract_no, ty, diagnostics)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 999 | Ok((var_ty, loc_ty)) [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/sema/statements.rs:1185:13 [INFO] [stdout] | [INFO] [stdout] 1184 | .map(|(i, (expr_return_ty, func_return_ty))| { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1185 | / Expression::Variable { [INFO] [stdout] 1186 | | loc: expr_returns.loc(), [INFO] [stdout] 1187 | | ty: expr_return_ty, [INFO] [stdout] 1188 | | var_no: i, [INFO] [stdout] 1189 | | } [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 52 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ola-lang` (lib test) due to 53 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "09a4e7fac0493d55d1dd590b1dd421270ae74550eb2d6585f82605f4d8aaa839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a4e7fac0493d55d1dd590b1dd421270ae74550eb2d6585f82605f4d8aaa839", kill_on_drop: false }` [INFO] [stdout] 09a4e7fac0493d55d1dd590b1dd421270ae74550eb2d6585f82605f4d8aaa839