[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] building pocket7878/jr-pricing-rust against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpocket7878%2Fjr-pricing-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pocket7878/jr-pricing-rust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e51f18ff100f4b8f065431c05b4e7fada41f4fd72a88d1982c2f339fc8e0980d [INFO] running `Command { std: "docker" "start" "-a" "e51f18ff100f4b8f065431c05b4e7fada41f4fd72a88d1982c2f339fc8e0980d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e51f18ff100f4b8f065431c05b4e7fada41f4fd72a88d1982c2f339fc8e0980d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51f18ff100f4b8f065431c05b4e7fada41f4fd72a88d1982c2f339fc8e0980d", kill_on_drop: false }` [INFO] [stdout] e51f18ff100f4b8f065431c05b4e7fada41f4fd72a88d1982c2f339fc8e0980d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f170cbdbf7553be397e2af4aad3e40b4b5cb844e995cb09fa44ce71b8cf8a2d [INFO] running `Command { std: "docker" "start" "-a" "3f170cbdbf7553be397e2af4aad3e40b4b5cb844e995cb09fa44ce71b8cf8a2d", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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] = note: `Amount` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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 { [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] = note: `WorkingKiloMeter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "3f170cbdbf7553be397e2af4aad3e40b4b5cb844e995cb09fa44ce71b8cf8a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f170cbdbf7553be397e2af4aad3e40b4b5cb844e995cb09fa44ce71b8cf8a2d", kill_on_drop: false }` [INFO] [stdout] 3f170cbdbf7553be397e2af4aad3e40b4b5cb844e995cb09fa44ce71b8cf8a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f22306ff03ea98b31561c79f58185e9bbbe54d1dde33666939a0e4f0a355737 [INFO] running `Command { std: "docker" "start" "-a" "9f22306ff03ea98b31561c79f58185e9bbbe54d1dde33666939a0e4f0a355737", kill_on_drop: false }` [INFO] [stderr] error: failed to create directory `/opt/rustwide/target/debug/.fingerprint/jr-pricing-rust-57f1707a983d4970` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] running `Command { std: "docker" "inspect" "9f22306ff03ea98b31561c79f58185e9bbbe54d1dde33666939a0e4f0a355737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f22306ff03ea98b31561c79f58185e9bbbe54d1dde33666939a0e4f0a355737", kill_on_drop: false }` [INFO] [stdout] 9f22306ff03ea98b31561c79f58185e9bbbe54d1dde33666939a0e4f0a355737