[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitterist%2Fadvent" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jitterist/advent on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref_eq v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 154421c0845616d6d223231a71adc4cecdf5affee0fbe40c9639b78ae5dcad44 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "154421c0845616d6d223231a71adc4cecdf5affee0fbe40c9639b78ae5dcad44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "154421c0845616d6d223231a71adc4cecdf5affee0fbe40c9639b78ae5dcad44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "154421c0845616d6d223231a71adc4cecdf5affee0fbe40c9639b78ae5dcad44", kill_on_drop: false }` [INFO] [stdout] 154421c0845616d6d223231a71adc4cecdf5affee0fbe40c9639b78ae5dcad44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 71f430620e8b6288aa281c1649a40ce8ba9830f729aea0946d22955fe2bd8f26 [INFO] running `Command { std: "docker" "start" "-a" "71f430620e8b6288aa281c1649a40ce8ba9830f729aea0946d22955fe2bd8f26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling ref_eq v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling itertools v0.8.0 [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 crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [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] [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 32.13s [INFO] running `Command { std: "docker" "inspect" "71f430620e8b6288aa281c1649a40ce8ba9830f729aea0946d22955fe2bd8f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f430620e8b6288aa281c1649a40ce8ba9830f729aea0946d22955fe2bd8f26", kill_on_drop: false }` [INFO] [stdout] 71f430620e8b6288aa281c1649a40ce8ba9830f729aea0946d22955fe2bd8f26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2fd4cff3dda04e934d36fbd165df29c6da65b4d6b8d1c21a0518420421d21c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e2fd4cff3dda04e934d36fbd165df29c6da65b4d6b8d1c21a0518420421d21c9", 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] [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 1.30s [INFO] running `Command { std: "docker" "inspect" "e2fd4cff3dda04e934d36fbd165df29c6da65b4d6b8d1c21a0518420421d21c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2fd4cff3dda04e934d36fbd165df29c6da65b4d6b8d1c21a0518420421d21c9", kill_on_drop: false }` [INFO] [stdout] e2fd4cff3dda04e934d36fbd165df29c6da65b4d6b8d1c21a0518420421d21c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b48740dbe0a69067f46281c8aaa00c800bfe461424061cd0075c2563b453ead [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b48740dbe0a69067f46281c8aaa00c800bfe461424061cd0075c2563b453ead", 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] [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: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/advent-4b7b1ac961c4344c [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b48740dbe0a69067f46281c8aaa00c800bfe461424061cd0075c2563b453ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b48740dbe0a69067f46281c8aaa00c800bfe461424061cd0075c2563b453ead", kill_on_drop: false }` [INFO] [stdout] 7b48740dbe0a69067f46281c8aaa00c800bfe461424061cd0075c2563b453ead