[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimirmim%2Fveil_pos_simulation" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mimirmim/veil_pos_simulation on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9506f76ff16ec90736d31e1e1e84040fd0a59abdbe916a23b0e27b725e61f6d0 [INFO] running `Command { std: "docker" "start" "-a" "9506f76ff16ec90736d31e1e1e84040fd0a59abdbe916a23b0e27b725e61f6d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9506f76ff16ec90736d31e1e1e84040fd0a59abdbe916a23b0e27b725e61f6d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9506f76ff16ec90736d31e1e1e84040fd0a59abdbe916a23b0e27b725e61f6d0", kill_on_drop: false }` [INFO] [stdout] 9506f76ff16ec90736d31e1e1e84040fd0a59abdbe916a23b0e27b725e61f6d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6aaa99a77589cbc19f910c55d0da668e9cb8f3cd82e535367aaffb89aed3b90a [INFO] running `Command { std: "docker" "start" "-a" "6aaa99a77589cbc19f910c55d0da668e9cb8f3cd82e535367aaffb89aed3b90a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling libc v0.2.68 [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] Compiling serde v1.0.105 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking itoa v0.4.5 [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_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: the item `amount` is imported redundantly [INFO] [stdout] --> src/denom.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 216 | use super::*; [INFO] [stdout] | -------- the item `amount` is already imported here [INFO] [stdout] 217 | use crate::amount; [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] [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: type alias `Amount` is never used [INFO] [stdout] --> src/amount.rs:25:10 [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 `COIN` is never used [INFO] [stdout] --> src/amount.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static COIN: Amount = 100_000_000; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CENT` is never used [INFO] [stdout] --> src/amount.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub static CENT: Amount = 100_000; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAX_MONEY` is never used [INFO] [stdout] --> src/amount.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub static MAX_MONEY: Amount = 300_000_000 * COIN; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `money_range` is never used [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 `DENOM_BRACKET_MOD` is never used [INFO] [stdout] --> src/denom.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub static DENOM_BRACKET_MOD: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_MIN` is never used [INFO] [stdout] --> src/denom.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub static DENOM_MIN: u64 = 1u64 << 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_MAX` is never used [INFO] [stdout] --> src/denom.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub static DENOM_MAX: u64 = 1u64 << 52; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_SHIFT` is never used [INFO] [stdout] --> src/denom.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub static DENOM_SHIFT: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_THRESHOLD_MIN` is never used [INFO] [stdout] --> src/denom.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub static DENOM_THRESHOLD_MIN: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_THRESHOLD_MAX` is never used [INFO] [stdout] --> src/denom.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub static DENOM_THRESHOLD_MAX: u64 = 20_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DenomValue` is never used [INFO] [stdout] --> src/denom.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum DenomValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DenomStrategy` is never used [INFO] [stdout] --> src/denom.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum DenomStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DenomBuilder` is never constructed [INFO] [stdout] --> src/denom.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct DenomBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/denom.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl DenomBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn value(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn base_value(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn stake_mod(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn stake(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn mature(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn created_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn mature_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn build(self) -> Denom { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/denom.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Denom { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 135 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn builder() -> DenomBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn set_mature(&mut self, is_mature: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn base_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn stake_mod(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn is_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn is_mature(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn created_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn mature_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn weight(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn can_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/wallet.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Wallet { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 18 | fn init(balance: u64, denom_strat: u64, denom_threshold: u64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CENT` is never used [INFO] [stdout] --> src/amount.rs:28:12 [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 `DENOM_SHIFT` is never used [INFO] [stdout] --> src/denom.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub static DENOM_SHIFT: u32 = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_THRESHOLD_MIN` is never used [INFO] [stdout] --> src/denom.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub static DENOM_THRESHOLD_MIN: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DENOM_THRESHOLD_MAX` is never used [INFO] [stdout] --> src/denom.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub static DENOM_THRESHOLD_MAX: u64 = 20_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DenomValue` is never used [INFO] [stdout] --> src/denom.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum DenomValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DenomStrategy` is never used [INFO] [stdout] --> src/denom.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum DenomStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_value`, `stake_mod`, `stake`, `mature`, `created_height`, and `mature_height` are never used [INFO] [stdout] --> src/denom.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl DenomBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn base_value(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn stake_mod(mut self, v: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn stake(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn mature(mut self, v: bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn created_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn mature_height(mut self, v: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/denom.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Denom { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 135 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn set_mature(&mut self, is_mature: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn base_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn value(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn stake_mod(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn is_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn is_mature(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn created_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn mature_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn can_stake(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 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[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[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[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[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[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[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[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[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[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 `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 `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 `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] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/bin/main.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] 26 | use rand_distr::{Distribution, LogNormal, Normal}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/bin/main.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] 26 | use rand_distr::{Distribution, LogNormal, Normal}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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] 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[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: aborting due to 15 previous errors; 3 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] [stdout] error: aborting due to 15 previous errors; 3 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` (bin "main") due to 16 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `veil_pos_simulation` (bin "main" test) due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6aaa99a77589cbc19f910c55d0da668e9cb8f3cd82e535367aaffb89aed3b90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aaa99a77589cbc19f910c55d0da668e9cb8f3cd82e535367aaffb89aed3b90a", kill_on_drop: false }` [INFO] [stdout] 6aaa99a77589cbc19f910c55d0da668e9cb8f3cd82e535367aaffb89aed3b90a [INFO] checking mimirmim/veil_pos_simulation against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimirmim%2Fveil_pos_simulation" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mimirmim/veil_pos_simulation on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2be7ec1921207f2a7db3d432c64829244446d6573be946431fe0ffdb9bdf7a71 [INFO] running `Command { std: "docker" "start" "-a" "2be7ec1921207f2a7db3d432c64829244446d6573be946431fe0ffdb9bdf7a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2be7ec1921207f2a7db3d432c64829244446d6573be946431fe0ffdb9bdf7a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be7ec1921207f2a7db3d432c64829244446d6573be946431fe0ffdb9bdf7a71", kill_on_drop: false }` [INFO] [stdout] 2be7ec1921207f2a7db3d432c64829244446d6573be946431fe0ffdb9bdf7a71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d056ada7e0110915204d0c02cf7fad41cde69edb1a0e8c5b45e5c89e766d8d91 [INFO] running `Command { std: "docker" "start" "-a" "d056ada7e0110915204d0c02cf7fad41cde69edb1a0e8c5b45e5c89e766d8d91", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d056ada7e0110915204d0c02cf7fad41cde69edb1a0e8c5b45e5c89e766d8d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d056ada7e0110915204d0c02cf7fad41cde69edb1a0e8c5b45e5c89e766d8d91", kill_on_drop: false }` [INFO] [stdout] d056ada7e0110915204d0c02cf7fad41cde69edb1a0e8c5b45e5c89e766d8d91