[INFO] cloning repository https://github.com/mimirmim/veil_pos_simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mimirmim/veil_pos_simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimirmim%2Fveil_pos_simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimirmim%2Fveil_pos_simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0c15356e8352652eedeac7490b5ce96b804144f [INFO] checking mimirmim/veil_pos_simulation against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimirmim%2Fveil_pos_simulation" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mimirmim/veil_pos_simulation on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mimirmim/veil_pos_simulation [INFO] finished tweaking git repo https://github.com/mimirmim/veil_pos_simulation [INFO] tweaked toml for git repo https://github.com/mimirmim/veil_pos_simulation written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/mimirmim/veil_pos_simulation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f5f7d5ccbeb3e5b81a08d27074da21f2cfa31faf2b0a1eeef6dc6d9d97d0d80 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f5f7d5ccbeb3e5b81a08d27074da21f2cfa31faf2b0a1eeef6dc6d9d97d0d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f5f7d5ccbeb3e5b81a08d27074da21f2cfa31faf2b0a1eeef6dc6d9d97d0d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f5f7d5ccbeb3e5b81a08d27074da21f2cfa31faf2b0a1eeef6dc6d9d97d0d80", kill_on_drop: false }` [INFO] [stdout] 3f5f7d5ccbeb3e5b81a08d27074da21f2cfa31faf2b0a1eeef6dc6d9d97d0d80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df61a5be8829023b6d37a5e2863bdf5998bd5daf6c98ea94617f54fce1a54ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7df61a5be8829023b6d37a5e2863bdf5998bd5daf6c98ea94617f54fce1a54ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking serde v1.0.105 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking veil_pos_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/wallet.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::denom::{self, Denom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/wallet.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::denom::{self, Denom}; [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/denom.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn base_value(mut self, v: f64) -> Self { [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: variable does not need to be mutable [INFO] [stdout] --> src/denom.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn base_value(mut self, v: f64) -> Self { [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: static is never used: `CENT` [INFO] [stdout] --> src/amount.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub static CENT: Amount = 100_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_SHIFT` [INFO] [stdout] --> src/denom.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub static DENOM_SHIFT: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_THRESHOLD_MIN` [INFO] [stdout] --> src/denom.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub static DENOM_THRESHOLD_MIN: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_THRESHOLD_MAX` [INFO] [stdout] --> src/denom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub static DENOM_THRESHOLD_MAX: u64 = 20_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D10` [INFO] [stdout] --> src/denom.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | D10 = 10, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D100` [INFO] [stdout] --> src/denom.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | D100 = 100, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D1000` [INFO] [stdout] --> src/denom.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | D1000 = 1_000, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D10000` [INFO] [stdout] --> src/denom.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | D10000 = 10_000, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DenomStrategy` [INFO] [stdout] --> src/denom.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum DenomStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_value` [INFO] [stdout] --> src/denom.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn base_value(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stake_mod` [INFO] [stdout] --> src/denom.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn stake_mod(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stake` [INFO] [stdout] --> src/denom.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stake(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mature` [INFO] [stdout] --> src/denom.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn mature(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `created_height` [INFO] [stdout] --> src/denom.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn created_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mature_height` [INFO] [stdout] --> src/denom.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn mature_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/denom.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mature` [INFO] [stdout] --> src/denom.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn set_mature(&mut self, is_mature: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_value` [INFO] [stdout] --> src/denom.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn base_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/denom.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stake_mod` [INFO] [stdout] --> src/denom.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn stake_mod(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_stake` [INFO] [stdout] --> src/denom.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn is_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_mature` [INFO] [stdout] --> src/denom.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn is_mature(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `created_height` [INFO] [stdout] --> src/denom.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn created_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mature_height` [INFO] [stdout] --> src/denom.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn mature_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_stake` [INFO] [stdout] --> src/denom.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn can_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Amount` [INFO] [stdout] --> src/amount.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Amount = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `COIN` [INFO] [stdout] --> src/amount.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub static COIN: Amount = 100_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `CENT` [INFO] [stdout] --> src/amount.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub static CENT: Amount = 100_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAX_MONEY` [INFO] [stdout] --> src/amount.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub static MAX_MONEY: Amount = 300_000_000 * COIN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `money_range` [INFO] [stdout] --> src/amount.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn money_range(value: Amount) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_BRACKET_MOD` [INFO] [stdout] --> src/denom.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub static DENOM_BRACKET_MOD: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_MIN` [INFO] [stdout] --> src/denom.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub static DENOM_MIN: u64 = 1u64 << 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_MAX` [INFO] [stdout] --> src/denom.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub static DENOM_MAX: u64 = 1u64 << 52; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_SHIFT` [INFO] [stdout] --> src/denom.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub static DENOM_SHIFT: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_THRESHOLD_MIN` [INFO] [stdout] --> src/denom.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub static DENOM_THRESHOLD_MIN: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DENOM_THRESHOLD_MAX` [INFO] [stdout] --> src/denom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub static DENOM_THRESHOLD_MAX: u64 = 20_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D10` [INFO] [stdout] --> src/denom.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | D10 = 10, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D100` [INFO] [stdout] --> src/denom.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | D100 = 100, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D1000` [INFO] [stdout] --> src/denom.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | D1000 = 1_000, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D10000` [INFO] [stdout] --> src/denom.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | D10000 = 10_000, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DenomStrategy` [INFO] [stdout] --> src/denom.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum DenomStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DenomBuilder` [INFO] [stdout] --> src/denom.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct DenomBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/denom.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/denom.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn value(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_value` [INFO] [stdout] --> src/denom.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn base_value(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stake_mod` [INFO] [stdout] --> src/denom.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn stake_mod(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stake` [INFO] [stdout] --> src/denom.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stake(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mature` [INFO] [stdout] --> src/denom.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn mature(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `created_height` [INFO] [stdout] --> src/denom.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn created_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mature_height` [INFO] [stdout] --> src/denom.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn mature_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/denom.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn build(self) -> Denom { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/denom.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `builder` [INFO] [stdout] --> src/denom.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn builder() -> DenomBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mature` [INFO] [stdout] --> src/denom.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn set_mature(&mut self, is_mature: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_value` [INFO] [stdout] --> src/denom.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn base_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/denom.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stake_mod` [INFO] [stdout] --> src/denom.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn stake_mod(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_stake` [INFO] [stdout] --> src/denom.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn is_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_mature` [INFO] [stdout] --> src/denom.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn is_mature(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `created_height` [INFO] [stdout] --> src/denom.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn created_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mature_height` [INFO] [stdout] --> src/denom.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn mature_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `weight` [INFO] [stdout] --> src/denom.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn weight(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_stake` [INFO] [stdout] --> src/denom.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn can_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/wallet.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn init(balance: u64, denom_strat: u64, denom_threshold: u64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Denom` [INFO] [stdout] --> src/bin/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | use Denom::*; [INFO] [stdout] | ^^^^^ use of undeclared type `Denom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Denom` [INFO] [stdout] --> src/bin/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | use Denom::*; [INFO] [stdout] | ^^^^^ use of undeclared type `Denom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Denoms` [INFO] [stdout] --> src/bin/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | denoms: Denoms::new(balance, denom_strat.to_owned(), result as u64), [INFO] [stdout] | ^^^^^^ use of undeclared type `Denoms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Denoms` [INFO] [stdout] --> src/bin/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | denoms: Denoms::new(balance, denom_strat.to_owned(), result as u64), [INFO] [stdout] | ^^^^^^ use of undeclared type `Denoms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Denoms` in this scope [INFO] [stdout] --> src/bin/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | denoms: Denoms, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DENOM_THRESHOLD_MIN` in this scope [INFO] [stdout] --> src/bin/main.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let out_min: f64 = DENOM_THRESHOLD_MIN as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DENOM_THRESHOLD_MAX` in this scope [INFO] [stdout] --> src/bin/main.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | let out_max: f64 = DENOM_THRESHOLD_MAX as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Denom` in this scope [INFO] [stdout] --> src/bin/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | denom: Denom, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D10` in this scope [INFO] [stdout] --> src/bin/main.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | denom: D10, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D100` in this scope [INFO] [stdout] --> src/bin/main.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | denom: D100, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D1000` in this scope [INFO] [stdout] --> src/bin/main.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | denom: D1000, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D10000` in this scope [INFO] [stdout] --> src/bin/main.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | denom: D10000, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:200:47 [INFO] [stdout] | [INFO] [stdout] 200 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Denoms` in this scope [INFO] [stdout] --> src/bin/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | denoms: Denoms, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DENOM_THRESHOLD_MIN` in this scope [INFO] [stdout] --> src/bin/main.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let out_min: f64 = DENOM_THRESHOLD_MIN as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/bin/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DENOM_THRESHOLD_MAX` in this scope [INFO] [stdout] --> src/bin/main.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | let out_max: f64 = DENOM_THRESHOLD_MAX as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Denom` in this scope [INFO] [stdout] --> src/bin/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | denom: Denom, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D10` in this scope [INFO] [stdout] --> src/bin/main.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | denom: D10, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D100` in this scope [INFO] [stdout] --> src/bin/main.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | denom: D100, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D1000` in this scope [INFO] [stdout] --> src/bin/main.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | denom: D1000, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D10000` in this scope [INFO] [stdout] --> src/bin/main.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | denom: D10000, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:200:47 [INFO] [stdout] | [INFO] [stdout] 200 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImmatureBalance` in this scope [INFO] [stdout] --> src/bin/main.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | self.denoms.immature.push(ImmatureBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/bin/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `veil_pos_simulation` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7df61a5be8829023b6d37a5e2863bdf5998bd5daf6c98ea94617f54fce1a54ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df61a5be8829023b6d37a5e2863bdf5998bd5daf6c98ea94617f54fce1a54ab", kill_on_drop: false }` [INFO] [stdout] 7df61a5be8829023b6d37a5e2863bdf5998bd5daf6c98ea94617f54fce1a54ab