[INFO] cloning repository https://github.com/kanales/aoc19-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanales/aoc19-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanales%2Faoc19-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanales%2Faoc19-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44df8582086a5af0ff269cf76330070f6388598d [INFO] building kanales/aoc19-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanales%2Faoc19-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanales/aoc19-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kanales/aoc19-rust [INFO] finished tweaking git repo https://github.com/kanales/aoc19-rust [INFO] tweaked toml for git repo https://github.com/kanales/aoc19-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kanales/aoc19-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2608433e27be5337dcf03487b59d783be5435f6222a094d54b8428a2c645c8d3 [INFO] running `Command { std: "docker" "start" "-a" "2608433e27be5337dcf03487b59d783be5435f6222a094d54b8428a2c645c8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2608433e27be5337dcf03487b59d783be5435f6222a094d54b8428a2c645c8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2608433e27be5337dcf03487b59d783be5435f6222a094d54b8428a2c645c8d3", kill_on_drop: false }` [INFO] [stdout] 2608433e27be5337dcf03487b59d783be5435f6222a094d54b8428a2c645c8d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 563d024097abb967b07b56919852d8298379d560a07c4c80bf629aafbac5f8ff [INFO] running `Command { std: "docker" "start" "-a" "563d024097abb967b07b56919852d8298379d560a07c4c80bf629aafbac5f8ff", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling aoc19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Runnable` is never used [INFO] [stdout] --> src/intcode/mod.rs:329:11 [INFO] [stdout] | [INFO] [stdout] 329 | pub trait Runnable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "563d024097abb967b07b56919852d8298379d560a07c4c80bf629aafbac5f8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563d024097abb967b07b56919852d8298379d560a07c4c80bf629aafbac5f8ff", kill_on_drop: false }` [INFO] [stdout] 563d024097abb967b07b56919852d8298379d560a07c4c80bf629aafbac5f8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f26445a4b859f0413508940681bb7836a3a041372e2164efa1e0dd279a8cf06c [INFO] running `Command { std: "docker" "start" "-a" "f26445a4b859f0413508940681bb7836a3a041372e2164efa1e0dd279a8cf06c", kill_on_drop: false }` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/solutions/day6.rs:46:64 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_orbiters<'a>(&'a self, from: &'a String) -> Vec<&String> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Runnable` is never used [INFO] [stdout] --> src/intcode/mod.rs:329:11 [INFO] [stdout] | [INFO] [stdout] 329 | pub trait Runnable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day` and `part` are never read [INFO] [stdout] --> src/solutions/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DayParseError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | day: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | part: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DayParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Layer<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 96 | number: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/intcode/mod.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | _ => panic!(format!("Trying to feed {:?}", self.status)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 242 - _ => panic!(format!("Trying to feed {:?}", self.status)), [INFO] [stdout] 242 + _ => panic!("Trying to feed {:?}", self.status), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | x => panic!(format!("1: Unexpected status {:?}", x)), [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] 44 - x => panic!(format!("1: Unexpected status {:?}", x)), [INFO] [stdout] 44 + x => panic!("1: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solutions/day7.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | x => panic!(format!("2: Unexpected status {:?}", x)), [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] 48 - x => panic!(format!("2: Unexpected status {:?}", x)), [INFO] [stdout] 48 + x => panic!("2: Unexpected status {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "f26445a4b859f0413508940681bb7836a3a041372e2164efa1e0dd279a8cf06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26445a4b859f0413508940681bb7836a3a041372e2164efa1e0dd279a8cf06c", kill_on_drop: false }` [INFO] [stdout] f26445a4b859f0413508940681bb7836a3a041372e2164efa1e0dd279a8cf06c