[INFO] cloning repository https://github.com/thallada/advent-of-code-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thallada/advent-of-code-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallada%2Fadvent-of-code-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallada%2Fadvent-of-code-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e85f9131becde6650c296c977e6c33bf4d09b0d7 [INFO] checking thallada/advent-of-code-2018 against try#eb43a7af9abeacf703345e49daba222ddc0623e9 for pr-95565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthallada%2Fadvent-of-code-2018" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thallada/advent-of-code-2018 on toolchain eb43a7af9abeacf703345e49daba222ddc0623e9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thallada/advent-of-code-2018 [INFO] finished tweaking git repo https://github.com/thallada/advent-of-code-2018 [INFO] tweaked toml for git repo https://github.com/thallada/advent-of-code-2018 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/thallada/advent-of-code-2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "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] c6a7794d46da83ef193d08b9d73202128ec1058366c048586835d28976001bdd [INFO] running `Command { std: "docker" "start" "-a" "c6a7794d46da83ef193d08b9d73202128ec1058366c048586835d28976001bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6a7794d46da83ef193d08b9d73202128ec1058366c048586835d28976001bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a7794d46da83ef193d08b9d73202128ec1058366c048586835d28976001bdd", kill_on_drop: false }` [INFO] [stdout] c6a7794d46da83ef193d08b9d73202128ec1058366c048586835d28976001bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "check" "--frozen" "--all" "--all-targets" "--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] 7a418271f64edbe18517aac06b6822b80e9caf468ee230a59d6f57a8a0bf4a2d [INFO] running `Command { std: "docker" "start" "-a" "7a418271f64edbe18517aac06b6822b80e9caf468ee230a59d6f57a8a0bf4a2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking advent-of-code-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stdout] warning: unknown lint: `clippy` [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day3.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/day3.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/day4.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/day4.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn solve_part1() -> Result<i32, Box<Error>> { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn solve_part1() -> Result<i32, Box<Error>> { [INFO] [stdout] 9 + pub fn solve_part1() -> Result<i32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn solve_part2() -> Result<Option<i32>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn solve_part2() -> Result<Option<i32>, Box<Error>> { [INFO] [stdout] 13 + pub fn solve_part2() -> Result<Option<i32>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | fn calculate_resulting_frequency(filename: &str) -> Result<i32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn calculate_resulting_frequency(filename: &str) -> Result<i32, Box<Error>> { [INFO] [stdout] 17 + fn calculate_resulting_frequency(filename: &str) -> Result<i32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:27:72 [INFO] [stdout] | [INFO] [stdout] 27 | fn find_repeating_frequency(filename: &str) -> Result<Option<i32>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn find_repeating_frequency(filename: &str) -> Result<Option<i32>, Box<Error>> { [INFO] [stdout] 27 + fn find_repeating_frequency(filename: &str) -> Result<Option<i32>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day1.rs:46:61 [INFO] [stdout] | [INFO] [stdout] 46 | fn read_frequencies(filename: &str) -> Result<Vec<i32>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn read_frequencies(filename: &str) -> Result<Vec<i32>, Box<Error>> { [INFO] [stdout] 46 + fn read_frequencies(filename: &str) -> Result<Vec<i32>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day2.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve_part1() -> Result<usize, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub fn solve_part1() -> Result<usize, Box<Error>> { [INFO] [stdout] 8 + pub fn solve_part1() -> Result<usize, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day2.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn solve_part2() -> Result<Option<String>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn solve_part2() -> Result<Option<String>, Box<Error>> { [INFO] [stdout] 12 + pub fn solve_part2() -> Result<Option<String>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day2.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_checksum(filename: &str) -> Result<usize, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn calculate_checksum(filename: &str) -> Result<usize, Box<Error>> { [INFO] [stdout] 16 + fn calculate_checksum(filename: &str) -> Result<usize, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day2.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | fn find_most_common_id_overlap(filename: &str) -> Result<Option<String>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn find_most_common_id_overlap(filename: &str) -> Result<Option<String>, Box<Error>> { [INFO] [stdout] 37 + fn find_most_common_id_overlap(filename: &str) -> Result<Option<String>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day3.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn solve_part1() -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn solve_part1() -> Result<u32, Box<Error>> { [INFO] [stdout] 52 + pub fn solve_part1() -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day3.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn solve_part2() -> Result<Option<u32>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - pub fn solve_part2() -> Result<Option<u32>, Box<Error>> { [INFO] [stdout] 56 + pub fn solve_part2() -> Result<Option<u32>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day3.rs:104:58 [INFO] [stdout] | [INFO] [stdout] 104 | fn read_claims(filename: &str) -> Result<Vec<Claim>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - fn read_claims(filename: &str) -> Result<Vec<Claim>, Box<Error>> { [INFO] [stdout] 104 + fn read_claims(filename: &str) -> Result<Vec<Claim>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day3.rs:129:76 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_captured_field(captures: &Captures, field: &str) -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - fn get_captured_field(captures: &Captures, field: &str) -> Result<u32, Box<Error>> { [INFO] [stdout] 129 + fn get_captured_field(captures: &Captures, field: &str) -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn solve_part1() -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn solve_part1() -> Result<u32, Box<Error>> { [INFO] [stdout] 64 + pub fn solve_part1() -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn solve_part2() -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - pub fn solve_part2() -> Result<u32, Box<Error>> { [INFO] [stdout] 68 + pub fn solve_part2() -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:72:49 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_part1(filename: &str) -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn get_part1(filename: &str) -> Result<u32, Box<Error>> { [INFO] [stdout] 72 + fn get_part1(filename: &str) -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_part2(filename: &str) -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - fn get_part2(filename: &str) -> Result<u32, Box<Error>> { [INFO] [stdout] 80 + fn get_part2(filename: &str) -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:129:60 [INFO] [stdout] | [INFO] [stdout] 129 | fn read_records(filename: &str) -> Result<Vec<Record>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - fn read_records(filename: &str) -> Result<Vec<Record>, Box<Error>> { [INFO] [stdout] 129 + fn read_records(filename: &str) -> Result<Vec<Record>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:167:79 [INFO] [stdout] | [INFO] [stdout] 167 | fn get_captured_field(captures: &Captures, field: &str) -> Result<String, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - fn get_captured_field(captures: &Captures, field: &str) -> Result<String, Box<Error>> { [INFO] [stdout] 167 + fn get_captured_field(captures: &Captures, field: &str) -> Result<String, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day4.rs:176:77 [INFO] [stdout] | [INFO] [stdout] 176 | fn has_captured_field(captures: &Captures, field: &str) -> Result<bool, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 - fn has_captured_field(captures: &Captures, field: &str) -> Result<bool, Box<Error>> { [INFO] [stdout] 176 + fn has_captured_field(captures: &Captures, field: &str) -> Result<bool, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day5.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn solve_part1() -> Result<usize, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn solve_part1() -> Result<usize, Box<Error>> { [INFO] [stdout] 13 + pub fn solve_part1() -> Result<usize, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day5.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn solve_part2() -> Result<usize, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn solve_part2() -> Result<usize, Box<Error>> { [INFO] [stdout] 18 + pub fn solve_part2() -> Result<usize, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day5.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | fn read_polymer(filename: &str) -> Result<String, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn read_polymer(filename: &str) -> Result<String, Box<Error>> { [INFO] [stdout] 23 + fn read_polymer(filename: &str) -> Result<String, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:108:41 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn solve_part1() -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - pub fn solve_part1() -> Result<u32, Box<Error>> { [INFO] [stdout] 108 + pub fn solve_part1() -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn solve_part2() -> Result<u32, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - pub fn solve_part2() -> Result<u32, Box<Error>> { [INFO] [stdout] 117 + pub fn solve_part2() -> Result<u32, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | fn read_coordinates(filename: &str) -> Result<Vec<Coordinate>, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read_coordinates(filename: &str) -> Result<Vec<Coordinate>, Box<Error>> { [INFO] [stdout] 124 + fn read_coordinates(filename: &str) -> Result<Vec<Coordinate>, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_captured_field(captures: &Captures, field: &str) -> Result<String, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 - fn get_captured_field(captures: &Captures, field: &str) -> Result<String, Box<Error>> { [INFO] [stdout] 148 + fn get_captured_field(captures: &Captures, field: &str) -> Result<String, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> Result<&'a mut Grid, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - ) -> Result<&'a mut Grid, Box<Error>> { [INFO] [stdout] 183 + ) -> Result<&'a mut Grid, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day6.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | ) -> Result<&mut Grid, Box<Error>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 - ) -> Result<&mut Grid, Box<Error>> { [INFO] [stdout] 199 + ) -> Result<&mut Grid, Box<dyn Error>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day7.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 12 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day8.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 5 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day9.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 12 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day9.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | type Err = Box<Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - type Err = Box<Error>; [INFO] [stdout] 23 + type Err = Box<dyn Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day10.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 12 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day10.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | type Err = Box<Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - type Err = Box<Error>; [INFO] [stdout] 29 + type Err = Box<dyn Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day10.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | type Err = Box<Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - type Err = Box<Error>; [INFO] [stdout] 66 + type Err = Box<dyn Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day11.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 6 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day12.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 12 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day12.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | type Err = Box<Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - type Err = Box<Error>; [INFO] [stdout] 79 + type Err = Box<dyn Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day13.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 7 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day13.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | type Err = Box<Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - type Err = Box<Error>; [INFO] [stdout] 56 + type Err = Box<dyn Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day14.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - type Result<T> = result::Result<T, Box<Error>>; [INFO] [stdout] 6 + type Result<T> = result::Result<T, Box<dyn Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day12.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | for (index, pot_window) in pots_slice.windows(5).enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `char_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day2.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 23 | let current_count = char_map.get(&c).unwrap_or(&0); [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 24 | char_map.insert(c, current_count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `claimed_points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day3.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 87 | let current_point = claimed_points.get(&point).unwrap_or(&0); [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] 88 | claimed_points.insert(point, current_point + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day7.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | for mut worker in worker_pool.available() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2018` due to 3 previous errors; 49 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7a418271f64edbe18517aac06b6822b80e9caf468ee230a59d6f57a8a0bf4a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a418271f64edbe18517aac06b6822b80e9caf468ee230a59d6f57a8a0bf4a2d", kill_on_drop: false }` [INFO] [stdout] 7a418271f64edbe18517aac06b6822b80e9caf468ee230a59d6f57a8a0bf4a2d