[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a37c67a6d65c0db8ece036498372a31cf1a3c1b55a4a2a3d40aa037785c2b8 [INFO] running `Command { std: "docker" "start" "-a" "d3a37c67a6d65c0db8ece036498372a31cf1a3c1b55a4a2a3d40aa037785c2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a37c67a6d65c0db8ece036498372a31cf1a3c1b55a4a2a3d40aa037785c2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a37c67a6d65c0db8ece036498372a31cf1a3c1b55a4a2a3d40aa037785c2b8", kill_on_drop: false }` [INFO] [stdout] d3a37c67a6d65c0db8ece036498372a31cf1a3c1b55a4a2a3d40aa037785c2b8 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bbd4e0c922e002f32ebc99c801a7a0860671861f0e3ecb4c7177a94b7899e5a [INFO] running `Command { std: "docker" "start" "-a" "9bbd4e0c922e002f32ebc99c801a7a0860671861f0e3ecb4c7177a94b7899e5a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1m 37s [INFO] running `Command { std: "docker" "inspect" "9bbd4e0c922e002f32ebc99c801a7a0860671861f0e3ecb4c7177a94b7899e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bbd4e0c922e002f32ebc99c801a7a0860671861f0e3ecb4c7177a94b7899e5a", kill_on_drop: false }` [INFO] [stdout] 9bbd4e0c922e002f32ebc99c801a7a0860671861f0e3ecb4c7177a94b7899e5a [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f983f09ed0470f01eea7579507f8479b11b0a475a18f57b32099d20a0c47954 [INFO] running `Command { std: "docker" "start" "-a" "7f983f09ed0470f01eea7579507f8479b11b0a475a18f57b32099d20a0c47954", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling aoc2019 v0.1.0 (/opt/rustwide/workdir) [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 1.38s [INFO] running `Command { std: "docker" "inspect" "7f983f09ed0470f01eea7579507f8479b11b0a475a18f57b32099d20a0c47954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f983f09ed0470f01eea7579507f8479b11b0a475a18f57b32099d20a0c47954", kill_on_drop: false }` [INFO] [stdout] 7f983f09ed0470f01eea7579507f8479b11b0a475a18f57b32099d20a0c47954 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8d1922ebab3305ea9d2d066ac540b6f9a29ada3a5e0b266e8d855f684bfa08b [INFO] running `Command { std: "docker" "start" "-a" "f8d1922ebab3305ea9d2d066ac540b6f9a29ada3a5e0b266e8d855f684bfa08b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2019-857c9e9b5a084721) [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::edges ... ok [INFO] [stdout] test graph::tests::find_edge ... ok [INFO] [stdout] test graph::tests::vertices ... ok [INFO] [stdout] test graph::tests::find_route ... ok [INFO] [stdout] test intcode::tests::add ... ok [INFO] [stdout] test intcode::tests::eq ... 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::le ... ok [INFO] [stdout] test intcode::tests::modes ... ok [INFO] [stdout] test intcode::tests::mul ... 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.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2019-49f9515f247cb2fb) [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 (/opt/rustwide/target/debug/deps/intcodepc-376040ccdcdedbb1) [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" "f8d1922ebab3305ea9d2d066ac540b6f9a29ada3a5e0b266e8d855f684bfa08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d1922ebab3305ea9d2d066ac540b6f9a29ada3a5e0b266e8d855f684bfa08b", kill_on_drop: false }` [INFO] [stdout] f8d1922ebab3305ea9d2d066ac540b6f9a29ada3a5e0b266e8d855f684bfa08b