[INFO] fetching crate pathfinding 4.9.1... [INFO] checking pathfinding-4.9.1 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate pathfinding 4.9.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate pathfinding 4.9.1 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pathfinding 4.9.1 [INFO] finished tweaking crates.io crate pathfinding 4.9.1 [INFO] tweaked toml for crates.io crate pathfinding 4.9.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate pathfinding 4.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded basic-toml v0.1.8 [INFO] [stderr] Downloaded codspeed v1.1.0 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded codspeed-criterion-compat v1.1.0 [INFO] [stderr] Downloaded semver v1.0.21 [INFO] [stderr] Downloaded deprecate-until v0.1.1 [INFO] [stderr] Downloaded movingai v1.3.0 [INFO] [stderr] Downloaded web-sys v0.3.68 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded trybuild v1.0.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19e4061f619f1254708a82c1df4f10ef6175b488513b36963f56b9ae0ac396d7 [INFO] running `Command { std: "docker" "start" "-a" "19e4061f619f1254708a82c1df4f10ef6175b488513b36963f56b9ae0ac396d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19e4061f619f1254708a82c1df4f10ef6175b488513b36963f56b9ae0ac396d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e4061f619f1254708a82c1df4f10ef6175b488513b36963f56b9ae0ac396d7", kill_on_drop: false }` [INFO] [stdout] 19e4061f619f1254708a82c1df4f10ef6175b488513b36963f56b9ae0ac396d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93fe3ad6986c314c8d5fbbb236d1be2742e372e8f6633fd96a052d77c156c373 [INFO] running `Command { std: "docker" "start" "-a" "93fe3ad6986c314c8d5fbbb236d1be2742e372e8f6633fd96a052d77c156c373", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking codspeed v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking version_check v0.9.4 [INFO] [stderr] Checking movingai v1.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking pathfinding v4.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking codspeed-criterion-compat v1.1.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.15s [INFO] running `Command { std: "docker" "inspect" "93fe3ad6986c314c8d5fbbb236d1be2742e372e8f6633fd96a052d77c156c373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93fe3ad6986c314c8d5fbbb236d1be2742e372e8f6633fd96a052d77c156c373", kill_on_drop: false }` [INFO] [stdout] 93fe3ad6986c314c8d5fbbb236d1be2742e372e8f6633fd96a052d77c156c373 [INFO] checking pathfinding-4.9.1 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate pathfinding 4.9.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate pathfinding 4.9.1 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pathfinding 4.9.1 [INFO] finished tweaking crates.io crate pathfinding 4.9.1 [INFO] tweaked toml for crates.io crate pathfinding 4.9.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate pathfinding 4.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb0881a0d1fbc4699b62f14d8aaed4586841659932e18ea673bbe54971b12244 [INFO] running `Command { std: "docker" "start" "-a" "eb0881a0d1fbc4699b62f14d8aaed4586841659932e18ea673bbe54971b12244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb0881a0d1fbc4699b62f14d8aaed4586841659932e18ea673bbe54971b12244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0881a0d1fbc4699b62f14d8aaed4586841659932e18ea673bbe54971b12244", kill_on_drop: false }` [INFO] [stdout] eb0881a0d1fbc4699b62f14d8aaed4586841659932e18ea673bbe54971b12244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a66507d5e2db4cd3cfd2667f814202aef7b776612c0ba8661839197efdc20e8d [INFO] running `Command { std: "docker" "start" "-a" "a66507d5e2db4cd3cfd2667f814202aef7b776612c0ba8661839197efdc20e8d", 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 autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking codspeed v1.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking version_check v0.9.4 [INFO] [stderr] Checking movingai v1.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking pathfinding v4.9.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking codspeed-criterion-compat v1.1.0 [INFO] [stderr] Migrating tests/aoc-2021-12.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/pathfinding.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cycle_detection.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/kuhn_munkres.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/count_paths.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/kuhn_munkres.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/separate_components.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/algos-fill.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/dfs-reach.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/codejam-2017-a.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/astar_bag.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sliding-puzzle.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/r299.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/kruskal.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/utils.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/movingai.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/matrices.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/grid.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/connected-components.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/version.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/yen.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/matrix.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/gps.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/topological_sort.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/strongly_connected_components.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/yen-issue-507.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/aoc-2020-10.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 (1 fix) [INFO] [stderr] Migrating tests/dijkstra-reach.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ui.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/edmondskarp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/edmondskarp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/algos.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/aoc-2017-12-12.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.32s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pathfinding v4.9.1 (/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:230:25 [INFO] [stdout] | [INFO] [stdout] 229 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 230 | .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:234:25 [INFO] [stdout] | [INFO] [stdout] 233 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 234 | .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:230:25 [INFO] [stdout] | [INFO] [stdout] 229 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 230 | .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:234:25 [INFO] [stdout] | [INFO] [stdout] 233 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 234 | .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:248:25 [INFO] [stdout] | [INFO] [stdout] 247 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 248 | .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:252:25 [INFO] [stdout] | [INFO] [stdout] 251 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 252 | .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:248:25 [INFO] [stdout] | [INFO] [stdout] 247 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 248 | .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:252:25 [INFO] [stdout] | [INFO] [stdout] 251 | self.borders() [INFO] [stdout] | ---- borrow occurs here [INFO] [stdout] 252 | .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] [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] [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) 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" "a66507d5e2db4cd3cfd2667f814202aef7b776612c0ba8661839197efdc20e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a66507d5e2db4cd3cfd2667f814202aef7b776612c0ba8661839197efdc20e8d", kill_on_drop: false }` [INFO] [stdout] a66507d5e2db4cd3cfd2667f814202aef7b776612c0ba8661839197efdc20e8d