[INFO] fetching crate quantinuum-hugr 0.2.1... [INFO] checking quantinuum-hugr-0.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate quantinuum-hugr 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate quantinuum-hugr 0.2.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 quantinuum-hugr 0.2.1 [INFO] finished tweaking crates.io crate quantinuum-hugr 0.2.1 [INFO] tweaked toml for crates.io crate quantinuum-hugr 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 256 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding approx v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding delegate v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding delegate v0.12.0 (available: v0.13.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding fancy-regex v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding fraction v0.13.1 (available: v0.15.3) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding jsonschema v0.17.1 (available: v0.20.0) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding portgraph v0.11.0 (available: v0.12.2) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding raw-window-handle v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.22.0) [INFO] [stderr] Adding rstest_macros v0.18.2 (available: v0.22.0) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webbrowser v0.8.15 (available: v1.0.2) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [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] [stderr] Blocking waiting for file lock on package cache [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] ab531de5a0ee55eae3d3da290aaa16748de1d8becc59a9568869e5d685322fed [INFO] running `Command { std: "docker" "start" "-a" "ab531de5a0ee55eae3d3da290aaa16748de1d8becc59a9568869e5d685322fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab531de5a0ee55eae3d3da290aaa16748de1d8becc59a9568869e5d685322fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab531de5a0ee55eae3d3da290aaa16748de1d8becc59a9568869e5d685322fed", kill_on_drop: false }` [INFO] [stdout] ab531de5a0ee55eae3d3da290aaa16748de1d8becc59a9568869e5d685322fed [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] a34a98b7f0f699c78301e83ada0f8586b286f346a5a9b00878263905d79361f5 [INFO] running `Command { std: "docker" "start" "-a" "a34a98b7f0f699c78301e83ada0f8586b286f346a5a9b00878263905d79361f5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling delegate v0.11.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking context-iterators v0.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking fraction v0.13.1 [INFO] [stderr] Checking iso8601 v0.6.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling delegate v0.12.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking portgraph v0.11.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking quantinuum-hugr v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/algorithm/nest_cfgs.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 189 | fn all_edges<'a, T: Copy + Clone + PartialEq + Eq + Hash + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 192 | ) -> impl Iterator> + '_ { [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] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking jsonschema v0.17.1 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/algorithm/nest_cfgs.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 189 | fn all_edges<'a, T: Copy + Clone + PartialEq + Eq + Hash + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 192 | ) -> impl Iterator> + '_ { [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: unexpected `cfg` condition name: `ci_run` [INFO] [stdout] --> src/utils.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(not(ci_run))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci_run)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ci_run)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ci_run` [INFO] [stdout] --> src/utils.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(not(ci_run))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci_run)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ci_run)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `hugr::Hugr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/rewrite/simple_replace.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 351 | #[values(apply_simple, apply_replace)] applicator: impl Fn(&mut Hugr, SimpleReplacement), [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | ) { [INFO] [stdout] 353 | let mut h: Hugr = simple_hugr; [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 `hugr::Hugr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/validate/test.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut b = Hugr::default(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut hugr = b.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), hugr::validate::ValidationError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/validate/test.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 371 | let (h, def) = identity_hugr_with_type(Type::new_extension(t)); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | match h.validate(®) { [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 `types::signature::FunctionType` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/views/sibling.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 442 | fn flat_mut(mut simple_dfg_hugr: Hugr) { [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | let signature = simple_dfg_hugr.get_function_type().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 `hugr::NodeType` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/views/sibling.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 472 | fn sibling_mut_covariance(mut simple_dfg_hugr: Hugr) { [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 473 | let root = simple_dfg_hugr.root(); [INFO] [stdout] 474 | let case_nodetype = NodeType::new_open(crate::ops::Case { [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 `hugr::Hugr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/views/tests.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 38 | sample_hugr: (Hugr, BuildHandle, BuildHandle), [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> Result<(), BuildError> { [INFO] [stdout] 40 | let (h, n1, n2) = sample_hugr; [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 `hugr::Hugr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hugr/views/tests.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 73 | fn all_ports(sample_hugr: (Hugr, BuildHandle, BuildHandle)) { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | use itertools::Itertools; [INFO] [stdout] 75 | let (h, n1, n2) = sample_hugr; [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std_extensions/logic.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 250 | let r: Extension = extension(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | assert_eq!(simpl, &BOOL_T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Test` is never used [INFO] [stdout] --> src/hugr.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 364 | trait Test: Send + Sync {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/hugr/serialize.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quantinuum-hugr` (lib test) due to 9 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a34a98b7f0f699c78301e83ada0f8586b286f346a5a9b00878263905d79361f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34a98b7f0f699c78301e83ada0f8586b286f346a5a9b00878263905d79361f5", kill_on_drop: false }` [INFO] [stdout] a34a98b7f0f699c78301e83ada0f8586b286f346a5a9b00878263905d79361f5