[INFO] cloning repository https://github.com/nemq/AoC2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nemq/AoC2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemq%2FAoC2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemq%2FAoC2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54e751162e2d8b3bcde0a3c7026d40711b12c2c3 [INFO] testing nemq/AoC2019 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%2Fnemq%2FAoC2019" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nemq/AoC2019 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/nemq/AoC2019 [INFO] finished tweaking git repo https://github.com/nemq/AoC2019 [INFO] tweaked toml for git repo https://github.com/nemq/AoC2019 written to /workspace/builds/worker-60/source/Cargo.toml [INFO] crate git repo https://github.com/nemq/AoC2019 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] d74cf325a21e4891632ece524916ffcefd86a0a04969d18b8ea2c01fc91419f2 [INFO] running `Command { std: "docker" "start" "-a" "d74cf325a21e4891632ece524916ffcefd86a0a04969d18b8ea2c01fc91419f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d74cf325a21e4891632ece524916ffcefd86a0a04969d18b8ea2c01fc91419f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74cf325a21e4891632ece524916ffcefd86a0a04969d18b8ea2c01fc91419f2", kill_on_drop: false }` [INFO] [stdout] d74cf325a21e4891632ece524916ffcefd86a0a04969d18b8ea2c01fc91419f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] 47773a8ba4dd8c9b85716a8dbedf09675bd904ad904cc876f4e94b795f51273c [INFO] running `Command { std: "docker" "start" "-a" "47773a8ba4dd8c9b85716a8dbedf09675bd904ad904cc876f4e94b795f51273c", kill_on_drop: false }` [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:145:71 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:148:71 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_edge` [INFO] [stdout] --> src/graph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn find_edge<'g>(&'g self, start: &Vertex, end: &Vertex) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `edges` [INFO] [stdout] --> src/graph.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn edges<'g>(&'g self) -> EdgeIter<'g, Vertex, Weight> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 145 - panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] 145 + panic!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 148 - Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] 148 + Err(e) => panic!("Failed to read from cin: {}", e.description()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 169 - Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] 169 + Err(e) => panic!("Failed to write to stdout: {}", e.description()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day3.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!("invalid token: {}", t)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 58 - panic!(format!("invalid token: {}", t)); [INFO] [stdout] 58 + panic!("invalid token: {}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.01s [INFO] running `Command { std: "docker" "inspect" "47773a8ba4dd8c9b85716a8dbedf09675bd904ad904cc876f4e94b795f51273c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47773a8ba4dd8c9b85716a8dbedf09675bd904ad904cc876f4e94b795f51273c", kill_on_drop: false }` [INFO] [stdout] 47773a8ba4dd8c9b85716a8dbedf09675bd904ad904cc876f4e94b795f51273c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] 1d90537a40f383a3e2ec87f886f33e0ca39399a4d70198b59c8be792b96fb9ce [INFO] running `Command { std: "docker" "start" "-a" "1d90537a40f383a3e2ec87f886f33e0ca39399a4d70198b59c8be792b96fb9ce", kill_on_drop: false }` [INFO] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:145:71 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:148:71 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_edge` [INFO] [stdout] --> src/graph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn find_edge<'g>(&'g self, start: &Vertex, end: &Vertex) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `edges` [INFO] [stdout] --> src/graph.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn edges<'g>(&'g self) -> EdgeIter<'g, Vertex, Weight> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 145 - panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] 145 + panic!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 148 - Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] 148 + Err(e) => panic!("Failed to read from cin: {}", e.description()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 169 - Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] 169 + Err(e) => panic!("Failed to write to stdout: {}", e.description()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day3.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!("invalid token: {}", t)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 58 - panic!(format!("invalid token: {}", t)); [INFO] [stdout] 58 + panic!("invalid token: {}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:145:71 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:148:71 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/intcode.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 145 - panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stdout] 145 + panic!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 148 - Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stdout] 148 + Err(e) => panic!("Failed to read from cin: {}", e.description()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 169 - Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stdout] 169 + Err(e) => panic!("Failed to write to stdout: {}", e.description()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day3.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!("invalid token: {}", t)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 58 - panic!(format!("invalid token: {}", t)); [INFO] [stdout] 58 + panic!("invalid token: {}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 83 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day7.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.77s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/aoc2019-34de5f11c0b69807) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2019-a296434a5469c37a) [INFO] [stderr] Executable unittests src/bin/intcodepc.rs (/opt/rustwide/target/debug/deps/intcodepc-0009e8c30b1b2082) [INFO] running `Command { std: "docker" "inspect" "1d90537a40f383a3e2ec87f886f33e0ca39399a4d70198b59c8be792b96fb9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d90537a40f383a3e2ec87f886f33e0ca39399a4d70198b59c8be792b96fb9ce", kill_on_drop: false }` [INFO] [stdout] 1d90537a40f383a3e2ec87f886f33e0ca39399a4d70198b59c8be792b96fb9ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] 52a4b88b9a04dbab4703c70c6502104cea9a3acf8744e22941d856aad1fd99ef [INFO] running `Command { std: "docker" "start" "-a" "52a4b88b9a04dbab4703c70c6502104cea9a3acf8744e22941d856aad1fd99ef", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/intcode.rs:145:71 [INFO] [stderr] | [INFO] [stderr] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/intcode.rs:148:71 [INFO] [stderr] | [INFO] [stderr] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/intcode.rs:169:71 [INFO] [stderr] | [INFO] [stderr] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_edge` [INFO] [stderr] --> src/graph.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn find_edge<'g>(&'g self, start: &Vertex, end: &Vertex) -> Option> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `edges` [INFO] [stderr] --> src/graph.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn edges<'g>(&'g self) -> EdgeIter<'g, Vertex, Weight> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode.rs:145:32 [INFO] [stderr] | [INFO] [stderr] 145 | panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 145 - panic!(format!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf))} [INFO] [stderr] 145 + panic!("NaN: {} [len: {} buf: {}]", e.description(), buf.len(), buf)} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode.rs:148:30 [INFO] [stderr] | [INFO] [stderr] 148 | Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 148 - Err(e) => panic!(format!("Failed to read from cin: {}", e.description())) [INFO] [stderr] 148 + Err(e) => panic!("Failed to read from cin: {}", e.description()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/intcode.rs:169:28 [INFO] [stderr] | [INFO] [stderr] 169 | Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 169 - Err(e) => panic!(format!("Failed to write to stdout: {}", e.description())) [INFO] [stderr] 169 + Err(e) => panic!("Failed to write to stdout: {}", e.description()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day3.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | panic!(format!("invalid token: {}", t)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 58 - panic!(format!("invalid token: {}", t)); [INFO] [stderr] 58 + panic!("invalid token: {}", t); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day7.rs:83:38 [INFO] [stderr] | [INFO] [stderr] 83 | Err(e) => panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 83 | Err(e) => panic!("{}", e) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 83 | Err(e) => std::panic::panic_any(e) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day7.rs:101:38 [INFO] [stderr] | [INFO] [stderr] 101 | Err(e) => panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 101 | Err(e) => panic!("{}", e) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 101 | Err(e) => std::panic::panic_any(e) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `aoc2019` (lib) generated 11 warnings [INFO] [stderr] warning: `aoc2019` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aoc2019-34de5f11c0b69807) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test day1::tests::fuel ... ok [INFO] [stdout] test day1::tests::fuel_compound ... ok [INFO] [stdout] test day3::tests::curve_intersection ... ok [INFO] [stdout] test day3::tests::parse_curve ... ok [INFO] [stdout] test day3::tests::point_dist ... ok [INFO] [stdout] test day3::tests::segment_intersection ... ok [INFO] [stdout] test day3::tests::steps_to_reach ... ok [INFO] [stdout] test day4::tests::has_adjacent_digits_pair ... ok [INFO] [stdout] test day4::tests::read_bounds ... ok [INFO] [stdout] test day7::tests::run_amplifiers ... ok [INFO] [stdout] test day::tests::input_exists ... ok [INFO] [stdout] test day::tests::read_input ... ok [INFO] [stdout] test graph::tests::add_edge ... ok [INFO] [stdout] test graph::tests::find_edge ... ok [INFO] [stdout] test graph::tests::edges ... ok [INFO] [stdout] test graph::tests::find_route ... ok [INFO] [stdout] test graph::tests::vertices ... ok [INFO] [stdout] test intcode::tests::eq ... ok [INFO] [stdout] test intcode::tests::add ... ok [INFO] [stdout] test intcode::tests::halt ... ok [INFO] [stdout] test intcode::tests::input ... ok [INFO] [stdout] test intcode::tests::jnz ... ok [INFO] [stdout] test intcode::tests::jz ... ok [INFO] [stdout] test intcode::tests::mul ... ok [INFO] [stdout] test intcode::tests::le ... ok [INFO] [stdout] test intcode::tests::modes ... ok [INFO] [stdout] test intcode::tests::output ... ok [INFO] [stdout] test intcode::tests::run ... ok [INFO] [stdout] test day3::tests::segment_orientation - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aoc2019-a296434a5469c37a) [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] [stderr] Running unittests src/bin/intcodepc.rs (/opt/rustwide/target/debug/deps/intcodepc-0009e8c30b1b2082) [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] [stderr] Doc-tests aoc2019 [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" "52a4b88b9a04dbab4703c70c6502104cea9a3acf8744e22941d856aad1fd99ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a4b88b9a04dbab4703c70c6502104cea9a3acf8744e22941d856aad1fd99ef", kill_on_drop: false }` [INFO] [stdout] 52a4b88b9a04dbab4703c70c6502104cea9a3acf8744e22941d856aad1fd99ef