[INFO] cloning repository https://github.com/danielkeller/other-peoples-money [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielkeller/other-peoples-money" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkeller%2Fother-peoples-money", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkeller%2Fother-peoples-money'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63c9b3efcc0477c2c592eaba7eb93711aadaa9dc [INFO] checking danielkeller/other-peoples-money against master#c1feb3eceef7d5f0126c309a87062cf413fe0a25 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkeller%2Fother-peoples-money" "/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/danielkeller/other-peoples-money on toolchain c1feb3eceef7d5f0126c309a87062cf413fe0a25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielkeller/other-peoples-money [INFO] finished tweaking git repo https://github.com/danielkeller/other-peoples-money [INFO] tweaked toml for git repo https://github.com/danielkeller/other-peoples-money written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/danielkeller/other-peoples-money 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" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking danielkeller/other-peoples-money against try#0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkeller%2Fother-peoples-money" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielkeller/other-peoples-money on toolchain 0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielkeller/other-peoples-money [INFO] finished tweaking git repo https://github.com/danielkeller/other-peoples-money [INFO] tweaked toml for git repo https://github.com/danielkeller/other-peoples-money written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danielkeller/other-peoples-money 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" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking danielkeller/other-peoples-money against try#0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkeller%2Fother-peoples-money" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielkeller/other-peoples-money on toolchain 0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielkeller/other-peoples-money [INFO] finished tweaking git repo https://github.com/danielkeller/other-peoples-money [INFO] tweaked toml for git repo https://github.com/danielkeller/other-peoples-money written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danielkeller/other-peoples-money 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" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ef2a1e03bbe2f857e64e335396ea9d851b1056cdf7e51915973ef636ffe66f [INFO] running `Command { std: "docker" "start" "-a" "18ef2a1e03bbe2f857e64e335396ea9d851b1056cdf7e51915973ef636ffe66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ef2a1e03bbe2f857e64e335396ea9d851b1056cdf7e51915973ef636ffe66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ef2a1e03bbe2f857e64e335396ea9d851b1056cdf7e51915973ef636ffe66f", kill_on_drop: false }` [INFO] [stdout] 18ef2a1e03bbe2f857e64e335396ea9d851b1056cdf7e51915973ef636ffe66f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9ff4431bc4c5564d1f807d0c7ebbbadb8b3ca13723e3563fdb812ef70d6259b [INFO] running `Command { std: "docker" "start" "-a" "c9ff4431bc4c5564d1f807d0c7ebbbadb8b3ca13723e3563fdb812ef70d6259b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking opm-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Loan` and `Bond` are never constructed [INFO] [stdout] --> src/asset.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Collateral { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 11 | Loan { customer: Customer }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Bond { player: Player, count: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collateral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Loan` and `Bond` are never constructed [INFO] [stdout] --> src/asset.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Collateral { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 11 | Loan { customer: Customer }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Bond { player: Player, count: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collateral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `payment` is never used [INFO] [stdout] --> src/asset.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Repo { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | pub fn payment(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `payment` is never used [INFO] [stdout] --> src/asset.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Repo { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | pub fn payment(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Loan`, `Bond`, and `Repo` are never constructed [INFO] [stdout] --> src/asset.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CbCollateral { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 29 | Loan { customer: Customer }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Bond { player: Player, count: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Repo { player: Player, collateral: Collateral }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CbCollateral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Loan`, `Bond`, and `Repo` are never constructed [INFO] [stdout] --> src/asset.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CbCollateral { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 29 | Loan { customer: Customer }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Bond { player: Player, count: u32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Repo { player: Player, collateral: Collateral }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CbCollateral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/balance_sheet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BalanceSheet { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub reserves: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub deposits: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub loans: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub short_bonds: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub bonds: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub short_repos: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub repos: HashSet<(Player, Collateral)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub cb_repos: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BalanceSheet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/balance_sheet.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BalanceSheet { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub reserves: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub deposits: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub loans: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub short_bonds: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub bonds: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub short_repos: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub repos: HashSet<(Player, Collateral)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub cb_repos: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BalanceSheet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/balance_sheet.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl BalanceSheet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn has_customer(&self, c: Customer) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn customer_payment_amount(&self, to: Customer) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn customer_payment(&mut self, to: Customer) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn customer_interest(&mut self, c: Customer, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn interest_amount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn pay_interest(assets: &mut [Self], from: Player) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `has_customer`, `customer_payment_amount`, `customer_payment`, `customer_interest`, `interest_amount`, and `pay_interest` are never used [INFO] [stdout] --> src/balance_sheet.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl BalanceSheet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn has_customer(&self, c: Customer) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn customer_payment_amount(&self, to: Customer) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn customer_payment(&mut self, to: Customer) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn customer_interest(&mut self, c: Customer, amount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn interest_amount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn pay_interest(assets: &mut [Self], from: Player) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_SIZE` is never used [INFO] [stdout] --> src/board.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const BOARD_SIZE: usize = 22; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRICES` is never used [INFO] [stdout] --> src/board.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PRICES: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_FUNDS` is never used [INFO] [stdout] --> src/board.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MIN_FUNDS: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAN_PAYMENT` is never used [INFO] [stdout] --> src/board.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LOAN_PAYMENT: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAN_TERM` is never used [INFO] [stdout] --> src/board.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const LOAN_TERM: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOND_COUPON` is never used [INFO] [stdout] --> src/board.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const BOND_COUPON: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CB_REPO_RATE` is never used [INFO] [stdout] --> src/board.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const CB_REPO_RATE: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PassingGo` and `ToPay` are never constructed [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum TurnState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | /// Need to pay interest [INFO] [stdout] 13 | PassingGo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | /// Need to make customer payment [INFO] [stdout] 15 | ToPay, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOARD_SIZE` is never used [INFO] [stdout] --> src/board.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const BOARD_SIZE: usize = 22; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRICES` is never used [INFO] [stdout] --> src/board.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PRICES: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/game.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct PlayerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 25 | position: usize, [INFO] [stdout] 26 | points: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `assets`, `turn`, and `state` are never read [INFO] [stdout] --> src/game.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | players: Box<[PlayerState]>, [INFO] [stdout] 32 | assets: Box<[BalanceSheet]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | turn: Player, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | state: TurnState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_FUNDS` is never used [INFO] [stdout] --> src/board.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MIN_FUNDS: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/game.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn required_reserves(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn exit_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn roll(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn customer_payment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn interest_payment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn current_player(&self) -> &PlayerState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn current_player_mut(&mut self) -> &mut PlayerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn current_player_assets(&self) -> &BalanceSheet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn current_player_assets_mut(&mut self) -> &mut BalanceSheet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn find_lender(&self, c: Customer) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAN_PAYMENT` is never used [INFO] [stdout] --> src/board.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LOAN_PAYMENT: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAN_TERM` is never used [INFO] [stdout] --> src/board.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const LOAN_TERM: [u32; BOARD_SIZE as usize + 1] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOND_COUPON` is never used [INFO] [stdout] --> src/board.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const BOND_COUPON: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CB_REPO_RATE` is never used [INFO] [stdout] --> src/board.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const CB_REPO_RATE: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TurnState` is never used [INFO] [stdout] --> src/game.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum TurnState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerState` is never constructed [INFO] [stdout] --> src/game.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct PlayerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameState` is never constructed [INFO] [stdout] --> src/game.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dice_roll` is never used [INFO] [stdout] --> src/game.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn dice_roll() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl GameState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new(n_players: usize) -> GameState { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn required_reserves(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn exit_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn roll(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn customer_payment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn interest_payment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn current_player(&self) -> &PlayerState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn current_player_mut(&mut self) -> &mut PlayerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn current_player_assets(&self) -> &BalanceSheet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn current_player_assets_mut(&mut self) -> &mut BalanceSheet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn find_lender(&self, c: Customer) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "c9ff4431bc4c5564d1f807d0c7ebbbadb8b3ca13723e3563fdb812ef70d6259b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9ff4431bc4c5564d1f807d0c7ebbbadb8b3ca13723e3563fdb812ef70d6259b", kill_on_drop: false }` [INFO] [stdout] c9ff4431bc4c5564d1f807d0c7ebbbadb8b3ca13723e3563fdb812ef70d6259b