[INFO] fetching crate pathfinding 4.11.0... [INFO] checking pathfinding-4.11.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pathfinding 4.11.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pathfinding 4.11.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pathfinding 4.11.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pathfinding 4.11.0 [INFO] tweaked toml for crates.io crate pathfinding 4.11.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate pathfinding 4.11.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f537275406ef5afa28e49e7e9415e8636c2fc742b7d2e382120000ec25166cb [INFO] running `Command { std: "docker" "start" "-a" "4f537275406ef5afa28e49e7e9415e8636c2fc742b7d2e382120000ec25166cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f537275406ef5afa28e49e7e9415e8636c2fc742b7d2e382120000ec25166cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f537275406ef5afa28e49e7e9415e8636c2fc742b7d2e382120000ec25166cb", kill_on_drop: false }` [INFO] [stdout] 4f537275406ef5afa28e49e7e9415e8636c2fc742b7d2e382120000ec25166cb [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 587931d0aed1ebe6fe0100657e55571c53de7291aa316372ed251b22c751309e [INFO] running `Command { std: "docker" "start" "-a" "587931d0aed1ebe6fe0100657e55571c53de7291aa316372ed251b22c751309e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking either v1.0.0 [INFO] [stderr] Checking itoa v1.0.0 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking memchr v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking same-file v1.0.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking walkdir v2.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking anes v0.1.4 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking aho-corasick v1.0.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking movingai v1.3.1 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking version_check v0.9.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking codspeed v1.1.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking pathfinding v4.11.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pathfinding` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/matrix.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matrix.rs:854:6 [INFO] [stderr] | [INFO] [stderr] 854 | ($a:expr_2021 $(, $b: expr_2021)*$(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matrix.rs:854:23 [INFO] [stderr] | [INFO] [stderr] 854 | ($a:expr_2021 $(, $b: expr_2021)*$(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matrix.rs:865:10 [INFO] [stderr] | [INFO] [stderr] 865 | ($($($a:expr_2021),+$(,)?);+$(;)?) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matrix.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr $(, $b: expr)*$(,)?) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr_2021 $(, $b: expr)*$(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matrix.rs:854:22 [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr $(, $b: expr)*$(,)?) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr $(, $b: expr_2021)*$(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matrix.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | ($($($a:expr),+$(,)?);+$(;)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 865 | ($($($a:expr_2021),+$(,)?);+$(;)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | while let Some((node, _)) = parents.get_index(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if let Vacant(e) = parents.entry(successor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 100 ~ match parents.entry(successor) { Vacant(e) => { [INFO] [stdout] 101 | e.insert(i); [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/dijkstra.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 287 | while let Some((parent, _)) = parents.get(&next) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/dijkstra.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(pw) = params.preorders.get(&w).and_then(|w| *w) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match params.preorders.get(&w).and_then(|w| *w) { Some(pw) => { [INFO] [stdout] 59 | while params.preorders[¶ms.p[params.p.len() - 1]].unwrap() > pw { [INFO] [stdout] 60 | params.p.pop(); [INFO] [stdout] 61 | } [INFO] [stdout] 62 ~ } _ => { [INFO] [stdout] 63 | recurse_onto(&w, params); [INFO] [stdout] 64 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | while let Some(node) = params.s.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(node) = params.preorders.keys().find(|_| true).cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/topological_sort.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some(node) = roots.iter().next().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/topological_sort.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some((spur_path, _)) = [INFO] [stdout] | ________________^ [INFO] [stdout] 156 | | dijkstra_internal(spur_node, &mut filtered_successor, &mut success) [INFO] [stdout] | |_________________------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 155 ~ match dijkstra_internal(spur_node, &mut filtered_successor, &mut success) [INFO] [stdout] 156 ~ { Some((spur_path, _)) => { [INFO] [stdout] 157 | let nodes: Vec = root_path.iter().cloned().chain(spur_path).collect(); [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(k_route) = k_routes.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 171 ~ match k_routes.pop() { Some(k_route) => { [INFO] [stdout] 172 | let route = k_route.0; [INFO] [stdout] ... [INFO] [stdout] 189 | } [INFO] [stdout] 190 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/grid.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | fn borders(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/grid.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | fn borders(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 217 | fn borders(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matrix.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(first_row) = rows.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/matrix.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match rows.next() { Some(first_row) => { [INFO] [stdout] 360 | let mut data = first_row.into_iter().collect::>(); [INFO] [stdout] ... [INFO] [stdout] 370 | Self::from_vec(number_of_rows, number_of_columns, data) [INFO] [stdout] 371 ~ } _ => { [INFO] [stdout] 372 | Ok(Self::new_empty(0)) [INFO] [stdout] 373 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:535:10 [INFO] [stdout] | [INFO] [stdout] 535 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 535 | ) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:601:10 [INFO] [stdout] | [INFO] [stdout] 601 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 601 | ) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:632:30 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn indices(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:632:20 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn indices(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 632 | pub fn indices(&self) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:639:27 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:639:17 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 639 | pub fn keys(&self) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/undirected/connected_components.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(set) = res.last_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/undirected/connected_components.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match res.last_mut() { Some(set) => { [INFO] [stdout] 121 | for item in &groups[group_index] { [INFO] [stdout] 122 | set.insert(item.clone()); [INFO] [stdout] 123 | } [INFO] [stdout] 124 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/undirected/kruskal.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/undirected/kruskal.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | edges: &[(usize, usize, C)], [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Iterator + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking codspeed-criterion-compat v1.1.0 [INFO] [stderr] Migrating benches/algos-fill.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cycle_detection.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/kuhn_munkres.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/kuhn_munkres.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/separate_components.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/connected-components.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/movingai.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/codejam-2017-a.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/aoc-2021-12.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/edmondskarp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/algos.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/gps.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sliding-puzzle.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/sliding-puzzle.rs (1 fix) [INFO] [stderr] Migrating tests/utils.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/kruskal.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/dfs-reach.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/matrix.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/count_paths.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/edmondskarp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/yen.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/strongly_connected_components.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/version.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/topological_sort.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/prim.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/astar_bag.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ui.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/aoc-2023-17.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/r299.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/dijkstra-all.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/dijkstra-all.rs (2 fixes) [INFO] [stderr] Migrating tests/aoc-2017-12-12.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/aoc-2020-10.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/matrices.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/pathfinding.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/pathfinding.rs (1 fix) [INFO] [stderr] Migrating tests/grid.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pathfinding` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/matrix.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matrix.rs:854:6 [INFO] [stderr] | [INFO] [stderr] 854 | ($a:expr_2021 $(, $b: expr_2021)*$(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matrix.rs:854:23 [INFO] [stderr] | [INFO] [stderr] 854 | ($a:expr_2021 $(, $b: expr_2021)*$(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/matrix.rs:865:10 [INFO] [stderr] | [INFO] [stderr] 865 | ($($($a:expr_2021),+$(,)?);+$(;)?) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matrix.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr $(, $b: expr)*$(,)?) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr_2021 $(, $b: expr)*$(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matrix.rs:854:22 [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr $(, $b: expr)*$(,)?) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 854 | ($a:expr $(, $b: expr_2021)*$(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/matrix.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | ($($($a:expr),+$(,)?);+$(;)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 865 | ($($($a:expr_2021),+$(,)?);+$(;)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | while let Some((node, _)) = parents.get_index(i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if let Vacant(e) = parents.entry(successor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/bfs.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 100 ~ match parents.entry(successor) { Vacant(e) => { [INFO] [stdout] 101 | e.insert(i); [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/dijkstra.rs:287:11 [INFO] [stdout] | [INFO] [stdout] 287 | while let Some((parent, _)) = parents.get(&next) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/dijkstra.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(pw) = params.preorders.get(&w).and_then(|w| *w) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match params.preorders.get(&w).and_then(|w| *w) { Some(pw) => { [INFO] [stdout] 59 | while params.preorders[¶ms.p[params.p.len() - 1]].unwrap() > pw { [INFO] [stdout] 60 | params.p.pop(); [INFO] [stdout] 61 | } [INFO] [stdout] 62 ~ } _ => { [INFO] [stdout] 63 | recurse_onto(&w, params); [INFO] [stdout] 64 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | while let Some(node) = params.s.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(node) = params.preorders.keys().find(|_| true).cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/strongly_connected_components.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/topological_sort.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some(node) = roots.iter().next().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/topological_sort.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some((spur_path, _)) = [INFO] [stdout] | ________________^ [INFO] [stdout] 156 | | dijkstra_internal(spur_node, &mut filtered_successor, &mut success) [INFO] [stdout] | |_________________------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 155 ~ match dijkstra_internal(spur_node, &mut filtered_successor, &mut success) [INFO] [stdout] 156 ~ { Some((spur_path, _)) => { [INFO] [stdout] 157 | let nodes: Vec = root_path.iter().cloned().chain(spur_path).collect(); [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(k_route) = k_routes.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/directed/yen.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 171 ~ match k_routes.pop() { Some(k_route) => { [INFO] [stdout] 172 | let route = k_route.0; [INFO] [stdout] ... [INFO] [stdout] 189 | } [INFO] [stdout] 190 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/grid.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | fn borders(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/grid.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | fn borders(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 217 | fn borders(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/matrix.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(first_row) = rows.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/matrix.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match rows.next() { Some(first_row) => { [INFO] [stdout] 360 | let mut data = first_row.into_iter().collect::>(); [INFO] [stdout] ... [INFO] [stdout] 370 | Self::from_vec(number_of_rows, number_of_columns, data) [INFO] [stdout] 371 ~ } _ => { [INFO] [stdout] 372 | Ok(Self::new_empty(0)) [INFO] [stdout] 373 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:535:10 [INFO] [stdout] | [INFO] [stdout] 535 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 535 | ) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:601:10 [INFO] [stdout] | [INFO] [stdout] 601 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 601 | ) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:632:30 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn indices(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:632:20 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn indices(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 632 | pub fn indices(&self) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/matrix.rs:639:27 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/matrix.rs:639:17 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 639 | pub fn keys(&self) -> impl Iterator + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/undirected/connected_components.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(set) = res.last_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/undirected/connected_components.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match res.last_mut() { Some(set) => { [INFO] [stdout] 121 | for item in &groups[group_index] { [INFO] [stdout] 122 | set.insert(item.clone()); [INFO] [stdout] 123 | } [INFO] [stdout] 124 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/undirected/kruskal.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Iterator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/undirected/kruskal.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | edges: &[(usize, usize, C)], [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Iterator + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/yen-issue-507.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/dijkstra-reach.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.04s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pathfinding v4.11.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/matrix.rs:662:25 [INFO] [stdout] | [INFO] [stdout] 662 | self.keys().zip(self.values_mut()) [INFO] [stdout] | ---- --- ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/matrix.rs:662:25 [INFO] [stdout] | [INFO] [stdout] 662 | self.keys().zip(self.values_mut()) [INFO] [stdout] | ---- --- ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `edges` does not live long enough [INFO] [stdout] --> src/undirected/kruskal.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn kruskal(edges: &[(N, N, C)]) -> impl Iterator [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 80 | let edges = edges [INFO] [stdout] | ----- binding `edges` declared here [INFO] [stdout] ... [INFO] [stdout] 88 | kruskal_indices(nodes.len(), &edges).filter_map(move |(ia, ib, w)| { [INFO] [stdout] | -----------------------------^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `edges` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 95 | } [INFO] [stdout] | - `edges` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `edges` does not live long enough [INFO] [stdout] --> src/undirected/kruskal.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn kruskal(edges: &[(N, N, C)]) -> impl Iterator [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 80 | let edges = edges [INFO] [stdout] | ----- binding `edges` declared here [INFO] [stdout] ... [INFO] [stdout] 88 | kruskal_indices(nodes.len(), &edges).filter_map(move |(ia, ib, w)| { [INFO] [stdout] | -----------------------------^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `edges` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 95 | } [INFO] [stdout] | - `edges` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 231 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 232 | .filter(|v| self.exclusions.swap_remove(v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 235 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 236 | .filter(|v| self.exclusions.insert(*v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 249 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 250 | .filter(|v| self.exclusions.insert(*v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 253 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 254 | .filter(|v| self.exclusions.swap_remove(v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 231 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 232 | .filter(|v| self.exclusions.swap_remove(v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 235 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 236 | .filter(|v| self.exclusions.insert(*v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 249 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 250 | .filter(|v| self.exclusions.insert(*v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `self.exclusions` but it is already borrowed [INFO] [stdout] --> src/grid.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 253 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 254 | .filter(|v| self.exclusions.swap_remove(v)) [INFO] [stdout] | ------ ^^^ --------------- second borrow occurs due to use of `self.exclusions` in closure [INFO] [stdout] | | | [INFO] [stdout] | | closure construction occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0500, E0502, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0500`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0500, E0502, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0500`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pathfinding` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pathfinding` (lib) due to 7 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "587931d0aed1ebe6fe0100657e55571c53de7291aa316372ed251b22c751309e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587931d0aed1ebe6fe0100657e55571c53de7291aa316372ed251b22c751309e", kill_on_drop: false }` [INFO] [stdout] 587931d0aed1ebe6fe0100657e55571c53de7291aa316372ed251b22c751309e