[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 master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitterist%2Fadvent" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jitterist/advent on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-3/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] 9bfa45278a14c4d299613c71147414475ea5c335e1da37170bc55f98343a3a38 [INFO] running `Command { std: "docker" "start" "-a" "9bfa45278a14c4d299613c71147414475ea5c335e1da37170bc55f98343a3a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfa45278a14c4d299613c71147414475ea5c335e1da37170bc55f98343a3a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfa45278a14c4d299613c71147414475ea5c335e1da37170bc55f98343a3a38", kill_on_drop: false }` [INFO] [stdout] 9bfa45278a14c4d299613c71147414475ea5c335e1da37170bc55f98343a3a38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31c81d2c72c9a19a1b04c0a4bb1141dbb9684b8f0c73e4d1e973aeb385a16782 [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" "31c81d2c72c9a19a1b04c0a4bb1141dbb9684b8f0c73e4d1e973aeb385a16782", 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 arrayvec v0.4.10 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling ref_eq v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [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 34.15s [INFO] running `Command { std: "docker" "inspect" "31c81d2c72c9a19a1b04c0a4bb1141dbb9684b8f0c73e4d1e973aeb385a16782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c81d2c72c9a19a1b04c0a4bb1141dbb9684b8f0c73e4d1e973aeb385a16782", kill_on_drop: false }` [INFO] [stdout] 31c81d2c72c9a19a1b04c0a4bb1141dbb9684b8f0c73e4d1e973aeb385a16782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf3a6b0867495bcd0943198b05a012e75c4e8e53ccc91b17e1471be12c0062c3 [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" "bf3a6b0867495bcd0943198b05a012e75c4e8e53ccc91b17e1471be12c0062c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 0.95s [INFO] running `Command { std: "docker" "inspect" "bf3a6b0867495bcd0943198b05a012e75c4e8e53ccc91b17e1471be12c0062c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3a6b0867495bcd0943198b05a012e75c4e8e53ccc91b17e1471be12c0062c3", kill_on_drop: false }` [INFO] [stdout] bf3a6b0867495bcd0943198b05a012e75c4e8e53ccc91b17e1471be12c0062c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1ea24ee190c1abebfabad009dab5379aa5e5238ee16cb2f20246ad51ce4025f [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" "c1ea24ee190c1abebfabad009dab5379aa5e5238ee16cb2f20246ad51ce4025f", 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" "c1ea24ee190c1abebfabad009dab5379aa5e5238ee16cb2f20246ad51ce4025f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ea24ee190c1abebfabad009dab5379aa5e5238ee16cb2f20246ad51ce4025f", kill_on_drop: false }` [INFO] [stdout] c1ea24ee190c1abebfabad009dab5379aa5e5238ee16cb2f20246ad51ce4025f