[INFO] cloning repository https://github.com/kyp44/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyp44/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyp44%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyp44%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 331cba7b8fec7f00b8e89031dfb9894a8c933584 [INFO] checking kyp44/advent-of-code against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyp44%2Fadvent-of-code" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyp44/advent-of-code on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyp44/advent-of-code [INFO] finished tweaking git repo https://github.com/kyp44/advent-of-code [INFO] tweaked toml for git repo https://github.com/kyp44/advent-of-code written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kyp44/advent-of-code 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/servo/euclid.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gat-lending-iterator v0.1.5 [INFO] [stderr] Downloaded infinitable v1.5.0 [INFO] [stderr] Downloaded takeable v0.2.2 [INFO] [stderr] Downloaded bitbuffer_derive v0.11.0 [INFO] [stderr] Downloaded bitbuffer v0.11.0 [INFO] [stderr] Downloaded circular-buffer v0.1.7 [INFO] [stderr] Downloaded bare_metal_modulo v1.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b155b424f81bb1b913076880b87d75af7edc30e4e324ee63c808374f1262fdd [INFO] running `Command { std: "docker" "start" "-a" "5b155b424f81bb1b913076880b87d75af7edc30e4e324ee63c808374f1262fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b155b424f81bb1b913076880b87d75af7edc30e4e324ee63c808374f1262fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b155b424f81bb1b913076880b87d75af7edc30e4e324ee63c808374f1262fdd", kill_on_drop: false }` [INFO] [stdout] 5b155b424f81bb1b913076880b87d75af7edc30e4e324ee63c808374f1262fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab359d06dae1ee8d226fa8d67f33c0678954150a92a6e72bba896245c341fa13 [INFO] running `Command { std: "docker" "start" "-a" "ab359d06dae1ee8d226fa8d67f33c0678954150a92a6e72bba896245c341fa13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking trilean v1.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking gcollections v1.5.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking intervallum v1.4.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking euclid v0.22.9 (https://github.com/servo/euclid.git#6b2aece8) [INFO] [stderr] Checking infinitable v1.5.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking circular-buffer v0.1.7 [INFO] [stderr] Checking bare_metal_modulo v1.2.4 [INFO] [stderr] Checking gat-lending-iterator v0.1.5 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking multiset v0.0.5 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking takeable v0.2.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling merge_derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling merge v0.1.0 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling bitbuffer_derive v0.11.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking bitbuffer v0.11.0 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.19s [INFO] running `Command { std: "docker" "inspect" "ab359d06dae1ee8d226fa8d67f33c0678954150a92a6e72bba896245c341fa13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab359d06dae1ee8d226fa8d67f33c0678954150a92a6e72bba896245c341fa13", kill_on_drop: false }` [INFO] [stdout] ab359d06dae1ee8d226fa8d67f33c0678954150a92a6e72bba896245c341fa13 [INFO] checking kyp44/advent-of-code against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyp44%2Fadvent-of-code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyp44/advent-of-code on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyp44/advent-of-code [INFO] finished tweaking git repo https://github.com/kyp44/advent-of-code [INFO] tweaked toml for git repo https://github.com/kyp44/advent-of-code written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kyp44/advent-of-code 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fee98ad5e6ad8331f5ecc9762135b688d750567f3ffcdcdce38cdd6c07eb5f2f [INFO] running `Command { std: "docker" "start" "-a" "fee98ad5e6ad8331f5ecc9762135b688d750567f3ffcdcdce38cdd6c07eb5f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee98ad5e6ad8331f5ecc9762135b688d750567f3ffcdcdce38cdd6c07eb5f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee98ad5e6ad8331f5ecc9762135b688d750567f3ffcdcdce38cdd6c07eb5f2f", kill_on_drop: false }` [INFO] [stdout] fee98ad5e6ad8331f5ecc9762135b688d750567f3ffcdcdce38cdd6c07eb5f2f [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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56da9d4dbcea5f8890e36158da7882c8089e2e7100eb2584b355927649faec2f [INFO] running `Command { std: "docker" "start" "-a" "56da9d4dbcea5f8890e36158da7882c8089e2e7100eb2584b355927649faec2f", 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 autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking trilean v1.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking gcollections v1.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking intervallum v1.4.1 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking infinitable v1.5.0 [INFO] [stderr] Checking euclid v0.22.9 (https://github.com/servo/euclid.git#6b2aece8) [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking bare_metal_modulo v1.2.4 [INFO] [stderr] Checking multiset v0.0.5 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking takeable v0.2.2 [INFO] [stderr] Checking gat-lending-iterator v0.1.5 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking circular-buffer v0.1.7 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Compiling merge_derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling merge v0.1.0 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling bitbuffer_derive v0.11.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking bitbuffer v0.11.0 [INFO] [stderr] Checking advent-of-code v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/aoc/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking advent-of-code v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2021/day_04.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 89 | for point in self.grid.all_points() { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 90 | let cell = self.grid.element_at(&point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.octopi.grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2021/day_11.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 74 | for point in self.octopi.grid.all_points() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 75 | *self.octopi.grid.element_at(&point) += 1.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.octopi.grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2021/day_11.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 83 | for point in self.octopi.grid.all_points() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 93 | *self.octopi.grid.element_at(&fp) += 1.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `pixels` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2022/day_10.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 323 | for (cpu, point) in program.execute().zip(pixels.all_points()) { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 326 | pixels.set(&point, true.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2021/day_04.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 89 | for point in self.grid.all_points() { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 90 | let cell = self.grid.element_at(&point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.octopi.grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2021/day_11.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 74 | for point in self.octopi.grid.all_points() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 75 | *self.octopi.grid.element_at(&point) += 1.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.octopi.grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2021/day_11.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 83 | for point in self.octopi.grid.all_points() { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 93 | *self.octopi.grid.element_at(&fp) += 1.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable 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/aoc_2022/day_18.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 170 | if let Some(node) = self.new_node(start_cube) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self` because it is borrowed [INFO] [stdout] --> src/aoc_2022/day_18.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | `self` is borrowed here [INFO] [stdout] | borrow later used here [INFO] [stdout] 170 | if let Some(node) = self.new_node(start_cube) { [INFO] [stdout] 171 | self = node.traverse_tree(self); [INFO] [stdout] | ^^^^ `self` is assigned to here but it was already borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/aoc_2022/day_18.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn pocket_cubes(mut self) -> HashSet { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---- borrow of `self` occurs here [INFO] [stdout] 170 | if let Some(node) = self.new_node(start_cube) { [INFO] [stdout] 171 | self = node.traverse_tree(self); [INFO] [stdout] | ^^^^ move out of `self` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `RegionSearchState<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/aoc_2022/day_18.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct RegionSearchState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2022/day_18.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 181 | self.reset(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0506. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "advent-of-code") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `pixels` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2022/day_10.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 323 | for (cpu, point) in program.execute().zip(pixels.all_points()) { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 326 | pixels.set(&point, true.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable 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/aoc_2022/day_18.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 170 | if let Some(node) = self.new_node(start_cube) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `self` because it is borrowed [INFO] [stdout] --> src/aoc_2022/day_18.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | `self` is borrowed here [INFO] [stdout] | borrow later used here [INFO] [stdout] 170 | if let Some(node) = self.new_node(start_cube) { [INFO] [stdout] 171 | self = node.traverse_tree(self); [INFO] [stdout] | ^^^^ `self` is assigned to here but it was already borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self` because it is borrowed [INFO] [stdout] --> src/aoc_2022/day_18.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn pocket_cubes(mut self) -> HashSet { [INFO] [stdout] | -------- binding `self` declared here [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---- borrow of `self` occurs here [INFO] [stdout] 170 | if let Some(node) = self.new_node(start_cube) { [INFO] [stdout] 171 | self = node.traverse_tree(self); [INFO] [stdout] | ^^^^ move out of `self` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `RegionSearchState<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/aoc_2022/day_18.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct RegionSearchState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/aoc_2022/day_18.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 169 | for start_cube in self.all_cubes() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 181 | self.reset(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0506. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "advent-of-code" test) due to 9 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" "56da9d4dbcea5f8890e36158da7882c8089e2e7100eb2584b355927649faec2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56da9d4dbcea5f8890e36158da7882c8089e2e7100eb2584b355927649faec2f", kill_on_drop: false }` [INFO] [stdout] 56da9d4dbcea5f8890e36158da7882c8089e2e7100eb2584b355927649faec2f