[INFO] fetching crate handlegraph 0.7.0-alpha.9... [INFO] checking handlegraph-0.7.0-alpha.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate handlegraph 0.7.0-alpha.9 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate handlegraph 0.7.0-alpha.9 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 handlegraph 0.7.0-alpha.9 [INFO] finished tweaking crates.io crate handlegraph 0.7.0-alpha.9 [INFO] tweaked toml for crates.io crate handlegraph 0.7.0-alpha.9 written to /workspace/builds/worker-6-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] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding boomphf v0.5.9 (latest: v0.6.0) [INFO] [stderr] Adding bstr v0.2.17 (latest: v1.10.0) [INFO] [stderr] Adding env_logger v0.7.1 (latest: v0.11.5) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding lexical-core v0.7.6 (latest: v0.8.5) [INFO] [stderr] Adding nom v5.1.3 (latest: v7.1.3) [INFO] [stderr] Adding quickcheck v0.9.2 (latest: v1.0.3) [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.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bd4dfacd9d6987bb0c64173767ebf53e93d3e7c1250dcbe37f098beb58514449 [INFO] running `Command { std: "docker" "start" "-a" "bd4dfacd9d6987bb0c64173767ebf53e93d3e7c1250dcbe37f098beb58514449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd4dfacd9d6987bb0c64173767ebf53e93d3e7c1250dcbe37f098beb58514449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4dfacd9d6987bb0c64173767ebf53e93d3e7c1250dcbe37f098beb58514449", kill_on_drop: false }` [INFO] [stdout] bd4dfacd9d6987bb0c64173767ebf53e93d3e7c1250dcbe37f098beb58514449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0cabf67c1f04f652d7eff1a9af33bed542f4fd1126614c6fbcd8d3908bf44c93 [INFO] running `Command { std: "docker" "start" "-a" "0cabf67c1f04f652d7eff1a9af33bed542f4fd1126614c6fbcd8d3908bf44c93", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking wyhash v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking succinct v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking boomphf v0.5.9 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking gfa v0.10.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking handlegraph v0.7.0-alpha.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ByteVec` [INFO] [stdout] --> src/packedgraph.rs:617:31 [INFO] [stdout] | [INFO] [stdout] 617 | use bstr::{ByteSlice, ByteVec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paths::AsStepsRef` [INFO] [stdout] --> src/packedgraph.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | use paths::AsStepsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/disjoint.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | self.data[ix].compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/disjoint.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | let old_parent = self.data[parent_ix].compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/disjoint.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | let _old_rank = self.data[rank_ix].compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/disjoint.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | self.data[ix].compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/disjoint.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | let old_parent = self.data[parent_ix].compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/disjoint.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | let _old_rank = self.data[rank_ix].compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `codec` is never read [INFO] [stdout] --> src/packed/paged.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PagedIntVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | codec: Codec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PagedIntVec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/handlegraph.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 97 | fn has_node>(self, node_id: I) -> bool { [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let node_id = node_id.into(); [INFO] [stdout] 99 | self.handles().any(|h| h.id() == node_id) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | fn degree(self, handle: Handle, dir: Direction) -> usize { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | self.neighbors(handle, dir).count() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn has_edge(self, left: Handle, right: Handle) -> bool { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | self.neighbors(left, Direction::Right).any(|h| h == right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | fn sequence_vec(self, handle: Handle) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | self.sequence(handle).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | fn subsequence(self, handle: Handle, start: usize, len: usize) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | self.sequence(handle).skip(start).take(len).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | fn base(self, handle: Handle, index: usize) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | self.sequence(handle).nth(index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn node_len(self, handle: Handle) -> usize { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | self.sequence(handle).count() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph/iter.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 104 | fn new(handle: Handle, left: I, right: I) -> Self { [INFO] [stdout] | ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | left_neighbors: Some(left), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph/iter.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 104 | fn new(handle: Handle, left: I, right: I) -> Self { [INFO] [stdout] | ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | right_neighbors: Some(right), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pathhandlegraph/embedded_paths.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_path_name_vec(self, id: PathId) -> Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | self.get_path_name(id).map(|name| name.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pathhandlegraph/path.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | fn contains(self, handle: Handle) -> bool { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | self.steps().any(|s| s.handle() == handle) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packedgraph/graph.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 540 | iter: I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | iter.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packedgraph/paths.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 459 | iter: I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | let mut mut_ctx = self.get_all_paths_mut_ctx(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | / refs_mut [INFO] [stdout] 473 | | .zip(iter) [INFO] [stdout] 474 | | .map(|(path, val)| { [INFO] [stdout] 475 | | let path_id = path.path_id; [INFO] [stdout] 476 | | let steps = f(val, path_id, path); [INFO] [stdout] 477 | | (path_id, steps) [INFO] [stdout] 478 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rev_comp(seq: I) -> Vec [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | / seq.into_iter() [INFO] [stdout] 69 | | .rev() [INFO] [stdout] 70 | | .map(|b| comp_base(*b.borrow())) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn rev_comp_iter(seq: I) -> impl Iterator [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | seq.into_iter().rev().map(|b| comp_base(*b.borrow())) [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: using `.clone()` on a double reference, which returns `&LinkPath` instead of cloning the inner type [INFO] [stdout] --> src/consensus.rs:1111:45 [INFO] [stdout] | [INFO] [stdout] 1111 | perfect_link = Some(link.clone().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `handlegraph` (lib) due to 16 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packedgraph/quickcheck/delta.rs:337:26 [INFO] [stdout] | [INFO] [stdout] 337 | fn compose(mut self, mut rhs: Self) -> Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | CreateOp::Path { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_count` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | let new_count = if offsets_sum_len < node_len { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:374:44 [INFO] [stdout] | [INFO] [stdout] 374 | MutPathOp::InsertAfter { path, prev, handle } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `prev: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:374:50 [INFO] [stdout] | [INFO] [stdout] 374 | MutPathOp::InsertAfter { path, prev, handle } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:403:44 [INFO] [stdout] | [INFO] [stdout] 403 | MutPathOp::RemoveAfter { path, prev } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `prev: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:411:45 [INFO] [stdout] | [INFO] [stdout] 411 | MutPathOp::InsertBefore { path, next, handle } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `next: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:411:51 [INFO] [stdout] | [INFO] [stdout] 411 | MutPathOp::InsertBefore { path, next, handle } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:433:45 [INFO] [stdout] | [INFO] [stdout] 433 | MutPathOp::RemoveBefore { path, next } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `next: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:441:35 [INFO] [stdout] | [INFO] [stdout] 441 | MutPathOp::FlipStep { path, step } => lhs, [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:441:41 [INFO] [stdout] | [INFO] [stdout] 441 | MutPathOp::FlipStep { path, step } => lhs, [INFO] [stdout] | ^^^^ help: try ignoring the field: `step: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | from, [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | to, [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `added` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | let added = new.len() as isize; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_added` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `removed` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | let removed = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | graph: &PackedGraph, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:508:42 [INFO] [stdout] | [INFO] [stdout] 508 | GraphWideOp::ApplyOrdering { order } => lhs, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `order: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | graph: &PackedGraph, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packedgraph/quickcheck/ops.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | mut lhs: GraphOpDelta, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | CreateOp::Handle { id, seq } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | CreateOp::Handle { id, seq } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `seq: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | CreateOp::Path { name } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | RemoveOp::Handle { handle } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `handle: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | RemoveOp::Path { name } => {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | GraphOp::MutHandle { op } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | GraphOp::MutPath { op } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | GraphOp::GraphWide { op } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/packedgraph/quickcheck.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let count = delta_2.count; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/packedgraph/quickcheck.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let mut graph_2 = crate::packedgraph::tests::test_graph_no_paths(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `codec` is never read [INFO] [stdout] --> src/packed/paged.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PagedIntVec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | codec: Codec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PagedIntVec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/handlegraph.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 97 | fn has_node>(self, node_id: I) -> bool { [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let node_id = node_id.into(); [INFO] [stdout] 99 | self.handles().any(|h| h.id() == node_id) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | fn degree(self, handle: Handle, dir: Direction) -> usize { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | self.neighbors(handle, dir).count() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn has_edge(self, left: Handle, right: Handle) -> bool { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | self.neighbors(left, Direction::Right).any(|h| h == right) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | fn sequence_vec(self, handle: Handle) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | self.sequence(handle).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | fn subsequence(self, handle: Handle, start: usize, len: usize) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | self.sequence(handle).skip(start).take(len).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | fn base(self, handle: Handle, index: usize) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | self.sequence(handle).nth(index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn node_len(self, handle: Handle) -> usize { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | self.sequence(handle).count() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph/iter.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 104 | fn new(handle: Handle, left: I, right: I) -> Self { [INFO] [stdout] | ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | left_neighbors: Some(left), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlegraph/iter.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 104 | fn new(handle: Handle, left: I, right: I) -> Self { [INFO] [stdout] | ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | right_neighbors: Some(right), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pathhandlegraph/embedded_paths.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_path_name_vec(self, id: PathId) -> Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | self.get_path_name(id).map(|name| name.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pathhandlegraph/path.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | fn contains(self, handle: Handle) -> bool { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | self.steps().any(|s| s.handle() == handle) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packedgraph/graph.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 540 | iter: I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | iter.into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packedgraph/paths.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 459 | iter: I, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | let mut mut_ctx = self.get_all_paths_mut_ctx(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | / refs_mut [INFO] [stdout] 473 | | .zip(iter) [INFO] [stdout] 474 | | .map(|(path, val)| { [INFO] [stdout] 475 | | let path_id = path.path_id; [INFO] [stdout] 476 | | let steps = f(val, path_id, path); [INFO] [stdout] 477 | | (path_id, steps) [INFO] [stdout] 478 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rev_comp(seq: I) -> Vec [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | / seq.into_iter() [INFO] [stdout] 69 | | .rev() [INFO] [stdout] 70 | | .map(|b| comp_base(*b.borrow())) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn rev_comp_iter(seq: I) -> impl Iterator [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | seq.into_iter().rev().map(|b| comp_base(*b.borrow())) [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: using `.clone()` on a double reference, which returns `&LinkPath` instead of cloning the inner type [INFO] [stdout] --> src/consensus.rs:1111:45 [INFO] [stdout] | [INFO] [stdout] 1111 | perfect_link = Some(link.clone().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `handlegraph` (lib test) due to 16 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0cabf67c1f04f652d7eff1a9af33bed542f4fd1126614c6fbcd8d3908bf44c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cabf67c1f04f652d7eff1a9af33bed542f4fd1126614c6fbcd8d3908bf44c93", kill_on_drop: false }` [INFO] [stdout] 0cabf67c1f04f652d7eff1a9af33bed542f4fd1126614c6fbcd8d3908bf44c93