[INFO] cloning repository https://github.com/pocket7878/jr-pricing-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pocket7878/jr-pricing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocket7878%2Fjr-pricing-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocket7878%2Fjr-pricing-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21cc0e647197ac0114dda56fd93514718b907aa3
[INFO] checking pocket7878/jr-pricing-rust against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocket7878%2Fjr-pricing-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pocket7878/jr-pricing-rust
[INFO] finished tweaking git repo https://github.com/pocket7878/jr-pricing-rust
[INFO] tweaked toml for git repo https://github.com/pocket7878/jr-pricing-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pocket7878/jr-pricing-rust on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pocket7878/jr-pricing-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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 512b6417d5661961a17bc220b235ae61191edc6929533cf3bb6e68ffce784959
[INFO] running `Command { std: "docker" "start" "-a" "512b6417d5661961a17bc220b235ae61191edc6929533cf3bb6e68ffce784959", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "512b6417d5661961a17bc220b235ae61191edc6929533cf3bb6e68ffce784959", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "512b6417d5661961a17bc220b235ae61191edc6929533cf3bb6e68ffce784959", kill_on_drop: false }`
[INFO] [stdout] 512b6417d5661961a17bc220b235ae61191edc6929533cf3bb6e68ffce784959
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ad0542d38d8cffcb9b8a1533512e270f27053766ec7087537ea934dfd8ebb2e
[INFO] running `Command { std: "docker" "start" "-a" "2ad0542d38d8cffcb9b8a1533512e270f27053766ec7087537ea934dfd8ebb2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]     Checking jr-pricing-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::amount::Amount`
[INFO] [stdout]  --> src/super_express_surcharge.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::amount::Amount;
[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: `crate::amount::Amount`
[INFO] [stdout]  --> src/super_express_surcharge.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::amount::Amount;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/price_table.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut table = HashMap::new();
[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: enum `Season` is never used
[INFO] [stdout]  --> src/season.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Season {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> src/amount.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Amount {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn add(&self, other: &Amount) -> Amount {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicFare` is never constructed
[INFO] [stdout]  --> src/basic_fare.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct BasicFare {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `amount` are never used
[INFO] [stdout]   --> src/basic_fare.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl BasicFare {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn amount(&self, departure: Departure, destination: Destination) -> Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Departure` is never used
[INFO] [stdout]  --> src/place.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Departure {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Destination` is never used
[INFO] [stdout]  --> src/place.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Destination {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceTable` is never constructed
[INFO] [stdout]  --> src/price_table.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PriceTable {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_amount`, and `amount` are never used
[INFO] [stdout]   --> src/price_table.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PriceTable {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn set_amount(&mut self, departure: place::Departure, destination: place::Destination, amount: amount::Amount) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn amount(&self, departure: place::Departure, destination: place::Destination) -> amount::Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HikariReservedSeatSurcharge` is never constructed
[INFO] [stdout]  --> src/super_express_surcharge/hikari.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct HikariReservedSeatSurcharge {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `amount` are never used
[INFO] [stdout]   --> src/super_express_surcharge/hikari.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl HikariReservedSeatSurcharge {
[INFO] [stdout]    | -------------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn amount(&self, departure: Departure, destination: Destination) -> Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NozomiAdditionalCharge` is never constructed
[INFO] [stdout]  --> src/super_express_surcharge/nozomi.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct NozomiAdditionalCharge {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `amount` are never used
[INFO] [stdout]   --> src/super_express_surcharge/nozomi.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl NozomiAdditionalCharge {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn amount(&self, departure: Departure, destination: Destination) -> Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrainType` is never used
[INFO] [stdout]  --> src/train_type.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum TrainType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SeatType` is never used
[INFO] [stdout]  --> src/seat_type.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum SeatType {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DistanceTable` is never constructed
[INFO] [stdout]  --> src/distance_table.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct DistanceTable {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `distance` are never used
[INFO] [stdout]   --> src/distance_table.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DistanceTable {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn distance(&self, departure: Departure, destination: Destination) -> WorkingKiloMeter {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WorkingKiloMeter` is never constructed
[INFO] [stdout]  --> src/working_kilo_meter.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct WorkingKiloMeter {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/working_kilo_meter.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl WorkingKiloMeter {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(kilo_meter: i32) -> Result<WorkingKiloMeter, anyhow::Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/price_table.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let mut table = HashMap::new();
[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: enum `Season` is never used
[INFO] [stdout]  --> src/season.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Season {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Amount` is never constructed
[INFO] [stdout]  --> src/amount.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Amount {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, and `value` are never used
[INFO] [stdout]   --> src/amount.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Amount {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(amount: i32) -> Result<Amount, anyhow::Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn add(&self, other: &Amount) -> Amount {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn value(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicFare` is never constructed
[INFO] [stdout]  --> src/basic_fare.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct BasicFare {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `amount` are never used
[INFO] [stdout]   --> src/basic_fare.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl BasicFare {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn amount(&self, departure: Departure, destination: Destination) -> Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Departure` is never used
[INFO] [stdout]  --> src/place.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Departure {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Destination` is never used
[INFO] [stdout]  --> src/place.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Destination {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceTable` is never constructed
[INFO] [stdout]  --> src/price_table.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PriceTable {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_amount`, and `amount` are never used
[INFO] [stdout]   --> src/price_table.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl PriceTable {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn set_amount(&mut self, departure: place::Departure, destination: place::Destination, amount: amount::Amount) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn amount(&self, departure: place::Departure, destination: place::Destination) -> amount::Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HikariReservedSeatSurcharge` is never constructed
[INFO] [stdout]  --> src/super_express_surcharge/hikari.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct HikariReservedSeatSurcharge {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `amount` are never used
[INFO] [stdout]   --> src/super_express_surcharge/hikari.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl HikariReservedSeatSurcharge {
[INFO] [stdout]    | -------------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn amount(&self, departure: Departure, destination: Destination) -> Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NozomiAdditionalCharge` is never constructed
[INFO] [stdout]  --> src/super_express_surcharge/nozomi.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct NozomiAdditionalCharge {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `amount` are never used
[INFO] [stdout]   --> src/super_express_surcharge/nozomi.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl NozomiAdditionalCharge {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn amount(&self, departure: Departure, destination: Destination) -> Amount {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrainType` is never used
[INFO] [stdout]  --> src/train_type.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum TrainType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SeatType` is never used
[INFO] [stdout]  --> src/seat_type.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum SeatType {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RiderType` is never used
[INFO] [stdout]  --> src/rider_type.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum RiderType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RiderTypeDiscount` is never constructed
[INFO] [stdout]  --> src/discount/rider_type_discount.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RiderTypeDiscount {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `apply` are never used
[INFO] [stdout]   --> src/discount/rider_type_discount.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl RiderTypeDiscount {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(rider_type: RiderType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn apply(&self, amount: Amount) -> Amount {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DistanceTable` is never constructed
[INFO] [stdout]  --> src/distance_table.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct DistanceTable {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `distance` are never used
[INFO] [stdout]   --> src/distance_table.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DistanceTable {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn distance(&self, departure: Departure, destination: Destination) -> WorkingKiloMeter {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WorkingKiloMeter` is never constructed
[INFO] [stdout]  --> src/working_kilo_meter.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct WorkingKiloMeter {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/working_kilo_meter.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl WorkingKiloMeter {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(kilo_meter: i32) -> Result<WorkingKiloMeter, anyhow::Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "2ad0542d38d8cffcb9b8a1533512e270f27053766ec7087537ea934dfd8ebb2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ad0542d38d8cffcb9b8a1533512e270f27053766ec7087537ea934dfd8ebb2e", kill_on_drop: false }`
[INFO] [stdout] 2ad0542d38d8cffcb9b8a1533512e270f27053766ec7087537ea934dfd8ebb2e
