[INFO] fetching crate cs_mwc_core 5.3.9...
[INFO] testing cs_mwc_core-5.3.9 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate cs_mwc_core 5.3.9 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate cs_mwc_core 5.3.9
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cs_mwc_core 5.3.9
[INFO] tweaked toml for crates.io crate cs_mwc_core 5.3.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cs_mwc_core 5.3.9 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cs_mwc_core 5.3.9 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2b2d9112098cc96a00a1849ed452745a685f103d91ea6ef11b4106cce4ad094
[INFO] running `Command { std: "docker" "start" "-a" "a2b2d9112098cc96a00a1849ed452745a685f103d91ea6ef11b4106cce4ad094", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2b2d9112098cc96a00a1849ed452745a685f103d91ea6ef11b4106cce4ad094", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2b2d9112098cc96a00a1849ed452745a685f103d91ea6ef11b4106cce4ad094", kill_on_drop: false }`
[INFO] [stdout] a2b2d9112098cc96a00a1849ed452745a685f103d91ea6ef11b4106cce4ad094
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef3c00162c54f81cfd6bfa2c57f0703567b88b073407c9b2a410b64753d1d03b
[INFO] running `Command { std: "docker" "start" "-a" "ef3c00162c54f81cfd6bfa2c57f0703567b88b073407c9b2a410b64753d1d03b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling cs_mwc_secp256k1zkp v0.7.16
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling croaring-sys v2.1.0
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling thread-id v4.2.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling rustc-demangle v0.1.25
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling password-hash v0.2.3
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling pbkdf2 v0.8.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling ripemd160 v0.9.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling backtrace v0.3.75
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling croaring v1.1.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zip v0.5.13
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling log4rs v1.3.0
[INFO] [stderr]    Compiling cs_mwc_util v5.3.9
[INFO] [stderr]    Compiling cs_mwc_keychain v5.3.9
[INFO] [stderr]    Compiling cs_mwc_core v5.3.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]   --> src/pow/common.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Edge {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "ef3c00162c54f81cfd6bfa2c57f0703567b88b073407c9b2a410b64753d1d03b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef3c00162c54f81cfd6bfa2c57f0703567b88b073407c9b2a410b64753d1d03b", kill_on_drop: false }`
[INFO] [stdout] ef3c00162c54f81cfd6bfa2c57f0703567b88b073407c9b2a410b64753d1d03b
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6efff725a65b76cbefaf0b0356c7a73f5f87f00960390c130a63d0f2427efde7
[INFO] running `Command { std: "docker" "start" "-a" "6efff725a65b76cbefaf0b0356c7a73f5f87f00960390c130a63d0f2427efde7", kill_on_drop: false }`
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]   --> src/pow/common.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Edge {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cs_mwc_core v5.3.9 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use mwc_core::core::hash::DefaultHashable;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core::core::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use mwc_core::libtx::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use mwc_core::pow::Difficulty;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use mwc_core::core::hash::DefaultHashable;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core::core::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use mwc_core::libtx::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use mwc_core::pow::Difficulty;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use mwc_core::core::hash::DefaultHashable;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core::core::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use mwc_core::libtx::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use mwc_core::pow::Difficulty;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/consensus_automated.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use mwc_core::consensus::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/segment.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use mwc_core::core::pmmr::ReadablePMMR;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/segment.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use mwc_core as core;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `mwc_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/block.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use mwc_core as core;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `mwc_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use mwc_core::core::hash::DefaultHashable;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core::core::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use mwc_core::libtx::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use mwc_core::pow::Difficulty;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "common") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/consensus_automated.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use mwc_core::pow::Difficulty;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/consensus_automated.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core::global;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/vec_backend.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core as core;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `mwc_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "segment") due to 8 previous errors
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/consensus_mainnet.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core as core;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `mwc_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "block") due to 7 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use mwc_core::core::hash::DefaultHashable;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "vec_backend") due to 7 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mwc_core::core::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use mwc_core::libtx::{
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use mwc_core::pow::Difficulty;
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use mwc_core::ser::{self, PMMRable, Readable, Reader, Writeable, Writer};
[INFO] [stdout]    |     ^^^^^^^^ use of unresolved module or unlinked crate `mwc_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mwc_core`, use `cargo add mwc_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/merkle_proof.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use mwc_core as core;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `mwc_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "consensus_automated") due to 3 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "merkle_proof") due to 7 previous errors
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]   --> tests/consensus_mainnet.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 |     diff: HeaderDifficultyInfo,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]   --> tests/consensus_mainnet.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | ) -> Vec<HeaderDifficultyInfo> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 |             HeaderDifficultyInfo::new(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:115:30
[INFO] [stdout]     |
[INFO] [stdout] 115 |     cache_values: &mut VecDeque<HeaderDifficultyInfo>,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:116:11
[INFO] [stdout]     |
[INFO] [stdout] 116 | ) -> Vec<(HeaderDifficultyInfo, DiffStats)> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let return_vec = vec![HeaderDifficultyInfo::from_ts_diff(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 |         HeaderDifficultyInfo::from_ts_diff(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 |     chain_sim: &[HeaderDifficultyInfo],
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:138:30
[INFO] [stdout]     |
[INFO] [stdout] 138 |     cache_values: &mut VecDeque<HeaderDifficultyInfo>,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:142:23
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let last_blocks: Vec<HeaderDifficultyInfo> =
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:154:22
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let sum_blocks: Vec<HeaderDifficultyInfo> =
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:157:10
[INFO] [stdout]     |
[INFO] [stdout] 157 |             .take(DIFFICULTY_ADJUST_WINDOW as usize)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:203:41
[INFO] [stdout]     |
[INFO] [stdout] 203 |         average_block_time: block_time_sum / (DIFFICULTY_ADJUST_WINDOW),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:204:41
[INFO] [stdout]     |
[INFO] [stdout] 204 |         average_difficulty: block_diff_sum / (DIFFICULTY_ADJUST_WINDOW),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:205:16
[INFO] [stdout]     |
[INFO] [stdout] 205 |         window_size: DIFFICULTY_ADJUST_WINDOW,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:218:18
[INFO] [stdout]     |
[INFO] [stdout] 218 |     chain_sim: Vec<(HeaderDifficultyInfo, DiffStats)>,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:219:30
[INFO] [stdout]     |
[INFO] [stdout] 219 |     cache_values: &mut VecDeque<HeaderDifficultyInfo>,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:220:11
[INFO] [stdout]     |
[INFO] [stdout] 220 | ) -> Vec<(HeaderDifficultyInfo, DiffStats)> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut return_chain: Vec<HeaderDifficultyInfo> =
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let diff = next_difficulty(1, return_chain.clone(), cache_values);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:228:25
[INFO] [stdout]     |
[INFO] [stdout] 228 |     return_chain.insert(0, HeaderDifficultyInfo::from_ts_diff(time, diff.difficulty));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:233:4
[INFO] [stdout]     |
[INFO] [stdout] 233 |             HeaderDifficultyInfo::from_ts_diff(time, diff.difficulty),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:243:18
[INFO] [stdout]     |
[INFO] [stdout] 243 |     chain_sim: Vec<(HeaderDifficultyInfo, DiffStats)>,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:245:30
[INFO] [stdout]     |
[INFO] [stdout] 245 |     cache_values: &mut VecDeque<HeaderDifficultyInfo>,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:246:11
[INFO] [stdout]     |
[INFO] [stdout] 246 | ) -> Vec<(HeaderDifficultyInfo, DiffStats)> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:256:36
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn print_chain_sim(chain_sim: Vec<(HeaderDifficultyInfo, DiffStats)>) {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:262:43
[INFO] [stdout]     |
[INFO] [stdout] 262 |     println!("DIFFICULTY_ADJUST_WINDOW: {}", DIFFICULTY_ADJUST_WINDOW);
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:263:36
[INFO] [stdout]     |
[INFO] [stdout] 263 |     println!("BLOCK_TIME_WINDOW: {}", BLOCK_TIME_WINDOW);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::BLOCK_TIME_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CLAMP_FACTOR` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:264:31
[INFO] [stdout]     |
[INFO] [stdout] 264 |     println!("CLAMP_FACTOR: {}", CLAMP_FACTOR);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::CLAMP_FACTOR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_DAMP_FACTOR` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:265:30
[INFO] [stdout]     |
[INFO] [stdout] 265 |     println!("DAMP_FACTOR: {}", DIFFICULTY_DAMP_FACTOR);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_DAMP_FACTOR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HeaderDifficultyInfo` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:296:70
[INFO] [stdout]     |
[INFO] [stdout] 296 | fn repeat_offs(from: u64, interval: u64, diff: u64, len: u64) -> Vec<HeaderDifficultyInfo> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:299:3
[INFO] [stdout]     |
[INFO] [stdout] 299 |         HeaderDifficultyInfo::from_ts_diff(1, Difficulty::from_num(diff)),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:339:21
[INFO] [stdout]     |
[INFO] [stdout] 339 |     let just_enough = (DIFFICULTY_ADJUST_WINDOW) as usize;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:389:15
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut hi = HeaderDifficultyInfo::from_diff_scaling(diff_min, AR_SCALE_DAMP_FACTOR as u32);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AR_SCALE_DAMP_FACTOR` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:389:65
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let mut hi = HeaderDifficultyInfo::from_diff_scaling(diff_min, AR_SCALE_DAMP_FACTOR as u32);
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::AR_SCALE_DAMP_FACTOR;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:391:15
[INFO] [stdout]     |
[INFO] [stdout] 391 |     let hinext = next_difficulty(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:394:4
[INFO] [stdout]     |
[INFO] [stdout] 394 |             BLOCK_TIME_SEC / 4,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::BLOCK_TIME_SEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:396:4
[INFO] [stdout]     |
[INFO] [stdout] 396 |             DIFFICULTY_ADJUST_WINDOW,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_DIFFICULTY` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:405:39
[INFO] [stdout]     |
[INFO] [stdout] 405 |     assert_ne!(hinext.secondary_scaling, MIN_DIFFICULTY as u32);
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::MIN_DIFFICULTY;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:408:20
[INFO] [stdout]     |
[INFO] [stdout] 408 |     let just_enough = DIFFICULTY_ADJUST_WINDOW + 1;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:411:3
[INFO] [stdout]     |
[INFO] [stdout] 411 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:413:11
[INFO] [stdout]     |
[INFO] [stdout] 413 |             repeat(BLOCK_TIME_SEC, hi.clone(), just_enough, None),
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::BLOCK_TIME_SEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:422:3
[INFO] [stdout]     |
[INFO] [stdout] 422 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 424 |             vec![HeaderDifficultyInfo::from_ts_diff(42, hi.difficulty)],
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:433:12
[INFO] [stdout]     |
[INFO] [stdout] 433 |     let sec = DIFFICULTY_ADJUST_WINDOW / 2;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:434:22
[INFO] [stdout]     |
[INFO] [stdout] 434 |     let mut s1 = repeat(BLOCK_TIME_SEC, hi.clone(), sec, Some(cur_time));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::BLOCK_TIME_SEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:436:21
[INFO] [stdout]     |
[INFO] [stdout] 436 |         cur_time + (sec * BLOCK_TIME_SEC) as u64,
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::BLOCK_TIME_SEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:437:3
[INFO] [stdout]     |
[INFO] [stdout] 437 |         BLOCK_TIME_SEC,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::BLOCK_TIME_SEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:439:3
[INFO] [stdout]     |
[INFO] [stdout] 439 |         DIFFICULTY_ADJUST_WINDOW / 2,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:443:3
[INFO] [stdout]     |
[INFO] [stdout] 443 |         next_difficulty(1, s2, &mut cache_values).difficulty,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:450:3
[INFO] [stdout]     |
[INFO] [stdout] 450 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:459:3
[INFO] [stdout]     |
[INFO] [stdout] 459 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:470:3
[INFO] [stdout]     |
[INFO] [stdout] 470 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:479:3
[INFO] [stdout]     |
[INFO] [stdout] 479 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:488:3
[INFO] [stdout]     |
[INFO] [stdout] 488 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:499:3
[INFO] [stdout]     |
[INFO] [stdout] 499 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:510:3
[INFO] [stdout]     |
[INFO] [stdout] 510 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:519:3
[INFO] [stdout]     |
[INFO] [stdout] 519 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:531:3
[INFO] [stdout]     |
[INFO] [stdout] 531 |         next_difficulty(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::next_difficulty;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:545:14
[INFO] [stdout]     |
[INFO] [stdout] 545 |         assert_eq!(secondary_pow_ratio(1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:546:14
[INFO] [stdout]     |
[INFO] [stdout] 546 |         assert_eq!(secondary_pow_ratio(89), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:547:14
[INFO] [stdout]     |
[INFO] [stdout] 547 |         assert_eq!(secondary_pow_ratio(90), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:548:14
[INFO] [stdout]     |
[INFO] [stdout] 548 |         assert_eq!(secondary_pow_ratio(91), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:549:14
[INFO] [stdout]     |
[INFO] [stdout] 549 |         assert_eq!(secondary_pow_ratio(179), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:550:14
[INFO] [stdout]     |
[INFO] [stdout] 550 |         assert_eq!(secondary_pow_ratio(180), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:551:14
[INFO] [stdout]     |
[INFO] [stdout] 551 |         assert_eq!(secondary_pow_ratio(181), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:554:14
[INFO] [stdout]     |
[INFO] [stdout] 554 |         assert_eq!(secondary_pow_ratio(half_week - 1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:555:14
[INFO] [stdout]     |
[INFO] [stdout] 555 |         assert_eq!(secondary_pow_ratio(half_week), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:556:14
[INFO] [stdout]     |
[INFO] [stdout] 556 |         assert_eq!(secondary_pow_ratio(half_week + 1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:559:14
[INFO] [stdout]     |
[INFO] [stdout] 559 |         assert_eq!(secondary_pow_ratio(one_week - 1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:560:14
[INFO] [stdout]     |
[INFO] [stdout] 560 |         assert_eq!(secondary_pow_ratio(one_week), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:561:14
[INFO] [stdout]     |
[INFO] [stdout] 561 |         assert_eq!(secondary_pow_ratio(one_week + 1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:564:14
[INFO] [stdout]     |
[INFO] [stdout] 564 |         assert_eq!(secondary_pow_ratio(three_weeks), 43);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:567:14
[INFO] [stdout]     |
[INFO] [stdout] 567 |         assert_eq!(secondary_pow_ratio(one_year), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:570:14
[INFO] [stdout]     |
[INFO] [stdout] 570 |         assert_eq!(secondary_pow_ratio(ninety_one_weeks - 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:571:14
[INFO] [stdout]     |
[INFO] [stdout] 571 |         assert_eq!(secondary_pow_ratio(ninety_one_weeks), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:572:14
[INFO] [stdout]     |
[INFO] [stdout] 572 |         assert_eq!(secondary_pow_ratio(ninety_one_weeks + 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:575:14
[INFO] [stdout]     |
[INFO] [stdout] 575 |         assert_eq!(secondary_pow_ratio(two_year - 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:576:14
[INFO] [stdout]     |
[INFO] [stdout] 576 |         assert_eq!(secondary_pow_ratio(two_year), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:577:14
[INFO] [stdout]     |
[INFO] [stdout] 577 |         assert_eq!(secondary_pow_ratio(two_year + 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:585:14
[INFO] [stdout]     |
[INFO] [stdout] 585 |         assert_eq!(secondary_pow_ratio(1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:586:14
[INFO] [stdout]     |
[INFO] [stdout] 586 |         assert_eq!(secondary_pow_ratio(89), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:587:14
[INFO] [stdout]     |
[INFO] [stdout] 587 |         assert_eq!(secondary_pow_ratio(90), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:588:14
[INFO] [stdout]     |
[INFO] [stdout] 588 |         assert_eq!(secondary_pow_ratio(91), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:589:14
[INFO] [stdout]     |
[INFO] [stdout] 589 |         assert_eq!(secondary_pow_ratio(179), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:590:14
[INFO] [stdout]     |
[INFO] [stdout] 590 |         assert_eq!(secondary_pow_ratio(180), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:591:14
[INFO] [stdout]     |
[INFO] [stdout] 591 |         assert_eq!(secondary_pow_ratio(181), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:594:14
[INFO] [stdout]     |
[INFO] [stdout] 594 |         assert_eq!(secondary_pow_ratio(one_week - 1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:595:14
[INFO] [stdout]     |
[INFO] [stdout] 595 |         assert_eq!(secondary_pow_ratio(one_week), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:596:14
[INFO] [stdout]     |
[INFO] [stdout] 596 |         assert_eq!(secondary_pow_ratio(one_week + 1), 45);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:599:14
[INFO] [stdout]     |
[INFO] [stdout] 599 |         assert_eq!(secondary_pow_ratio(two_weeks - 1), 44);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:600:14
[INFO] [stdout]     |
[INFO] [stdout] 600 |         assert_eq!(secondary_pow_ratio(two_weeks), 44);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:601:14
[INFO] [stdout]     |
[INFO] [stdout] 601 |         assert_eq!(secondary_pow_ratio(two_weeks + 1), 44);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:604:14
[INFO] [stdout]     |
[INFO] [stdout] 604 |         assert_eq!(secondary_pow_ratio(t4_fork_height - 1), 40);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:605:14
[INFO] [stdout]     |
[INFO] [stdout] 605 |         assert_eq!(secondary_pow_ratio(t4_fork_height), 40);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:606:14
[INFO] [stdout]     |
[INFO] [stdout] 606 |         assert_eq!(secondary_pow_ratio(t4_fork_height + 1), 40);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:609:14
[INFO] [stdout]     |
[INFO] [stdout] 609 |         assert_eq!(secondary_pow_ratio(one_year), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:612:14
[INFO] [stdout]     |
[INFO] [stdout] 612 |         assert_eq!(secondary_pow_ratio(ninety_one_weeks - 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:613:14
[INFO] [stdout]     |
[INFO] [stdout] 613 |         assert_eq!(secondary_pow_ratio(ninety_one_weeks), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:614:14
[INFO] [stdout]     |
[INFO] [stdout] 614 |         assert_eq!(secondary_pow_ratio(ninety_one_weeks + 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:617:14
[INFO] [stdout]     |
[INFO] [stdout] 617 |         assert_eq!(secondary_pow_ratio(two_year - 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:618:14
[INFO] [stdout]     |
[INFO] [stdout] 618 |         assert_eq!(secondary_pow_ratio(two_year), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:619:14
[INFO] [stdout]     |
[INFO] [stdout] 619 |         assert_eq!(secondary_pow_ratio(two_year + 1), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_ratio;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:627:15
[INFO] [stdout]     |
[INFO] [stdout] 627 |     let window = DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::DIFFICULTY_ADJUST_WINDOW;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:628:15
[INFO] [stdout]     |
[INFO] [stdout] 628 |     let mut hi = HeaderDifficultyInfo::from_diff_scaling(Difficulty::from_num(10), 100);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:634:3
[INFO] [stdout]     |
[INFO] [stdout] 634 |         secondary_pow_scaling(1, &(0..window).map(|_| hi.clone()).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:640:3
[INFO] [stdout]     |
[INFO] [stdout] 640 |         secondary_pow_scaling(1, &(0..window).map(|_| hi.clone()).collect::<Vec<_>>()),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:645:3
[INFO] [stdout]     |
[INFO] [stdout] 645 |         secondary_pow_scaling(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:646:8
[INFO] [stdout]     |
[INFO] [stdout] 646 |             2 * YEAR_HEIGHT * 83 / 90,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:653:3
[INFO] [stdout]     |
[INFO] [stdout] 653 |         HeaderDifficultyInfo::from_diff_scaling(Difficulty::from_num(10), MIN_AR_SCALE as u32);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_AR_SCALE` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:653:69
[INFO] [stdout]     |
[INFO] [stdout] 653 |         HeaderDifficultyInfo::from_diff_scaling(Difficulty::from_num(10), MIN_AR_SCALE as u32);
[INFO] [stdout]     |                                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::MIN_AR_SCALE;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:656:3
[INFO] [stdout]     |
[INFO] [stdout] 656 |         secondary_pow_scaling(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:657:8
[INFO] [stdout]     |
[INFO] [stdout] 657 |             2 * YEAR_HEIGHT,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_AR_SCALE` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:660:3
[INFO] [stdout]     |
[INFO] [stdout] 660 |         MIN_AR_SCALE as u32
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::MIN_AR_SCALE;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:663:23
[INFO] [stdout]     |
[INFO] [stdout] 663 |     let mut primary_hi = HeaderDifficultyInfo::from_diff_scaling(Difficulty::from_num(10), 50);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HeaderDifficultyInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::HeaderDifficultyInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:666:3
[INFO] [stdout]     |
[INFO] [stdout] 666 |         secondary_pow_scaling(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:677:3
[INFO] [stdout]     |
[INFO] [stdout] 677 |         secondary_pow_scaling(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:688:3
[INFO] [stdout]     |
[INFO] [stdout] 688 |         secondary_pow_scaling(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::secondary_pow_scaling;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:705:11
[INFO] [stdout]     |
[INFO] [stdout] 705 |         assert!(valid_header_version(0, HeaderVersion(1)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:706:11
[INFO] [stdout]     |
[INFO] [stdout] 706 |         assert!(valid_header_version(YEAR_HEIGHT, HeaderVersion(2)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:706:32
[INFO] [stdout]     |
[INFO] [stdout] 706 |         assert!(valid_header_version(YEAR_HEIGHT, HeaderVersion(2)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:707:11
[INFO] [stdout]     |
[INFO] [stdout] 707 |         assert!(valid_header_version(YEAR_HEIGHT * 10, HeaderVersion(2)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:707:32
[INFO] [stdout]     |
[INFO] [stdout] 707 |         assert!(valid_header_version(YEAR_HEIGHT * 10, HeaderVersion(2)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:708:11
[INFO] [stdout]     |
[INFO] [stdout] 708 |         assert!(valid_header_version(YEAR_HEIGHT * 100, HeaderVersion(2)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:708:32
[INFO] [stdout]     |
[INFO] [stdout] 708 |         assert!(valid_header_version(YEAR_HEIGHT * 100, HeaderVersion(2)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:714:11
[INFO] [stdout]     |
[INFO] [stdout] 714 |         assert!(valid_header_version(0, HeaderVersion(1)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:715:11
[INFO] [stdout]     |
[INFO] [stdout] 715 |         assert!(valid_header_version(YEAR_HEIGHT, HeaderVersion(2)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:715:32
[INFO] [stdout]     |
[INFO] [stdout] 715 |         assert!(valid_header_version(YEAR_HEIGHT, HeaderVersion(2)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:716:11
[INFO] [stdout]     |
[INFO] [stdout] 716 |         assert!(valid_header_version(YEAR_HEIGHT * 10, HeaderVersion(2)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:716:32
[INFO] [stdout]     |
[INFO] [stdout] 716 |         assert!(valid_header_version(YEAR_HEIGHT * 10, HeaderVersion(2)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:717:11
[INFO] [stdout]     |
[INFO] [stdout] 717 |         assert!(valid_header_version(YEAR_HEIGHT * 100, HeaderVersion(2)));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::valid_header_version;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope
[INFO] [stdout]    --> tests/consensus_mainnet.rs:717:32
[INFO] [stdout]     |
[INFO] [stdout] 717 |         assert!(valid_header_version(YEAR_HEIGHT * 100, HeaderVersion(2)));
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  20 + use cs_mwc_core::consensus::YEAR_HEIGHT;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, (_, _))`
[INFO] [stdout]    --> tests/consensus_mainnet.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 |         .map(|(index, (t, d))| {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |                 d.clone(),
[INFO] [stdout]     |                 - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout]  99 |         .map(|(index, (t, d)): (_, (_, _))| {
[INFO] [stdout]     |                              +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "consensus_mainnet") due to 134 previous errors
[INFO] [stdout] warning: struct `Edge` is never constructed
[INFO] [stdout]   --> src/pow/common.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Edge {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6efff725a65b76cbefaf0b0356c7a73f5f87f00960390c130a63d0f2427efde7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6efff725a65b76cbefaf0b0356c7a73f5f87f00960390c130a63d0f2427efde7", kill_on_drop: false }`
[INFO] [stdout] 6efff725a65b76cbefaf0b0356c7a73f5f87f00960390c130a63d0f2427efde7
