[INFO] fetching crate quil-rs 0.28.1... [INFO] checking quil-rs-0.28.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate quil-rs 0.28.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate quil-rs 0.28.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate quil-rs 0.28.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate quil-rs 0.28.1 [INFO] tweaked toml for crates.io crate quil-rs 0.28.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate quil-rs 0.28.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df533f77734abf71d399f093c5eab0682b056e38090ef17a32a8ece27eb49040 [INFO] running `Command { std: "docker" "start" "-a" "df533f77734abf71d399f093c5eab0682b056e38090ef17a32a8ece27eb49040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df533f77734abf71d399f093c5eab0682b056e38090ef17a32a8ece27eb49040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df533f77734abf71d399f093c5eab0682b056e38090ef17a32a8ece27eb49040", kill_on_drop: false }` [INFO] [stdout] df533f77734abf71d399f093c5eab0682b056e38090ef17a32a8ece27eb49040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66cb49ff03ebc62d56c79ee0f5626e2d6cd86c17fe6a5c8da1c62c5222881a5c [INFO] running `Command { std: "docker" "start" "-a" "66cb49ff03ebc62d56c79ee0f5626e2d6cd86c17fe6a5c8da1c62c5222881a5c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking lexical-util v1.0.2 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking wide v0.7.16 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking lexical-parse-integer v1.0.1 [INFO] [stderr] Checking lexical-write-integer v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking lexical-write-float v1.0.1 [INFO] [stderr] Checking lexical-parse-float v1.0.1 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking lexical-core v1.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Compiling relative-path v1.8.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking nom_locate v4.1.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking lexical v7.0.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking insta v1.37.0 [INFO] [stderr] Checking rasciigraph v0.2.0 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking proptest v1.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking statrs v0.16.0 [INFO] [stderr] Checking quil-rs v0.28.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/lexer/wrapped_parsers.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn tag<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 86 | lit: &'static str, [INFO] [stdout] 87 | ) -> impl FnMut(LexInput<'a>) -> InternalLexResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/token.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn token_with_location<'i, E, P>( [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 50 | mut parser: P, [INFO] [stdout] 51 | ) -> impl FnMut(LexInput<'i>) -> LexResult<'i, TokenWithLocation, E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/program/scheduling/graph.rs:447:38 [INFO] [stdout] | [INFO] [stdout] 278 | impl<'a> ScheduledBasicBlock<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn instructions(&'a self) -> &[&'a Instruction] { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArrayBase>, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instruction/gate.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 187 | let (perm, start) = permutation_arbitrary(qubits, n_qubits); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let v = qubit_adjacent_lifted_gate(start, matrix, n_qubits); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | perm.t().mapv(|c| c.conj()).dot(&v.dot(&perm)) [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: this value of type `ArrayBase>, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instruction/gate.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 407 | let bottom_matrix = Array2::eye(2usize.pow(i as u32)); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 410 | let top_matrix = Array2::eye(2usize.pow(top_qubits as u32)); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | kron(&top_matrix, &kron(matrix, &bottom_matrix)) [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: this value of type `FilterMap, {closure@src/program/scheduling/schedule.rs:224:41: 224:48}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/scheduling/schedule.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 220 | .and_then(|frames| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | / frames [INFO] [stdout] 222 | | .used [INFO] [stdout] 223 | | .into_iter() [INFO] [stdout] 224 | | .filter_map(|frame| { [INFO] [stdout] ... | [INFO] [stdout] 236 | | .and_then(|expression| expression.to_real().ok()) [INFO] [stdout] 237 | | }) [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quil-rs` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/lexer/wrapped_parsers.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn tag<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 86 | lit: &'static str, [INFO] [stdout] 87 | ) -> impl FnMut(LexInput<'a>) -> InternalLexResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/token.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn token_with_location<'i, E, P>( [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 50 | mut parser: P, [INFO] [stdout] 51 | ) -> impl FnMut(LexInput<'i>) -> LexResult<'i, TokenWithLocation, E> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/program/scheduling/graph.rs:447:38 [INFO] [stdout] | [INFO] [stdout] 278 | impl<'a> ScheduledBasicBlock<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn instructions(&'a self) -> &[&'a Instruction] { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/program/scheduling/graph.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArrayBase>, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instruction/gate.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 187 | let (perm, start) = permutation_arbitrary(qubits, n_qubits); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let v = qubit_adjacent_lifted_gate(start, matrix, n_qubits); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | perm.t().mapv(|c| c.conj()).dot(&v.dot(&perm)) [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: this value of type `ArrayBase>, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instruction/gate.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 407 | let bottom_matrix = Array2::eye(2usize.pow(i as u32)); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 410 | let top_matrix = Array2::eye(2usize.pow(top_qubits as u32)); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | kron(&top_matrix, &kron(matrix, &bottom_matrix)) [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: this value of type `memory::MemoryAccesses` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/memory.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 451 | #[case] instruction: Instruction, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | #[case] expected: MemoryAccesses, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 453 | ) { [INFO] [stdout] 454 | let memory_accesses = instruction.get_memory_accesses(); [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: this value of type `std::iter::FilterMap, {closure@src/program/scheduling/schedule.rs:224:41: 224:48}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/scheduling/schedule.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 220 | .and_then(|frames| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | / frames [INFO] [stdout] 222 | | .used [INFO] [stdout] 223 | | .into_iter() [INFO] [stdout] 224 | | .filter_map(|frame| { [INFO] [stdout] ... | [INFO] [stdout] 236 | | .and_then(|expression| expression.to_real().ok()) [INFO] [stdout] 237 | | }) [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: this value of type `instruction::Instruction` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/mod.rs:932:17 [INFO] [stdout] | [INFO] [stdout] 857 | let program = Program::from_str(input).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 932 | let instruction = Instruction::parse(instruction_string).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: this value of type `std::collections::HashSet<&qubit::Qubit>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/mod.rs:1092:41 [INFO] [stdout] | [INFO] [stdout] 1070 | let lhs = Program::from_str(lhs_input).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1073 | let sum = lhs.clone() + rhs.clone(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1074 | let mut in_place_sum = lhs.clone(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1085 | let expected_qubits = expected_qubits.iter().collect::>(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1092 | assert_eq!(expected_qubits, sum.get_used_qubits().iter().collect()); [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: this value of type `program::Program` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/mod.rs:1522:17 [INFO] [stdout] | [INFO] [stdout] 1514 | let program = Program::from_str(input).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1522 | let new_program = Program::from_str(input).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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/expression/mod.rs:583:25 [INFO] [stdout] | [INFO] [stdout] 583 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_ExpressionFunction` [INFO] [stdout] 584 | pub enum ExpressionFunction { [INFO] [stdout] | ------------------ `ExpressionFunction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/expression/mod.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_PrefixOperator` [INFO] [stdout] 611 | pub enum PrefixOperator { [INFO] [stdout] | -------------- `PrefixOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/expression/mod.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_InfixOperator` [INFO] [stdout] 633 | pub enum InfixOperator { [INFO] [stdout] | ------------- `InfixOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quil-rs` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66cb49ff03ebc62d56c79ee0f5626e2d6cd86c17fe6a5c8da1c62c5222881a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cb49ff03ebc62d56c79ee0f5626e2d6cd86c17fe6a5c8da1c62c5222881a5c", kill_on_drop: false }` [INFO] [stdout] 66cb49ff03ebc62d56c79ee0f5626e2d6cd86c17fe6a5c8da1c62c5222881a5c