[INFO] cloning repository https://github.com/akatakritos/adventofcode-2018-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akatakritos/adventofcode-2018-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakatakritos%2Fadventofcode-2018-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakatakritos%2Fadventofcode-2018-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16f9f75ff9cbe2f7f3dea2fb9199332de21066e4 [INFO] checking akatakritos/adventofcode-2018-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakatakritos%2Fadventofcode-2018-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akatakritos/adventofcode-2018-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akatakritos/adventofcode-2018-rust [INFO] finished tweaking git repo https://github.com/akatakritos/adventofcode-2018-rust [INFO] tweaked toml for git repo https://github.com/akatakritos/adventofcode-2018-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/akatakritos/adventofcode-2018-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spectral v0.6.0 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded num-complex v0.1.43 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded libc v0.2.44 [INFO] [stderr] Downloaded num-bigint v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5164ecc930d2fca6a9265188d2d71161298e431d5aaf9c9dfd80cdd9278f0ea9 [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" "5164ecc930d2fca6a9265188d2d71161298e431d5aaf9c9dfd80cdd9278f0ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5164ecc930d2fca6a9265188d2d71161298e431d5aaf9c9dfd80cdd9278f0ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5164ecc930d2fca6a9265188d2d71161298e431d5aaf9c9dfd80cdd9278f0ea9", kill_on_drop: false }` [INFO] [stdout] 5164ecc930d2fca6a9265188d2d71161298e431d5aaf9c9dfd80cdd9278f0ea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d8dd2a55562b40065f0c4bdf6843c2b453e807ad13bf5704b9932c407dea956 [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" "8d8dd2a55562b40065f0c4bdf6843c2b453e807ad13bf5704b9932c407dea956", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking adventofcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day02/mod.rs:67:61 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn load_boxes(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:9:67 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_input(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/day06/mod.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | *count += count_indexes(&grid, i);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day07/mod.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read_input(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day02/mod.rs:67:61 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn load_boxes(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day03/mod.rs:9:67 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_input(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/day06/mod.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | *count += count_indexes(&grid, i);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day07/mod.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read_input(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day07/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut m_edges = nodes.get_mut(&m).unwrap(); [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] warning: panic message is not a string literal [INFO] [stdout] --> src/day01/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | "Could not find a repeat in {} iterations", [INFO] [stdout] 52 | | MAX_ITERS [INFO] [stdout] 53 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 | panic!( [INFO] [stdout] 51 | "Could not find a repeat in {} iterations", [INFO] [stdout] 52 | MAX_ITERS [INFO] [stdout] 53 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day07/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut m_edges = nodes.get_mut(&m).unwrap(); [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] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(d) => panic!(format!("Day {} not implemented.", d)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 22 | Ok(d) => panic!("Day {} not implemented.", d), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | Err(_) => panic!(format!("Can't parse '{}' as a day", args[1])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 23 | Err(_) => panic!("Can't parse '{}' as a day", args[1]), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(d) => panic!(format!("Day {} not implemented.", d)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 22 | Ok(d) => panic!("Day {} not implemented.", d), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | Err(_) => panic!(format!("Can't parse '{}' as a day", args[1])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 23 | Err(_) => panic!("Can't parse '{}' as a day", args[1]), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day01/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | "Could not find a repeat in {} iterations", [INFO] [stdout] 52 | | MAX_ITERS [INFO] [stdout] 53 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 | panic!( [INFO] [stdout] 51 | "Could not find a repeat in {} iterations", [INFO] [stdout] 52 | MAX_ITERS [INFO] [stdout] 53 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.35s [INFO] running `Command { std: "docker" "inspect" "8d8dd2a55562b40065f0c4bdf6843c2b453e807ad13bf5704b9932c407dea956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8dd2a55562b40065f0c4bdf6843c2b453e807ad13bf5704b9932c407dea956", kill_on_drop: false }` [INFO] [stdout] 8d8dd2a55562b40065f0c4bdf6843c2b453e807ad13bf5704b9932c407dea956