[INFO] fetching crate oq3_semantics 0.6.0... [INFO] checking oq3_semantics-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oq3_semantics 0.6.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate oq3_semantics 0.6.0 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 oq3_semantics 0.6.0 [INFO] finished tweaking crates.io crate oq3_semantics 0.6.0 [INFO] tweaked toml for crates.io crate oq3_semantics 0.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate oq3_semantics 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1d57b9e95c9d02f338707cccd251c89bbfaa69925fa954c443b326eca63c8360 [INFO] running `Command { std: "docker" "start" "-a" "1d57b9e95c9d02f338707cccd251c89bbfaa69925fa954c443b326eca63c8360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d57b9e95c9d02f338707cccd251c89bbfaa69925fa954c443b326eca63c8360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d57b9e95c9d02f338707cccd251c89bbfaa69925fa954c443b326eca63c8360", kill_on_drop: false }` [INFO] [stdout] 1d57b9e95c9d02f338707cccd251c89bbfaa69925fa954c443b326eca63c8360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1e3a5303d54c80d43029b405f55a76a6436bde5c048929c9aae1dc37431ef705 [INFO] running `Command { std: "docker" "start" "-a" "1e3a5303d54c80d43029b405f55a76a6436bde5c048929c9aae1dc37431ef705", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling xshell-macros v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking always-assert v0.1.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ra_ap_limit v0.0.188 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking oq3_lexer v0.6.0 [INFO] [stderr] Checking jod-thread v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking cov-mark v2.0.0-pre.1 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking oq3_parser v0.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking triomphe v0.1.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking xshell v0.2.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rowan v0.15.15 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking concolor v0.1.1 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ra_ap_stdx v0.0.188 [INFO] [stderr] Checking oq3_syntax v0.6.0 [INFO] [stderr] Checking oq3_source_file v0.6.0 [INFO] [stderr] Compiling boolenum v0.1.0 [INFO] [stderr] Checking oq3_semantics v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/asg.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn to_stmt(self) -> Stmt { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Stmt::AnnotatedStmt(Box::new(self)) [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/asg.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | Expr::IndexExpression(Box::new(self)) [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/asg.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn to_texpr(self) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | TExpr::new(self.to_expr(), Type::ToDo) [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/asg.rs:303:20 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn to_texpr(self) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | TExpr::new(Expr::Return(Box::new(self)), return_type) [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/asg.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn to_texpr(self) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | TExpr::new(Expr::IndexedIdentifier(self), Type::ToDo) [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/asg.rs:459:32 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn to_stmt(self) -> Stmt { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 459 | Stmt::DeclareClassical(Box::new(self)) [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/asg.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn to_stmt(self) -> Stmt { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 559 | Stmt::Alias(Box::new(self)) [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/asg.rs:692:20 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn to_texpr(self) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | TExpr::new(Expr::MeasureExpression(Box::new(self)), out_type) [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/asg.rs:757:20 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn to_texpr(self, typ: Type) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 757 | TExpr::new(Expr::GateOperand(self), typ) [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/asg.rs:894:20 [INFO] [stdout] | [INFO] [stdout] 893 | pub fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 894 | Expr::Cast(Box::new(self)) [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/asg.rs:899:20 [INFO] [stdout] | [INFO] [stdout] 897 | pub fn to_texpr(self) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 898 | let typ = self.get_type().clone(); [INFO] [stdout] 899 | TExpr::new(self.to_expr(), typ) [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/asg.rs:1248:26 [INFO] [stdout] | [INFO] [stdout] 1247 | pub fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1248 | Expr::BinaryExpr(Box::new(self)) [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/asg.rs:1252:20 [INFO] [stdout] | [INFO] [stdout] 1251 | pub fn to_texpr(self, typ: Type) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1252 | TExpr::new(self.to_expr(), typ) [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/asg.rs:1309:31 [INFO] [stdout] | [INFO] [stdout] 1308 | pub fn to_expr(self) -> Expr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1309 | Expr::RangeExpression(Box::new(self)) [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/asg.rs:1313:20 [INFO] [stdout] | [INFO] [stdout] 1312 | pub fn to_texpr(self) -> TExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1313 | TExpr::new(self.to_expr(), Type::Range) [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/syntax_to_semantics.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 117 | fn analyze_source(parsed_source: T) -> ParseResult { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let file_path = parsed_source.file_path(); [INFO] [stdout] 119 | let context = Context::new(file_path.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let errors = SemanticErrorList::new(file_path); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | let (mut context, errors) = syntax_to_semantic(&parsed_source, context, errors); [INFO] [stdout] | ------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | context: context.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syntax_to_semantics.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 405 | let gate_operands = barrier.qubit_list().map(|operands| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | / operands [INFO] [stdout] 407 | | .gate_operands() [INFO] [stdout] 408 | | .map(|qubit| from_gate_operand(qubit, context)) [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/syntax_to_semantics.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 415 | let gate_operands = delay_stmt.qubit_list().map(|operands| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 416 | / operands [INFO] [stdout] 417 | | .gate_operands() [INFO] [stdout] 418 | | .map(|qubit| from_gate_operand(qubit, context)) [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/syntax_to_semantics.rs:492:11 [INFO] [stdout] | [INFO] [stdout] 487 | fn from_expr_stmt(expr_stmt: synast::ExprStmt, context: &mut Context) -> Option { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | match expr_stmt.expr() { [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/syntax_to_semantics.rs:546:27 [INFO] [stdout] | [INFO] [stdout] 546 | |ex| Some(asg::Stmt::ExprStmt(ex)), [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/syntax_to_semantics.rs:553:15 [INFO] [stdout] | [INFO] [stdout] 552 | fn from_paren_expr(paren_expr: synast::ParenExpr, context: &mut Context) -> Option { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | from_expr(paren_expr.expr(), context) [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/syntax_to_semantics.rs:732:29 [INFO] [stdout] | [INFO] [stdout] 729 | set_expression: synast::SetExpression, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 732 | asg::SetExpression::new(inner_expression_list( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 733 | | set_expression.expression_list().unwrap(), [INFO] [stdout] 734 | | context, [INFO] [stdout] 735 | | )) [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/syntax_to_semantics.rs:806:10 [INFO] [stdout] | [INFO] [stdout] 750 | gate_call_expr: synast::GateCallExpr, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 751 | modifiers: Vec, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 756 | let gate_operands: Vec<_> = gate_call_expr [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 763 | let param_list = gate_call_expr [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 770 | let gate_id = gate_call_expr.identifier(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 806 | Some(asg::Stmt::GateCall(asg::GateCall::new( [INFO] [stdout] | __________^ [INFO] [stdout] 807 | | symbol_result, [INFO] [stdout] 808 | | param_list, [INFO] [stdout] 809 | | gate_operands, [INFO] [stdout] 810 | | modifiers, [INFO] [stdout] 811 | | ))) [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/syntax_to_semantics.rs:765:41 [INFO] [stdout] | [INFO] [stdout] 765 | .map(|ex| inner_expression_list(ex.expression_list().unwrap(), context)); [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/syntax_to_semantics.rs:840:11 [INFO] [stdout] | [INFO] [stdout] 837 | index_op: synast::IndexOperator, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 840 | match index_op.index_kind().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syntax_to_semantics.rs:855:30 [INFO] [stdout] | [INFO] [stdout] 852 | expression_list: synast::ExpressionList, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 855 | asg::ExpressionList::new(inner_expression_list(expression_list, context)) [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/syntax_to_semantics.rs:863:5 [INFO] [stdout] | [INFO] [stdout] 860 | expression_list: synast::ExpressionList, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 863 | / expression_list [INFO] [stdout] 864 | | .exprs() [INFO] [stdout] 865 | | .filter_map(|x| from_expr(Some(x), context)) [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/syntax_to_semantics.rs:865:35 [INFO] [stdout] | [INFO] [stdout] 865 | .filter_map(|x| from_expr(Some(x), context)) [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/syntax_to_semantics.rs:929:5 [INFO] [stdout] | [INFO] [stdout] 928 | fn statement_list_from_block(block: synast::BlockExpr, context: &mut Context) -> Vec { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 929 | / block [INFO] [stdout] 930 | | .statements() [INFO] [stdout] 931 | | .filter_map(|syn_stmt| from_stmt(syn_stmt, context)) [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/syntax_to_semantics.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 935 | fn from_block_expr(block_synast: synast::BlockExpr, context: &mut Context) -> asg::Block { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 936 | asg::Block::new(statement_list_from_block(block_synast, context)) [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/syntax_to_semantics.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1021 | let scalar_type = type_decl.scalar_type().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1024 | let initializer = from_expr(type_decl.expr(), context); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1064 | asg::DeclareClassical::new(symbol_id, initializer).to_stmt() [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/syntax_to_semantics.rs:1160:10 [INFO] [stdout] | [INFO] [stdout] 1091 | let nameb = assignment_stmt.identifier(); // LHS of assignment [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1139 | let indexed_identifier_ast = assignment_stmt.indexed_identifier().unwrap(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1140 | let (indexed_identifier, typ) = ast_indexed_identifier(&indexed_identifier_ast, context); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1158 | let expr = from_expr(assignment_stmt.rhs(), context).unwrap(); // rhs of `=` operator [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1159 | let lvalue = asg::LValue::IndexedIdentifier(indexed_identifier); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1160 | Some(asg::Assignment::new(lvalue, expr).to_stmt()) [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/syntax_to_semantics.rs:1201:6 [INFO] [stdout] | [INFO] [stdout] 1197 | let indexes = indexed_identifier [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1201 | (asg::IndexedIdentifier::new(symbol_id, indexes), typ) [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/syntax_to_semantics.rs:1212:9 [INFO] [stdout] | [INFO] [stdout] 1211 | inparam_list.map(|param_list| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1212 | / param_list [INFO] [stdout] 1213 | | .params() [INFO] [stdout] 1214 | | .map(|param| context.new_binding(param.text().as_ref(), typ, ¶m)) [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/syntax_to_semantics.rs:1214:46 [INFO] [stdout] | [INFO] [stdout] 1214 | .map(|param| context.new_binding(param.text().as_ref(), typ, ¶m)) [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/syntax_to_semantics.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1223 | inparam_list.map(|param_list| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1224 | / param_list [INFO] [stdout] 1225 | | .typed_params() [INFO] [stdout] 1226 | | .map(|param| { [INFO] [stdout] 1227 | | let typ = from_scalar_type(¶m.scalar_type().unwrap(), false, context); [INFO] [stdout] 1228 | | let namestr = param.name().unwrap().string(); [INFO] [stdout] 1229 | | context.new_binding(namestr.as_ref(), &typ, ¶m) [INFO] [stdout] 1230 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oq3_semantics` (lib) due to 37 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1e3a5303d54c80d43029b405f55a76a6436bde5c048929c9aae1dc37431ef705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3a5303d54c80d43029b405f55a76a6436bde5c048929c9aae1dc37431ef705", kill_on_drop: false }` [INFO] [stdout] 1e3a5303d54c80d43029b405f55a76a6436bde5c048929c9aae1dc37431ef705