[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-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjitterist%2Fadvent" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jitterist/advent on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d6dd12445377e2847975609154d9c33e14daf118fcd7a3a3741cc8d00ee8580 [INFO] running `Command { std: "docker" "start" "-a" "2d6dd12445377e2847975609154d9c33e14daf118fcd7a3a3741cc8d00ee8580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d6dd12445377e2847975609154d9c33e14daf118fcd7a3a3741cc8d00ee8580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6dd12445377e2847975609154d9c33e14daf118fcd7a3a3741cc8d00ee8580", kill_on_drop: false }` [INFO] [stdout] 2d6dd12445377e2847975609154d9c33e14daf118fcd7a3a3741cc8d00ee8580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79efe4af27b93bbf5ba34148bb6b0cae1daf6c8e06a4c3c385c92168cd323da4 [INFO] running `Command { std: "docker" "start" "-a" "79efe4af27b93bbf5ba34148bb6b0cae1daf6c8e06a4c3c385c92168cd323da4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 nodrop v0.1.13 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling ucd-util v0.1.3 [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 thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [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 crossbeam-epoch v0.3.1 [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-deque v0.2.0 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling chrono v0.4.6 [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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn react_polymer(polymer: &str, reaction_fn: &Fn(&str) -> Polymer) -> Polymer { [INFO] [stdout] 27 + fn react_polymer(polymer: &str, reaction_fn: &dyn Fn(&str) -> Polymer) -> Polymer { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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: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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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: field is never read: `serial_number` [INFO] [stdout] --> src/day_11/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | serial_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day_11/types.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.54s [INFO] running `Command { std: "docker" "inspect" "79efe4af27b93bbf5ba34148bb6b0cae1daf6c8e06a4c3c385c92168cd323da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79efe4af27b93bbf5ba34148bb6b0cae1daf6c8e06a4c3c385c92168cd323da4", kill_on_drop: false }` [INFO] [stdout] 79efe4af27b93bbf5ba34148bb6b0cae1daf6c8e06a4c3c385c92168cd323da4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b1516aaad7d3d5c683c630506bdfe21acc4342d15d7262cf6ac13161c4be3c0 [INFO] running `Command { std: "docker" "start" "-a" "7b1516aaad7d3d5c683c630506bdfe21acc4342d15d7262cf6ac13161c4be3c0", 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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn react_polymer(polymer: &str, reaction_fn: &Fn(&str) -> Polymer) -> Polymer { [INFO] [stdout] 27 + fn react_polymer(polymer: &str, reaction_fn: &dyn Fn(&str) -> Polymer) -> Polymer { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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: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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [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: field is never read: `serial_number` [INFO] [stdout] --> src/day_11/types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | serial_number: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/day_11/types.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/advent-8ca9ea690930dac8) [INFO] running `Command { std: "docker" "inspect" "7b1516aaad7d3d5c683c630506bdfe21acc4342d15d7262cf6ac13161c4be3c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1516aaad7d3d5c683c630506bdfe21acc4342d15d7262cf6ac13161c4be3c0", kill_on_drop: false }` [INFO] [stdout] 7b1516aaad7d3d5c683c630506bdfe21acc4342d15d7262cf6ac13161c4be3c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 714d424b9d14e700e6e3aedead00c3d335b0a72bb65fb1b6ef7583cd6ee15a51 [INFO] running `Command { std: "docker" "start" "-a" "714d424b9d14e700e6e3aedead00c3d335b0a72bb65fb1b6ef7583cd6ee15a51", 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] | ^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - fn react_polymer(polymer: &str, reaction_fn: &Fn(&str) -> Polymer) -> Polymer { [INFO] [stderr] 27 + fn react_polymer(polymer: &str, reaction_fn: &dyn Fn(&str) -> Polymer) -> Polymer { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [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: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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [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: field is never read: `serial_number` [INFO] [stderr] --> src/day_11/types.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | serial_number: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/day_11/types.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `advent` (bin "advent" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent-8ca9ea690930dac8) [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" "714d424b9d14e700e6e3aedead00c3d335b0a72bb65fb1b6ef7583cd6ee15a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714d424b9d14e700e6e3aedead00c3d335b0a72bb65fb1b6ef7583cd6ee15a51", kill_on_drop: false }` [INFO] [stdout] 714d424b9d14e700e6e3aedead00c3d335b0a72bb65fb1b6ef7583cd6ee15a51