[INFO] fetching crate cs_mwc_core 5.3.9...
[INFO] testing cs_mwc_core-5.3.9 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate cs_mwc_core 5.3.9 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cs_mwc_core 5.3.9 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.140
[INFO] [stderr]   Downloaded typemap-ors v1.0.0
[INFO] [stderr]   Downloaded enum_primitive v0.1.1
[INFO] [stderr]   Downloaded num-traits v0.1.43
[INFO] [stderr]   Downloaded cs_mwc_util v5.3.9
[INFO] [stderr]   Downloaded serde-value v0.7.0
[INFO] [stderr]   Downloaded windows-interface v0.59.1
[INFO] [stderr]   Downloaded pbkdf2 v0.8.0
[INFO] [stderr]   Downloaded hmac v0.11.0
[INFO] [stderr]   Downloaded crypto-mac v0.11.1
[INFO] [stderr]   Downloaded thread-id v4.2.2
[INFO] [stderr]   Downloaded ordered-float v2.10.1
[INFO] [stderr]   Downloaded windows-implement v0.60.0
[INFO] [stderr]   Downloaded destructure_traitobject v0.2.0
[INFO] [stderr]   Downloaded unsafe-any-ors v1.0.0
[INFO] [stderr]   Downloaded cfg-if v1.0.1
[INFO] [stderr]   Downloaded blake2-rfc v0.2.18
[INFO] [stderr]   Downloaded ripemd160 v0.9.1
[INFO] [stderr]   Downloaded parking_lot v0.12.4
[INFO] [stderr]   Downloaded nodrop v0.1.14
[INFO] [stderr]   Downloaded log-mdc v0.1.0
[INFO] [stderr]   Downloaded data-encoding v2.9.0
[INFO] [stderr]   Downloaded humantime v2.2.0
[INFO] [stderr]   Downloaded rustversion v1.0.21
[INFO] [stderr]   Downloaded rustc-demangle v0.1.25
[INFO] [stderr]   Downloaded base64ct v1.8.0
[INFO] [stderr]   Downloaded password-hash v0.2.3
[INFO] [stderr]   Downloaded lock_api v0.4.13
[INFO] [stderr]   Downloaded arrayvec v0.4.12
[INFO] [stderr]   Downloaded zip v0.5.13
[INFO] [stderr]   Downloaded parking_lot_core v0.9.11
[INFO] [stderr]   Downloaded bitflags v2.9.1
[INFO] [stderr]   Downloaded iana-time-zone v0.1.63
[INFO] [stderr]   Downloaded windows-core v0.61.2
[INFO] [stderr]   Downloaded cs_mwc_keychain v5.3.9
[INFO] [stderr]   Downloaded croaring v1.1.0
[INFO] [stderr]   Downloaded log4rs v1.3.0
[INFO] [stderr]   Downloaded flate2 v1.1.2
[INFO] [stderr]   Downloaded arc-swap v1.7.1
[INFO] [stderr]   Downloaded memchr v2.7.5
[INFO] [stderr]   Downloaded indexmap v2.10.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded cc v1.2.29
[INFO] [stderr]   Downloaded hashbrown v0.15.4
[INFO] [stderr]   Downloaded rand v0.5.6
[INFO] [stderr]   Downloaded croaring-sys v2.1.0
[INFO] [stderr]   Downloaded chrono v0.4.41
[INFO] [stderr]   Downloaded syn v2.0.104
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] [stderr]   Downloaded cs_mwc_secp256k1zkp v0.7.16
[INFO] [stderr]   Downloaded sha3 v0.8.2
[INFO] [stderr]   Downloaded libc v0.2.174
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607
[INFO] running `Command { std: "docker" "start" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling cs_mwc_secp256k1zkp v0.7.16
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling croaring-sys v2.1.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling thread-id v4.2.2
[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 addr2line v0.24.2
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.25
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling nodrop v0.1.14
[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 log-mdc v0.1.0
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling password-hash v0.2.3
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zip v0.5.13
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling backtrace v0.3.75
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[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 crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling ripemd160 v0.9.1
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling crossbeam v0.8.4
[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 bytes v0.5.6
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[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 croaring v1.1.0
[INFO] [stderr]    Compiling cs_mwc_core v5.3.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/core/pmmr/pmmr.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{iter, marker, ops::Range, u64};
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/core/pmmr/pmmr.rs:540:28
[INFO] [stdout]     |
[INFO] [stdout] 540 | const ALL_ONES: u64 = u64::MAX;
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/pow/types.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::u64;
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:351:33
[INFO] [stdout]     |
[INFO] [stdout] 351 |     pub const MAX: u32 = std::u32::MAX;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if max_edges >= u64::max_value() / 2 {
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |             nil: u64::max_value(),
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:68:29
[INFO] [stdout]    |
[INFO] [stdout] 68 |         self.adj_list = vec![u64::max_value(); 2 * self.max_nodes as usize];
[INFO] [stdout]    |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/pow/types.rs:405:20
[INFO] [stdout]     |
[INFO] [stdout] 405 |         min(diff, <u64>::max_value() as u128) as u64
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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 `release` profile [optimized] target(s) in 2m 46s
[INFO] running `Command { std: "docker" "inspect" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/core/pmmr/pmmr.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{iter, marker, ops::Range, u64};
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/core/pmmr/pmmr.rs:540:28
[INFO] [stdout]     |
[INFO] [stdout] 540 | const ALL_ONES: u64 = u64::MAX;
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/pow/types.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::u64;
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:351:33
[INFO] [stdout]     |
[INFO] [stdout] 351 |     pub const MAX: u32 = std::u32::MAX;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cs_mwc_core v5.3.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if max_edges >= u64::max_value() / 2 {
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |             nil: u64::max_value(),
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:68:29
[INFO] [stdout]    |
[INFO] [stdout] 68 |         self.adj_list = vec![u64::max_value(); 2 * self.max_nodes as usize];
[INFO] [stdout]    |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/pow/types.rs:405:20
[INFO] [stdout]     |
[INFO] [stdout] 405 |         min(diff, <u64>::max_value() as u128) as u64
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] [stdout] error[E0433]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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[E0433]: cannot find module or crate `mwc_core` in this scope
[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] 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] 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]    |     --------^^^^^^^^
[INFO] [stdout]    |     |
[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] [stderr] error: could not compile `cs_mwc_core` (test "merkle_proof") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> tests/consensus_automated.rs:193:28
[INFO] [stdout]     |
[INFO] [stdout] 193 |     assert!(len < std::usize::MAX as u64);
[INFO] [stdout]     |                               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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] [stdout] error[E0433]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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]: cannot find module or crate `mwc_core` in this scope
[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] [stderr] error: could not compile `cs_mwc_core` (test "consensus_automated") due to 3 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: cannot find module or crate `mwc_core` in this scope
[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]    |     --------^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no external crate `mwc_core`
[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]    |     --------^^^^^^^^
[INFO] [stdout]    |     |
[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] [stderr] error: could not compile `cs_mwc_core` (test "segment") due to 7 previous errors
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/core.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use mwc_core as core;
[INFO] [stdout]    |     --------^^^^^^^^
[INFO] [stdout]    |     |
[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] [stderr] error: could not compile `cs_mwc_core` (test "block") due to 6 previous errors
[INFO] [stdout] error[E0432]: unresolved import `mwc_core`
[INFO] [stdout]   --> tests/pmmr.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use mwc_core as core;
[INFO] [stdout]    |     --------^^^^^^^^
[INFO] [stdout]    |     |
[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] [stderr] error: could not compile `cs_mwc_core` (test "core") due to 6 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 "pmmr") due to 6 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]    |     --------^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no external crate `mwc_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/core/pmmr/pmmr.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{iter, marker, ops::Range, u64};
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/core/pmmr/pmmr.rs:540:28
[INFO] [stdout]     |
[INFO] [stdout] 540 | const ALL_ONES: u64 = u64::MAX;
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::u64`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]   --> src/pow/types.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::u64;
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/pow/types.rs:564:16
[INFO] [stdout]     |
[INFO] [stdout] 564 |                     std::u64::MAX
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/ser.rs:351:33
[INFO] [stdout]     |
[INFO] [stdout] 351 |     pub const MAX: u32 = std::u32::MAX;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn repeat<HeaderDifficultyInfo>(
[INFO] [stdout]    |          ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn create_chain_sim<HeaderDifficultyInfo>(
[INFO] [stdout]     |                    ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn create_chain_sim<HeaderDifficultyInfo>(
[INFO] [stdout]     |                    ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_diff_stats<HeaderDifficultyInfo>(
[INFO] [stdout]     |                  ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_diff_stats<HeaderDifficultyInfo>(
[INFO] [stdout]     |                  ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn get_diff_stats<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] 
[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] 
[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] 
[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] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn add_block<HeaderDifficultyInfo>(
[INFO] [stdout]     |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn add_block<HeaderDifficultyInfo>(
[INFO] [stdout]     |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn add_block<HeaderDifficultyInfo>(
[INFO] [stdout]     |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn add_block<HeaderDifficultyInfo>(
[INFO] [stdout]     |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn add_block_repeated<HeaderDifficultyInfo>(
[INFO] [stdout]     |                      ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn add_block_repeated<HeaderDifficultyInfo>(
[INFO] [stdout]     |                      ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn add_block_repeated<HeaderDifficultyInfo>(
[INFO] [stdout]     |                      ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn print_chain_sim<HeaderDifficultyInfo>(chain_sim: Vec<(HeaderDifficultyInfo, DiffStats)>) {
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] error[E0425]: 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: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 296 | fn repeat_offs<HeaderDifficultyInfo>(from: u64, interval: u64, diff: u64, len: u64) -> Vec<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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> tests/consensus_mainnet.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |     assert!(len < std::usize::MAX as u64);
[INFO] [stdout]    |                               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[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] 
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[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] 
[INFO] [stdout] error[E0433]: cannot find type `HeaderDifficultyInfo` in this scope
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[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] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_mwc_core` (test "consensus_mainnet") due to 133 previous errors; 1 warning emitted
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/libtx/proof.rs:595:9
[INFO] [stdout]     |
[INFO] [stdout] 595 |             u32::max_value() - 2,
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if max_edges >= u64::max_value() / 2 {
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |             nil: u64::max_value(),
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/pow/cuckatoo.rs:68:29
[INFO] [stdout]    |
[INFO] [stdout] 68 |         self.adj_list = vec![u64::max_value(); 2 * self.max_nodes as usize];
[INFO] [stdout]    |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/pow/types.rs:405:20
[INFO] [stdout]     |
[INFO] [stdout] 405 |         min(diff, <u64>::max_value() as u128) as u64
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607", kill_on_drop: false }`
[INFO] [stdout] dbf2d7c04b8269b046b61c0129f2af359205e0c8d89ed692032b6ced687a1607
