[INFO] cloning repository https://github.com/jitterist/advent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jitterist/advent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitterist%2Fadvent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitterist%2Fadvent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f22906df44a3b8605aea40ef441c87b67de5b78 [INFO] testing jitterist/advent against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitterist%2Fadvent" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jitterist/advent on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jitterist/advent [INFO] finished tweaking git repo https://github.com/jitterist/advent [INFO] tweaked toml for git repo https://github.com/jitterist/advent written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jitterist/advent already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e00b6bfdf6280445ba2f436f4fbfee3f3fa135b9fb8277e2eb2bfbcac643454 [INFO] running `Command { std: "docker" "start" "-a" "8e00b6bfdf6280445ba2f436f4fbfee3f3fa135b9fb8277e2eb2bfbcac643454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e00b6bfdf6280445ba2f436f4fbfee3f3fa135b9fb8277e2eb2bfbcac643454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e00b6bfdf6280445ba2f436f4fbfee3f3fa135b9fb8277e2eb2bfbcac643454", kill_on_drop: false }` [INFO] [stdout] 8e00b6bfdf6280445ba2f436f4fbfee3f3fa135b9fb8277e2eb2bfbcac643454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec5e9f4242b7b534ecabe124b1e66a1260c0f00f35a52ede0962cf0bcb51065d [INFO] running `Command { std: "docker" "start" "-a" "ec5e9f4242b7b534ecabe124b1e66a1260c0f00f35a52ede0962cf0bcb51065d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling ref_eq v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling stopwatch v0.0.7 [INFO] [stderr] Compiling advent v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day_5/utils.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | fn react_polymer(polymer: &str, reaction_fn: &Fn(&str) -> Polymer) -> Polymer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Polymer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 32 | surrounding_points.push(Point { x: last_point.x - 1, y: last_point.y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 50 | surrounding_points.push(Point { x: last_point.x, y: last_point.y + 1 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 44 | surrounding_points.push(Point { x: last_point.x + 1, y: last_point.y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 37 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 38 | surrounding_points.push(Point { x: last_point.x, y: last_point.y - 1 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.55s [INFO] running `Command { std: "docker" "inspect" "ec5e9f4242b7b534ecabe124b1e66a1260c0f00f35a52ede0962cf0bcb51065d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5e9f4242b7b534ecabe124b1e66a1260c0f00f35a52ede0962cf0bcb51065d", kill_on_drop: false }` [INFO] [stdout] ec5e9f4242b7b534ecabe124b1e66a1260c0f00f35a52ede0962cf0bcb51065d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ad677b2a373b7328db68bb61b5e7ce73003bda95b4dba0b96f5b67e5f8282ac [INFO] running `Command { std: "docker" "start" "-a" "5ad677b2a373b7328db68bb61b5e7ce73003bda95b4dba0b96f5b67e5f8282ac", kill_on_drop: false }` [INFO] [stderr] Compiling advent v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day_5/utils.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | fn react_polymer(polymer: &str, reaction_fn: &Fn(&str) -> Polymer) -> Polymer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Polymer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 32 | surrounding_points.push(Point { x: last_point.x - 1, y: last_point.y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 50 | surrounding_points.push(Point { x: last_point.x, y: last_point.y + 1 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 43 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 44 | surrounding_points.push(Point { x: last_point.x + 1, y: last_point.y }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_6/types.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 37 | let last_point = surrounding_points.last().unwrap(); [INFO] [stdout] | ------------------ immutable borrow occurs here [INFO] [stdout] 38 | surrounding_points.push(Point { x: last_point.x, y: last_point.y - 1 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "5ad677b2a373b7328db68bb61b5e7ce73003bda95b4dba0b96f5b67e5f8282ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad677b2a373b7328db68bb61b5e7ce73003bda95b4dba0b96f5b67e5f8282ac", kill_on_drop: false }` [INFO] [stdout] 5ad677b2a373b7328db68bb61b5e7ce73003bda95b4dba0b96f5b67e5f8282ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3fb753895ccbd45ed0af834ccebb80c6bdc0cd1da7216c1242cf948d4e81322 [INFO] running `Command { std: "docker" "start" "-a" "b3fb753895ccbd45ed0af834ccebb80c6bdc0cd1da7216c1242cf948d4e81322", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/day_5/utils.rs:27:47 [INFO] [stderr] | [INFO] [stderr] 27 | fn react_polymer(polymer: &str, reaction_fn: &Fn(&str) -> Polymer) -> Polymer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> Polymer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/day_6/types.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 31 | let last_point = surrounding_points.last().unwrap(); [INFO] [stderr] | ------------------ immutable borrow occurs here [INFO] [stderr] 32 | surrounding_points.push(Point { x: last_point.x - 1, y: last_point.y }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/day_6/types.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 49 | let last_point = surrounding_points.last().unwrap(); [INFO] [stderr] | ------------------ immutable borrow occurs here [INFO] [stderr] 50 | surrounding_points.push(Point { x: last_point.x, y: last_point.y + 1 }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/day_6/types.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 43 | let last_point = surrounding_points.last().unwrap(); [INFO] [stderr] | ------------------ immutable borrow occurs here [INFO] [stderr] 44 | surrounding_points.push(Point { x: last_point.x + 1, y: last_point.y }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `surrounding_points` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/day_6/types.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 37 | let last_point = surrounding_points.last().unwrap(); [INFO] [stderr] | ------------------ immutable borrow occurs here [INFO] [stderr] 38 | surrounding_points.push(Point { x: last_point.x, y: last_point.y - 1 }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ------------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: `advent` (bin "advent" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent-fd94699ffee02ed2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3fb753895ccbd45ed0af834ccebb80c6bdc0cd1da7216c1242cf948d4e81322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3fb753895ccbd45ed0af834ccebb80c6bdc0cd1da7216c1242cf948d4e81322", kill_on_drop: false }` [INFO] [stdout] b3fb753895ccbd45ed0af834ccebb80c6bdc0cd1da7216c1242cf948d4e81322