[INFO] fetching crate tket2-hseries 0.1.1... [INFO] checking tket2-hseries-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tket2-hseries 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate tket2-hseries 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 tket2-hseries 0.1.1 [INFO] finished tweaking crates.io crate tket2-hseries 0.1.1 [INFO] tweaked toml for crates.io crate tket2-hseries 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding hugr v0.11.0 (latest: v0.12.0) [INFO] [stderr] Adding hugr-core v0.8.0 (latest: v0.9.0) [INFO] [stderr] Adding hugr-passes v0.7.0 (latest: v0.8.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding tket-json-rs v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7135c4f991c0f81ccc6dbfeea21965964a12750b8513f536a489a625ee2e4d20 [INFO] running `Command { std: "docker" "start" "-a" "7135c4f991c0f81ccc6dbfeea21965964a12750b8513f536a489a625ee2e4d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7135c4f991c0f81ccc6dbfeea21965964a12750b8513f536a489a625ee2e4d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7135c4f991c0f81ccc6dbfeea21965964a12750b8513f536a489a625ee2e4d20", kill_on_drop: false }` [INFO] [stdout] 7135c4f991c0f81ccc6dbfeea21965964a12750b8513f536a489a625ee2e4d20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9f31fcc0b1fc6afbf9fcd974a4567c69d35c823e895353b8443a3ddcf6365efb [INFO] running `Command { std: "docker" "start" "-a" "9f31fcc0b1fc6afbf9fcd974a4567c69d35c823e895353b8443a3ddcf6365efb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Compiling delegate v0.12.0 [INFO] [stderr] Checking context-iterators v0.2.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking priority-queue v2.1.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking tket-json-rs v0.5.1 [INFO] [stderr] Checking portgraph v0.12.2 [INFO] [stderr] Checking hugr-core v0.8.0 [INFO] [stderr] Checking hugr-passes v0.7.0 [INFO] [stderr] Checking hugr v0.11.0 [INFO] [stderr] Checking tket2 v0.1.1 [INFO] [stderr] Checking tket2-hseries 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/extension/futures.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn future_custom_type(t: Type) -> CustomType { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | CustomType::new( [INFO] [stdout] 61 | FUTURE_TYPE_NAME.to_owned(), [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/extension/futures.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn future_custom_type(t: Type) -> CustomType { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | EXTENSION_ID, [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/extension/futures.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn future_type(t: Type) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | future_custom_type(t).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/extension/result.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 183 | fn array_type(inner_t: Type) -> Type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | prelude::array_type(TypeArg::new_var_use(1, TypeParam::max_nat()), inner_t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extension/result.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | let err = || hugr::extension::SignatureError::InvalidTypeArgs.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/lazify_measure.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | ... .filter_map(|n| match hugr.get_optype(n).try_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/lazify_measure.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 125 | let mut out_types = vec![QB_T]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut builder = DFGBuilder::new(Signature::new(QB_T, out_types)).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | / builder [INFO] [stdout] 151 | | .finish_hugr_with_outputs(rs, &quantum_lazy::REGISTRY) [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/lazify_measure.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | .map(|r| builder.add_read(r, BOOL_T).unwrap()[0]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lazify_measure.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 166 | let replacement_hugr = measure_replacement(num_uses_of_bool); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let nu_out_set = nu_out.keys().copied().collect(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | SimpleReplacement::new(g, replacement_hugr, nu_inp, nu_out), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tket2-hseries` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extension/futures.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn future_custom_type(t: Type) -> CustomType { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | CustomType::new( [INFO] [stdout] 61 | FUTURE_TYPE_NAME.to_owned(), [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/extension/futures.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn future_custom_type(t: Type) -> CustomType { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | EXTENSION_ID, [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/extension/futures.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn future_type(t: Type) -> Type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | future_custom_type(t).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/extension/futures.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 274 | fn get_opdef(op: impl NamedOp) -> Option<&'static Arc> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | EXTENSION.get_op(&op.name()) [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/extension/futures.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 289 | let typ = Type::UNIT; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | / FutureOp { [INFO] [stdout] 293 | | op: FutureOpDef::Free, [INFO] [stdout] 294 | | typ: typ.clone() [INFO] [stdout] 295 | | }, [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/extension/futures.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 289 | let typ = Type::UNIT; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | FutureOpDef::Free.instantiate(&[typ.into()]).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/extension/quantum_lazy.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 132 | fn get_opdef(op: impl NamedOp) -> Option<&'static Arc> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | EXTENSION.get_op(&op.name()) [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/extension/result.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 183 | fn array_type(inner_t: Type) -> Type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | prelude::array_type(TypeArg::new_var_use(1, TypeParam::max_nat()), inner_t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extension/result.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | let err = || hugr::extension::SignatureError::InvalidTypeArgs.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/extension/result.rs:432:27 [INFO] [stdout] | [INFO] [stdout] 431 | fn get_opdef(op: impl NamedOp) -> Option<&'static Arc> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | EXTENSION.get_op(&op.name()) [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/extension/result.rs:457:37 [INFO] [stdout] | [INFO] [stdout] 457 | .map(|t| array_type(TypeArg::BoundedNat { n: ARR_SIZE }, t)) [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/lazify_measure.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | ... .filter_map(|n| match hugr.get_optype(n).try_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/lazify_measure.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 125 | let mut out_types = vec![QB_T]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut builder = DFGBuilder::new(Signature::new(QB_T, out_types)).unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | / builder [INFO] [stdout] 151 | | .finish_hugr_with_outputs(rs, &quantum_lazy::REGISTRY) [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/lazify_measure.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | .map(|r| builder.add_read(r, BOOL_T).unwrap()[0]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lazify_measure.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 166 | let replacement_hugr = measure_replacement(num_uses_of_bool); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let nu_out_set = nu_out.keys().copied().collect(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | SimpleReplacement::new(g, replacement_hugr, nu_inp, nu_out), [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/lib.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | .filter(|&&n| FutureOpDef::try_from(hugr.get_optype(n)) == Ok(FutureOpDef::Read)) [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/lib.rs:167:72 [INFO] [stdout] | [INFO] [stdout] 167 | .filter(|&&n| FutureOpDef::try_from(hugr.get_optype(n)) == Ok(FutureOpDef::Read)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tket2-hseries` (lib test) due to 18 previous errors [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9f31fcc0b1fc6afbf9fcd974a4567c69d35c823e895353b8443a3ddcf6365efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f31fcc0b1fc6afbf9fcd974a4567c69d35c823e895353b8443a3ddcf6365efb", kill_on_drop: false }` [INFO] [stdout] 9f31fcc0b1fc6afbf9fcd974a4567c69d35c823e895353b8443a3ddcf6365efb