[INFO] fetching crate q1tsim 0.5.0... [INFO] checking q1tsim-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate q1tsim 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate q1tsim 0.5.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 q1tsim 0.5.0 [INFO] finished tweaking crates.io crate q1tsim 0.5.0 [INFO] tweaked toml for crates.io crate q1tsim 0.5.0 written to /workspace/builds/worker-5-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 89 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding criterion v0.2.11 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.7.11 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.13.0) [INFO] [stderr] Adding matrixmultiply v0.1.15 (latest: v0.3.9) [INFO] [stderr] Adding ndarray v0.12.1 (latest: v0.16.1) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_distr v0.2.2 (latest: v0.4.3) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_xoshiro v0.1.0 (latest: v0.6.0) [INFO] [stderr] Adding rawpointer v0.1.0 (latest: v0.2.1) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding statrs v0.7.0 (latest: v0.17.1) [INFO] [stderr] Adding syn v0.14.9 (latest: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6a9b7e9c4650a6a3047a154e722d5d04894d5a5f671ddcdc2ec5f992cb6af612 [INFO] running `Command { std: "docker" "start" "-a" "6a9b7e9c4650a6a3047a154e722d5d04894d5a5f671ddcdc2ec5f992cb6af612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a9b7e9c4650a6a3047a154e722d5d04894d5a5f671ddcdc2ec5f992cb6af612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9b7e9c4650a6a3047a154e722d5d04894d5a5f671ddcdc2ec5f992cb6af612", kill_on_drop: false }` [INFO] [stdout] 6a9b7e9c4650a6a3047a154e722d5d04894d5a5f671ddcdc2ec5f992cb6af612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 38d888bbbb418d638407f3f78ee4c449d2f421cabfbb7e214327a4f852a88a1c [INFO] running `Command { std: "docker" "start" "-a" "38d888bbbb418d638407f3f78ee4c449d2f421cabfbb7e214327a4f852a88a1c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_hc v0.2.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking statrs v0.7.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Compiling q1tsim-derive v0.1.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking q1tsim v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gates/composite.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | gate: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | gate: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circuit.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | Gate(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | Gate(Box, Vec), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circuit.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | ConditionalGate(Vec, u64, Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | ConditionalGate(Vec, u64, Box, Vec), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/export.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn as_gate(&self) -> &Gate; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn as_gate(&self) -> &dyn Gate; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/export.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | fn as_gate(&self) -> &Gate [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn as_gate(&self) -> &dyn Gate [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/circuit.rs:1269:18 [INFO] [stdout] | [INFO] [stdout] 1269 | );* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gates/composite.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | gate: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | gate: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circuit.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | Gate(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | Gate(Box, Vec), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/circuit.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | ConditionalGate(Vec, u64, Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | ConditionalGate(Vec, u64, Box, Vec), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/export.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn as_gate(&self) -> &Gate; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn as_gate(&self) -> &dyn Gate; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/export.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | fn as_gate(&self) -> &Gate [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn as_gate(&self) -> &dyn Gate [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | / declare_controlled!( [INFO] [stdout] 370 | | /// Controlled `R``X` gate. [INFO] [stdout] 371 | | CRX, crate::gates::RX, [INFO] [stdout] 372 | | cost=2.0*CX::cost() + crate::gates::U1::cost() + 2.0*crate::gates::U3::cost(), [INFO] [stdout] ... | [INFO] [stdout] 379 | | ry {1}, {0.5 * {theta}} [INFO] [stdout] 380 | | sdag {1}"#); [INFO] [stdout] | |___________- in this macro invocation [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] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | / declare_controlled!( [INFO] [stdout] 382 | | /// Controlled `R``Y` gate. [INFO] [stdout] 383 | | CRY, crate::gates::RY, [INFO] [stdout] 384 | | cost=2.0*CX::cost() + 2.0*crate::gates::U3::cost(), [INFO] [stdout] 385 | | arg=theta, [INFO] [stdout] 386 | | open_qasm="cx {0}, {1}; u3(-{theta}/2, 0, 0) {1}; cx {0}, {1}; u3({theta}/2, 0, 0) {1}", [INFO] [stdout] 387 | | c_qasm="cnot {0}, {1}\nry {1}, -{0.5 * {theta}}\ncnot {0}, {1}\nry {1}, {0.5 * {theta}}"); [INFO] [stdout] | |_____________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | / declare_controlled!( [INFO] [stdout] 389 | | /// Controlled `R``Z` gate. [INFO] [stdout] 390 | | CRZ, crate::gates::RZ, [INFO] [stdout] 391 | | cost=2.0*CX::cost() + 2.0*crate::gates::U1::cost(), [INFO] [stdout] 392 | | arg=lambda); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | / declare_controlled!( [INFO] [stdout] 417 | | /// Controlled `U``1` gate. [INFO] [stdout] 418 | | CU1, crate::gates::U1, [INFO] [stdout] 419 | | cost=2.0*CX::cost() + 3.0*crate::gates::U1::cost(), [INFO] [stdout] 420 | | arg=lambda, [INFO] [stdout] 421 | | c_qasm="cr {0}, {1}, {lambda}"); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | / declare_controlled!( [INFO] [stdout] 451 | | /// Doubly controlled `R``X` gate. [INFO] [stdout] 452 | | CCRX, crate::gates::CRX, [INFO] [stdout] 453 | | cost=2.0*CX::cost() + 3.0*CRX::cost(), [INFO] [stdout] ... | [INFO] [stdout] 470 | | ry {2}, {0.25 * {theta}} [INFO] [stdout] 471 | | sdag {2}"#); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / declare_controlled!( [INFO] [stdout] 473 | | /// Doubly controlled `R``Y` gate. [INFO] [stdout] 474 | | CCRY, crate::gates::CRY, [INFO] [stdout] 475 | | cost=6.0 * crate::gates::U3::cost() + 8.0*CX::cost(), [INFO] [stdout] ... | [INFO] [stdout] 490 | | cnot {0}, {2} [INFO] [stdout] 491 | | ry {2}, {0.25 * {theta}}"#); [INFO] [stdout] | |___________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / declare_controlled!( [INFO] [stdout] 493 | | /// Doubly controlled `R``Z` gate. [INFO] [stdout] 494 | | CCRZ, crate::gates::CRZ, [INFO] [stdout] 495 | | cost=2.0*CX::cost() + 3.0*CRZ::cost(), [INFO] [stdout] ... | [INFO] [stdout] 501 | | cnot {0}, {1} [INFO] [stdout] 502 | | cr {0}, {2}, {0.5 * {lambda}}"#); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/composite.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(gate: G, bits: &[usize]) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | gate: Box::new(gate), [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: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/ffi.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { ::std::ffi::CString::from_raw(ptr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { let _ = ::std::ffi::CString::from_raw(ptr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ffi.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe { Box::from_raw(ptr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | unsafe { let _ = Box::from_raw(ptr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `q1tsim` (lib) due to 9 previous errors; 7 warnings 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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | / declare_controlled!( [INFO] [stdout] 370 | | /// Controlled `R``X` gate. [INFO] [stdout] 371 | | CRX, crate::gates::RX, [INFO] [stdout] 372 | | cost=2.0*CX::cost() + crate::gates::U1::cost() + 2.0*crate::gates::U3::cost(), [INFO] [stdout] ... | [INFO] [stdout] 379 | | ry {1}, {0.5 * {theta}} [INFO] [stdout] 380 | | sdag {1}"#); [INFO] [stdout] | |___________- in this macro invocation [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] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | / declare_controlled!( [INFO] [stdout] 382 | | /// Controlled `R``Y` gate. [INFO] [stdout] 383 | | CRY, crate::gates::RY, [INFO] [stdout] 384 | | cost=2.0*CX::cost() + 2.0*crate::gates::U3::cost(), [INFO] [stdout] 385 | | arg=theta, [INFO] [stdout] 386 | | open_qasm="cx {0}, {1}; u3(-{theta}/2, 0, 0) {1}; cx {0}, {1}; u3({theta}/2, 0, 0) {1}", [INFO] [stdout] 387 | | c_qasm="cnot {0}, {1}\nry {1}, -{0.5 * {theta}}\ncnot {0}, {1}\nry {1}, {0.5 * {theta}}"); [INFO] [stdout] | |_____________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | / declare_controlled!( [INFO] [stdout] 389 | | /// Controlled `R``Z` gate. [INFO] [stdout] 390 | | CRZ, crate::gates::RZ, [INFO] [stdout] 391 | | cost=2.0*CX::cost() + 2.0*crate::gates::U1::cost(), [INFO] [stdout] 392 | | arg=lambda); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | / declare_controlled!( [INFO] [stdout] 417 | | /// Controlled `U``1` gate. [INFO] [stdout] 418 | | CU1, crate::gates::U1, [INFO] [stdout] 419 | | cost=2.0*CX::cost() + 3.0*crate::gates::U1::cost(), [INFO] [stdout] 420 | | arg=lambda, [INFO] [stdout] 421 | | c_qasm="cr {0}, {1}, {lambda}"); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | / declare_controlled!( [INFO] [stdout] 451 | | /// Doubly controlled `R``X` gate. [INFO] [stdout] 452 | | CCRX, crate::gates::CRX, [INFO] [stdout] 453 | | cost=2.0*CX::cost() + 3.0*CRX::cost(), [INFO] [stdout] ... | [INFO] [stdout] 470 | | ry {2}, {0.25 * {theta}} [INFO] [stdout] 471 | | sdag {2}"#); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | / declare_controlled!( [INFO] [stdout] 473 | | /// Doubly controlled `R``Y` gate. [INFO] [stdout] 474 | | CCRY, crate::gates::CRY, [INFO] [stdout] 475 | | cost=6.0 * crate::gates::U3::cost() + 8.0*CX::cost(), [INFO] [stdout] ... | [INFO] [stdout] 490 | | cnot {0}, {2} [INFO] [stdout] 491 | | ry {2}, {0.25 * {theta}}"#); [INFO] [stdout] | |___________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/controlled.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new($arg: T) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | $arg: $crate::gates::Parameter::from($arg.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | / declare_controlled!( [INFO] [stdout] 493 | | /// Doubly controlled `R``Z` gate. [INFO] [stdout] 494 | | CCRZ, crate::gates::CRZ, [INFO] [stdout] 495 | | cost=2.0*CX::cost() + 3.0*CRZ::cost(), [INFO] [stdout] ... | [INFO] [stdout] 501 | | cnot {0}, {1} [INFO] [stdout] 502 | | cr {0}, {2}, {0.5 * {lambda}}"#); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_controlled_impl` which comes from the expansion of the macro `declare_controlled` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gates/composite.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(gate: G, bits: &[usize]) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | gate: Box::new(gate), [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: panic message is not a string literal [INFO] [stdout] --> src/gates/composite.rs:948:34 [INFO] [stdout] | [INFO] [stdout] 948 | Err(err) => { panic!(err); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 948 | Err(err) => { panic!("{}", err); } [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 948 | Err(err) => { std::panic::panic_any(err); } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gates/composite.rs:960:34 [INFO] [stdout] | [INFO] [stdout] 960 | Err(err) => { panic!(err); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 960 | Err(err) => { panic!("{}", err); } [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 960 | Err(err) => { std::panic::panic_any(err); } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gates/composite.rs:1244:34 [INFO] [stdout] | [INFO] [stdout] 1244 | Err(err) => { panic!(err); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1244 | Err(err) => { panic!("{}", err); } [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1244 | Err(err) => { std::panic::panic_any(err); } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gates/composite.rs:1259:34 [INFO] [stdout] | [INFO] [stdout] 1259 | Err(err) => { panic!(err); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1259 | Err(err) => { panic!("{}", err); } [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1259 | Err(err) => { std::panic::panic_any(err); } [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1453 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1454 | | add_gate(X::new(), &[0]); [INFO] [stdout] 1455 | | add_gate(X::new(), &[1]); [INFO] [stdout] 1456 | | add_gate(CX::new(), &[0, 1]); [INFO] [stdout] 1457 | | measure(0, 0); [INFO] [stdout] 1458 | | measure(1, 1); [INFO] [stdout] 1459 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1470 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1471 | | x(0); [INFO] [stdout] 1472 | | measure(0, 0); [INFO] [stdout] 1473 | | measure(1, 1); [INFO] [stdout] 1474 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1479 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1480 | | x(0); [INFO] [stdout] 1481 | | measure_x(0, 0); [INFO] [stdout] 1482 | | measure_x(1, 1); [INFO] [stdout] 1483 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1490 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1491 | | x(0); [INFO] [stdout] 1492 | | h(0); [INFO] [stdout] 1493 | | h(1); [INFO] [stdout] 1494 | | measure_x(0, 0); [INFO] [stdout] 1495 | | measure_x(1, 1); [INFO] [stdout] 1496 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1501 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1502 | | x(0); [INFO] [stdout] 1503 | | measure_y(0, 0); [INFO] [stdout] 1504 | | measure_y(1, 1); [INFO] [stdout] 1505 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1519 | let mut circuit = circuit!(1, 3, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1520 | | h(0); [INFO] [stdout] 1521 | | peek(0, 0); [INFO] [stdout] 1522 | | h(0); [INFO] [stdout] ... | [INFO] [stdout] 1525 | | peek(0, 2); [INFO] [stdout] 1526 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1538 | let mut circuit = circuit!(2, 6, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1539 | | h(0); [INFO] [stdout] 1540 | | h(1); [INFO] [stdout] 1541 | | peek(0, 0); [INFO] [stdout] ... | [INFO] [stdout] 1545 | | peek(0, 2); [INFO] [stdout] 1546 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1575 | let mut circuit = circuit!(1, 3, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1576 | | peek_x(0, 0); [INFO] [stdout] 1577 | | h(0); [INFO] [stdout] 1578 | | peek_x(0, 1); [INFO] [stdout] 1579 | | h(0); [INFO] [stdout] 1580 | | peek_x(0, 2); [INFO] [stdout] 1581 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1593 | let mut circuit = circuit!(2, 6, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1594 | | peek_y(0, 0); [INFO] [stdout] 1595 | | h(0); [INFO] [stdout] 1596 | | peek_y(0, 1); [INFO] [stdout] 1597 | | sdg(0); [INFO] [stdout] 1598 | | peek_y(0, 2); [INFO] [stdout] 1599 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1615 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1616 | | add_conditional_gate(&[0, 1], 1, X::new(), &[1]); [INFO] [stdout] 1617 | | measure_all(&[0, 1]); [INFO] [stdout] 1618 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1653 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1654 | | x(0); [INFO] [stdout] 1655 | | measure_all(&[0, 1]); [INFO] [stdout] 1656 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1661 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1662 | | x(0); [INFO] [stdout] 1663 | | measure_all(&[1, 0]); [INFO] [stdout] 1664 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1669 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1670 | | h(0); [INFO] [stdout] 1671 | | h(1); [INFO] [stdout] 1672 | | measure_all(&[0, 1]); [INFO] [stdout] 1673 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1687 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1688 | | h(0); [INFO] [stdout] 1689 | | h(1); [INFO] [stdout] 1690 | | measure_all_basis(&[0, 1], Basis::X); [INFO] [stdout] 1691 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1696 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1697 | | x(0); [INFO] [stdout] 1698 | | h(0); [INFO] [stdout] 1699 | | h(1); [INFO] [stdout] 1700 | | measure_all_basis(&[0, 1], Basis::X); [INFO] [stdout] 1701 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1706 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1707 | | x(0); [INFO] [stdout] 1708 | | h(0); [INFO] [stdout] 1709 | | h(1); [INFO] [stdout] ... | [INFO] [stdout] 1712 | | measure_all_basis(&[0, 1], Basis::Y); [INFO] [stdout] 1713 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1718 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1719 | | measure_all_basis(&[0, 1], Basis::Y); [INFO] [stdout] 1720 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1734 | let mut circuit = circuit!(1, 3, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1735 | | h(0); [INFO] [stdout] 1736 | | peek_all(&[0]); [INFO] [stdout] 1737 | | h(0); [INFO] [stdout] ... | [INFO] [stdout] 1740 | | peek_all(&[2]); [INFO] [stdout] 1741 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1753 | let mut circuit = circuit!(2, 6, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1754 | | h(0); [INFO] [stdout] 1755 | | h(1); [INFO] [stdout] 1756 | | peek_all(&[0, 1]); [INFO] [stdout] ... | [INFO] [stdout] 1760 | | peek_all(&[4, 5]); [INFO] [stdout] 1761 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1793 | let mut circuit = circuit!(1, 3, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1794 | | peek_all_basis(&[0], Basis::X); [INFO] [stdout] 1795 | | h(0); [INFO] [stdout] 1796 | | peek_all_basis(&[1], Basis::X); [INFO] [stdout] 1797 | | h(0); [INFO] [stdout] 1798 | | peek_all_basis(&[2], Basis::X); [INFO] [stdout] 1799 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1811 | let mut circuit = circuit!(2, 6, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1812 | | h(0); [INFO] [stdout] 1813 | | h(1); [INFO] [stdout] 1814 | | peek_all_basis(&[0, 1], Basis::Y); [INFO] [stdout] ... | [INFO] [stdout] 1818 | | peek_all_basis(&[4, 5], Basis::Y); [INFO] [stdout] 1819 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1850 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1851 | | add_gate(H::new(), &[0]); [INFO] [stdout] 1852 | | add_gate(H::new(), &[1]); [INFO] [stdout] 1853 | | measure(0, 0); [INFO] [stdout] 1854 | | measure(1, 1); [INFO] [stdout] 1855 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1876 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1877 | | add_gate(H::new(), &[0]); [INFO] [stdout] 1878 | | add_gate(H::new(), &[1]); [INFO] [stdout] 1879 | | measure(0, 0); [INFO] [stdout] 1880 | | measure(1, 1); [INFO] [stdout] 1881 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1897 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1898 | | add_gate(H::new(), &[0]); [INFO] [stdout] 1899 | | add_gate(H::new(), &[1]); [INFO] [stdout] 1900 | | measure(0, 0); [INFO] [stdout] 1901 | | measure(1, 1); [INFO] [stdout] 1902 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1923 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1924 | | h(0); [INFO] [stdout] 1925 | | z(0); [INFO] [stdout] 1926 | | reset(0); [INFO] [stdout] 1927 | | measure(0, 0); [INFO] [stdout] 1928 | | measure(1, 1); [INFO] [stdout] 1929 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1934 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1935 | | h(0); [INFO] [stdout] 1936 | | z(0); [INFO] [stdout] 1937 | | x(1); [INFO] [stdout] ... | [INFO] [stdout] 1940 | | measure(1, 1); [INFO] [stdout] 1941 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1946 | let mut circuit = circuit!(2, 2, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1947 | | h(0); [INFO] [stdout] 1948 | | z(0); [INFO] [stdout] 1949 | | h(1); [INFO] [stdout] ... | [INFO] [stdout] 1952 | | measure(1, 1); [INFO] [stdout] 1953 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1967 | let mut circuit = circuit!(5, 5, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 1968 | | h(0); [INFO] [stdout] 1969 | | z(0); [INFO] [stdout] 1970 | | x(4); [INFO] [stdout] ... | [INFO] [stdout] 1973 | | measure_all(&[0, 1, 2, 3, 4]); [INFO] [stdout] 1974 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1984 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 1985 | | x(0); [INFO] [stdout] 1986 | | cx(0, 1); [INFO] [stdout] 1987 | | barrier(&[0, 1]); [INFO] [stdout] ... | [INFO] [stdout] 1993 | | measure_y(1, 1); [INFO] [stdout] 1994 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2014 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2015 | | x(0); [INFO] [stdout] 2016 | | measure_all(&[0, 1]); [INFO] [stdout] 2017 | | measure_all(&[1, 0]); [INFO] [stdout] 2018 | | measure_all_basis(&[0, 1], Basis::X); [INFO] [stdout] 2019 | | measure_all_basis(&[0, 1], Basis::Y); [INFO] [stdout] 2020 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2037 | let circuit = circuit!(2, 0, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2038 | | x(0); [INFO] [stdout] 2039 | | h(1); [INFO] [stdout] 2040 | | reset(0); [INFO] [stdout] 2041 | | x(0); [INFO] [stdout] 2042 | | reset_all(); [INFO] [stdout] 2043 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2055 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2056 | | x(0); [INFO] [stdout] 2057 | | measure_all(&[0, 1]); [INFO] [stdout] 2058 | | add_conditional_gate(&[0, 1], 1, X::new(), &[0]); [INFO] [stdout] 2059 | | add_conditional_gate(&[], 1, X::new(), &[1]); [INFO] [stdout] 2060 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2072 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2073 | | add_conditional_gate(&[0], 1, X::new(), &[0]); [INFO] [stdout] 2074 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2081 | let circuit = circuit!(3, 3, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2082 | | x(0); [INFO] [stdout] 2083 | | cx(0, 1); [INFO] [stdout] 2084 | | cx(1, 0); [INFO] [stdout] ... | [INFO] [stdout] 2088 | | measure_y(2, 2); [INFO] [stdout] 2089 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2102 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2103 | | x(0); [INFO] [stdout] 2104 | | h(1); [INFO] [stdout] 2105 | | measure_all(&[0, 1]); [INFO] [stdout] ... | [INFO] [stdout] 2109 | | measure_all_basis(&[0, 1], Basis::Y); [INFO] [stdout] 2110 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2130 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2131 | | x(0); [INFO] [stdout] 2132 | | measure_all(&[0, 1]); [INFO] [stdout] 2133 | | add_conditional_gate(&[0, 1], 1, X::new(), &[0]); [INFO] [stdout] 2134 | | add_conditional_gate(&[], 1, X::new(), &[1]); [INFO] [stdout] 2135 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2147 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2148 | | measure(0, 1); [INFO] [stdout] 2149 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2157 | let circuit = circuit!(2, 2, { [INFO] [stdout] | _______________________- [INFO] [stdout] 2158 | | h(0); [INFO] [stdout] 2159 | | x(1); [INFO] [stdout] 2160 | | measure(0, 0); [INFO] [stdout] ... | [INFO] [stdout] 2167 | | barrier(&[1]); [INFO] [stdout] 2168 | | }).unwrap(); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2210 | let mut circuit = circuit!(nr_qbits, nr_cbits, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 2211 | | h(0); [INFO] [stdout] 2212 | | cx(0, 1); [INFO] [stdout] 2213 | | measure_all(&[0, 1]); [INFO] [stdout] 2214 | | }).expect("Failed to create circuit"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [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/circuit.rs:1270:17 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut circuit = $crate::circuit::Circuit::new($nr_qbits, $nr_cbits); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1270 | Ok(circuit) as $crate::error::Result<$crate::circuit::Circuit> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2223 | let mut circuit = circuit!(nr_qbits, nr_cbits, { [INFO] [stdout] | ___________________________- [INFO] [stdout] 2224 | | h(0); [INFO] [stdout] 2225 | | cx(0, 1); [INFO] [stdout] 2226 | | measure_all(&[0, 1]); [INFO] [stdout] 2227 | | }).expect("Failed to create circuit"); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `circuit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/ffi.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { ::std::ffi::CString::from_raw(ptr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { let _ = ::std::ffi::CString::from_raw(ptr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/ffi.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe { Box::from_raw(ptr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | unsafe { let _ = Box::from_raw(ptr); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `q1tsim` (lib test) due to 49 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38d888bbbb418d638407f3f78ee4c449d2f421cabfbb7e214327a4f852a88a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d888bbbb418d638407f3f78ee4c449d2f421cabfbb7e214327a4f852a88a1c", kill_on_drop: false }` [INFO] [stdout] 38d888bbbb418d638407f3f78ee4c449d2f421cabfbb7e214327a4f852a88a1c