[INFO] cloning repository https://github.com/NotNorom/protohackers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NotNorom/protohackers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNotNorom%2Fprotohackers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNotNorom%2Fprotohackers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 973cf0d437c59c0999624dc0d3a12abcf88873bb [INFO] checking NotNorom/protohackers against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNotNorom%2Fprotohackers" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NotNorom/protohackers [INFO] finished tweaking git repo https://github.com/NotNorom/protohackers [INFO] tweaked toml for git repo https://github.com/NotNorom/protohackers written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NotNorom/protohackers on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NotNorom/protohackers 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a7777a4ed358d664855226391e64d9b9904807df3209a255af33fdf58ea5a82 [INFO] running `Command { std: "docker" "start" "-a" "0a7777a4ed358d664855226391e64d9b9904807df3209a255af33fdf58ea5a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a7777a4ed358d664855226391e64d9b9904807df3209a255af33fdf58ea5a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7777a4ed358d664855226391e64d9b9904807df3209a255af33fdf58ea5a82", kill_on_drop: false }` [INFO] [stdout] 0a7777a4ed358d664855226391e64d9b9904807df3209a255af33fdf58ea5a82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7b60b759263d57802a32db9421429d44b4891f2f58330b64387e2f856a9aaa9 [INFO] running `Command { std: "docker" "start" "-a" "e7b60b759263d57802a32db9421429d44b4891f2f58330b64387e2f856a9aaa9", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking time v0.3.15 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking primes v0.3.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking protohackers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bin/problem6.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/bin/problem6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncReadExt`, `AsyncWriteExt`, and `ReadBuf` [INFO] [stdout] --> src/bin/problem6.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader, BufWriter, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::tcp::ReadHalf` [INFO] [stdout] --> src/bin/problem6.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::net::tcp::ReadHalf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/bin/problem6.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instrument`, `info_span`, and `warn` [INFO] [stdout] --> src/bin/problem6.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{error, info, info_span, warn, Instrument, instrument}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bin/problem6.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/bin/problem6.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncReadExt`, `AsyncWriteExt`, and `ReadBuf` [INFO] [stdout] --> src/bin/problem6.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader, BufWriter, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::tcp::ReadHalf` [INFO] [stdout] --> src/bin/problem6.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::net::tcp::ReadHalf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/bin/problem6.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instrument`, `info_span`, and `warn` [INFO] [stdout] --> src/bin/problem6.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{error, info, info_span, warn, Instrument, instrument}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/problem6.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | _ => bail!("uhhh"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bin/problem6.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 94 | Self::Error(error) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 104 | Self::Ticket(ticket) => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | Self::Heartbeat(heartbeat) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => bail!("uhhh"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/problem6.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | async fn handle_client(mut stream: TcpStream, addr: SocketAddr) -> Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/problem6.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let mut roads = [Road { speed_limit: 0 }; u16::MAX as usize]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat` [INFO] [stdout] --> src/bin/problem6.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | Self::Heartbeat(heartbeat) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roads` [INFO] [stdout] --> src/bin/problem6.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let mut roads = [Road { speed_limit: 0 }; u16::MAX as usize]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tickets` is never used [INFO] [stdout] --> src/bin/problem6.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | async fn handle_tickets() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ticket` is never constructed [INFO] [stdout] --> src/bin/problem6.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum ServerMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 86 | Error(Error), [INFO] [stdout] 87 | Ticket(Ticket), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `msg` is never used [INFO] [stdout] --> src/bin/problem6.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 134 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn msg(&self) -> &String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plate` and `timestamp` are never read [INFO] [stdout] --> src/bin/problem6.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Plate { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 148 | pub plate: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | pub timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `road`, `mile`, and `limit` are never read [INFO] [stdout] --> src/bin/problem6.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct IAmCamera { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 180 | pub road: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 181 | pub mile: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 182 | /// in miles per hour [INFO] [stdout] 183 | pub limit: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IAmCamera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `numroads` and `roads` are never read [INFO] [stdout] --> src/bin/problem6.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct IAmDispatcher { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 188 | pub numroads: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 189 | pub roads: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IAmDispatcher` 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 `state` is never read [INFO] [stdout] --> src/bin/problem6.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | Dispatcher { state: IAmDispatcher }, [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Road` is never constructed [INFO] [stdout] --> src/bin/problem6.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct Road { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/problem6.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | _ => bail!("uhhh"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bin/problem6.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 94 | Self::Error(error) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 104 | Self::Ticket(ticket) => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | Self::Heartbeat(heartbeat) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 124 | _ => bail!("uhhh"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/problem6.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | async fn handle_client(mut stream: TcpStream, addr: SocketAddr) -> Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/problem6.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let mut roads = [Road { speed_limit: 0 }; u16::MAX as usize]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heartbeat` [INFO] [stdout] --> src/bin/problem6.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | Self::Heartbeat(heartbeat) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heartbeat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roads` [INFO] [stdout] --> src/bin/problem6.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let mut roads = [Road { speed_limit: 0 }; u16::MAX as usize]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tickets` is never used [INFO] [stdout] --> src/bin/problem6.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | async fn handle_tickets() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ticket` is never constructed [INFO] [stdout] --> src/bin/problem6.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum ServerMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 86 | Error(Error), [INFO] [stdout] 87 | Ticket(Ticket), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `msg` is never used [INFO] [stdout] --> src/bin/problem6.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 134 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn msg(&self) -> &String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plate` and `timestamp` are never read [INFO] [stdout] --> src/bin/problem6.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Plate { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 148 | pub plate: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | pub timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `road`, `mile`, and `limit` are never read [INFO] [stdout] --> src/bin/problem6.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct IAmCamera { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 180 | pub road: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 181 | pub mile: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 182 | /// in miles per hour [INFO] [stdout] 183 | pub limit: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IAmCamera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `numroads` and `roads` are never read [INFO] [stdout] --> src/bin/problem6.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct IAmDispatcher { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 188 | pub numroads: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 189 | pub roads: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IAmDispatcher` 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 `state` is never read [INFO] [stdout] --> src/bin/problem6.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | Dispatcher { state: IAmDispatcher }, [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Road` is never constructed [INFO] [stdout] --> src/bin/problem6.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct Road { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s [INFO] running `Command { std: "docker" "inspect" "e7b60b759263d57802a32db9421429d44b4891f2f58330b64387e2f856a9aaa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b60b759263d57802a32db9421429d44b4891f2f58330b64387e2f856a9aaa9", kill_on_drop: false }` [INFO] [stdout] e7b60b759263d57802a32db9421429d44b4891f2f58330b64387e2f856a9aaa9