[INFO] fetching crate stack_test_epic_core 3.0.3... [INFO] checking stack_test_epic_core-3.0.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate stack_test_epic_core 3.0.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate stack_test_epic_core 3.0.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stack_test_epic_core 3.0.3 [INFO] finished tweaking crates.io crate stack_test_epic_core 3.0.3 [INFO] tweaked toml for crates.io crate stack_test_epic_core 3.0.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 203 packages to latest compatible versions [INFO] [stderr] Adding croaring v0.3.9 (available: v2.1.1) [INFO] [stderr] Adding keccak-hash v0.2.0 (available: v0.11.0) [INFO] [stderr] Adding md5 v0.6.1 (available: v0.7.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding proc-macro2 v0.3.5 (available: v0.3.8) [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.8) [INFO] [stderr] Adding siphasher v0.2.3 (available: v1.0.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding uuid v0.6.5 (available: v1.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v0.3.11 [INFO] [stderr] Downloaded stack_test_epic_util v3.0.3 [INFO] [stderr] Downloaded serde-value v0.5.3 [INFO] [stderr] Downloaded primitive-types v0.3.0 [INFO] [stderr] Downloaded stack_test_epic_keychain v3.0.3 [INFO] [stderr] Downloaded impl-codec v0.2.0 [INFO] [stderr] Downloaded keccak-hash v0.2.0 [INFO] [stderr] Downloaded croaring v0.3.9 [INFO] [stderr] Downloaded parity-codec v3.5.4 [INFO] [stderr] Downloaded uint v0.7.1 [INFO] [stderr] Downloaded log4rs v0.8.3 [INFO] [stderr] Downloaded croaring-sys v0.3.9 [INFO] [stderr] Downloaded grin_secp256k1zkp v0.7.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d3a1982baa14e3aebb8286c35675a076714900a5ae60f5808fdbf3c0127d6f1 [INFO] running `Command { std: "docker" "start" "-a" "4d3a1982baa14e3aebb8286c35675a076714900a5ae60f5808fdbf3c0127d6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d3a1982baa14e3aebb8286c35675a076714900a5ae60f5808fdbf3c0127d6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3a1982baa14e3aebb8286c35675a076714900a5ae60f5808fdbf3c0127d6f1", kill_on_drop: false }` [INFO] [stdout] 4d3a1982baa14e3aebb8286c35675a076714900a5ae60f5808fdbf3c0127d6f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6dfe77faebe7be1e7d2cc5e73732b4752f2ec5cc922428c349fe0fe462e775d [INFO] running `Command { std: "docker" "start" "-a" "a6dfe77faebe7be1e7d2cc5e73732b4752f2ec5cc922428c349fe0fe462e775d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.14 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking uint v0.7.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking parity-codec v3.5.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking impl-codec v0.2.0 [INFO] [stderr] Checking primitive-types v0.3.0 [INFO] [stderr] Checking log4rs v0.8.3 [INFO] [stderr] Checking keccak-hash v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking stack_test_epic_util v3.0.3 [INFO] [stderr] Checking stack_test_epic_keychain v3.0.3 [INFO] [stderr] Compiling croaring-sys v0.3.9 [INFO] [stderr] Checking croaring v0.3.9 [INFO] [stderr] Checking stack_test_epic_core v3.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use epic_core::core::{Block, BlockHeader, KernelFeatures, Transaction}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/vec_backend.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/transaction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/core.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `epic_core` [INFO] [stdout] --> tests/block.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use epic_core::global::ChainTypes; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/block.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/consensus.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stack_test_epic_core` (test "common") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/merkle_proof.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `epic_core` [INFO] [stdout] --> tests/pmmr.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use epic_core as core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `epic_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [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 `stack_test_epic_core` (test "vec_backend") due to 7 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 `stack_test_epic_core` (test "core") due to 7 previous errors [INFO] [stderr] error: could not compile `stack_test_epic_core` (test "block") due to 8 previous errors [INFO] [stderr] error: could not compile `stack_test_epic_core` (test "transaction") due to 7 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] [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 `stack_test_epic_core` (test "merkle_proof") due to 7 previous errors [INFO] [stderr] error: could not compile `stack_test_epic_core` (test "pmmr") due to 7 previous errors [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn repeat(interval: u64, diff: HeaderInfo, len: u64, cur_time: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:77:84 [INFO] [stdout] | [INFO] [stdout] 77 | fn repeat(interval: u64, diff: HeaderInfo, len: u64, cur_time: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | HeaderInfo::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | fn create_chain_sim(diff: u64) -> Vec<(HeaderInfo, DiffStats)> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let return_vec = vec![HeaderInfo::from_ts_diff( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | HeaderInfo::from_ts_diff(Utc::now().timestamp() as u64, Difficulty::from_num(diff)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_diff_stats(chain_sim: &Vec) -> DiffStats { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | let last_blocks: Vec = [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:123:64 [INFO] [stdout] | [INFO] [stdout] 123 | global::difficulty_data_to_vector(diff_iter.iter().cloned(), DIFFICULTY_ADJUST_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let sum_blocks: Vec = [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:135:64 [INFO] [stdout] | [INFO] [stdout] 135 | global::difficulty_data_to_vector(diff_iter.iter().cloned(), DIFFICULTY_ADJUST_WINDOW) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | .take(DIFFICULTY_ADJUST_WINDOW as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | average_block_time: block_time_sum / (DIFFICULTY_ADJUST_WINDOW), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | average_difficulty: block_diff_sum / (DIFFICULTY_ADJUST_WINDOW), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | window_size: DIFFICULTY_ADJUST_WINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | chain_sim: Vec<(HeaderInfo, DiffStats)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | ) -> Vec<(HeaderInfo, DiffStats)> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | let mut return_chain: Vec = chain_sim.clone().iter().map(|e| e.0.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let diff = next_difficulty(1, PoWType::Cuckatoo, return_chain.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | return_chain.insert(0, HeaderInfo::from_ts_diff(time, diff.difficulty.clone())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | (HeaderInfo::from_ts_diff(time, diff.difficulty), diff_stats), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | chain_sim: Vec<(HeaderInfo, DiffStats)>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | ) -> Vec<(HeaderInfo, DiffStats)> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | fn print_chain_sim(chain_sim: Vec<(HeaderInfo, DiffStats)>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:236:43 [INFO] [stdout] | [INFO] [stdout] 236 | println!("DIFFICULTY_ADJUST_WINDOW: {}", DIFFICULTY_ADJUST_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 237 | println!("BLOCK_TIME_WINDOW: {}", BLOCK_TIME_WINDOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::BLOCK_TIME_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLAMP_FACTOR` in this scope [INFO] [stdout] --> tests/consensus.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | println!("CLAMP_FACTOR: {}", CLAMP_FACTOR); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::CLAMP_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_DAMP_FACTOR` in this scope [INFO] [stdout] --> tests/consensus.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | println!("DAMP_FACTOR: {}", DIFFICULTY_DAMP_FACTOR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_DAMP_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderInfo` in this scope [INFO] [stdout] --> tests/consensus.rs:270:70 [INFO] [stdout] | [INFO] [stdout] 270 | fn repeat_offs(from: u64, interval: u64, diff: u64, len: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:273:3 [INFO] [stdout] | [INFO] [stdout] 273 | HeaderInfo::from_ts_diff(1, Difficulty::from_num(diff)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | let just_enough = (DIFFICULTY_ADJUST_WINDOW) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | let mut hi = HeaderInfo::from_diff_scaling(diff_min.clone(), AR_SCALE_DAMP_FACTOR as u32); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AR_SCALE_DAMP_FACTOR` in this scope [INFO] [stdout] --> tests/consensus.rs:361:63 [INFO] [stdout] | [INFO] [stdout] 361 | let mut hi = HeaderInfo::from_diff_scaling(diff_min.clone(), AR_SCALE_DAMP_FACTOR as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::AR_SCALE_DAMP_FACTOR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:363:15 [INFO] [stdout] | [INFO] [stdout] 363 | let hinext = next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope [INFO] [stdout] --> tests/consensus.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | BLOCK_TIME_SEC / 4, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::BLOCK_TIME_SEC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | DIFFICULTY_ADJUST_WINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIN_DIFFICULTY` in this scope [INFO] [stdout] --> tests/consensus.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | assert_ne!(hinext.secondary_scaling, MIN_DIFFICULTY as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::MIN_DIFFICULTY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:383:20 [INFO] [stdout] | [INFO] [stdout] 383 | let just_enough = DIFFICULTY_ADJUST_WINDOW + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:386:3 [INFO] [stdout] | [INFO] [stdout] 386 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope [INFO] [stdout] --> tests/consensus.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 389 | repeat(BLOCK_TIME_SEC, hi.clone(), just_enough, None) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::BLOCK_TIME_SEC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:398:3 [INFO] [stdout] | [INFO] [stdout] 398 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | vec![HeaderInfo::from_ts_diff(42, hi.difficulty)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | let sec = DIFFICULTY_ADJUST_WINDOW / 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope [INFO] [stdout] --> tests/consensus.rs:411:22 [INFO] [stdout] | [INFO] [stdout] 411 | let mut s1 = repeat(BLOCK_TIME_SEC, hi.clone(), sec, Some(cur_time)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::BLOCK_TIME_SEC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope [INFO] [stdout] --> tests/consensus.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | cur_time + (sec * BLOCK_TIME_SEC) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::BLOCK_TIME_SEC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLOCK_TIME_SEC` in this scope [INFO] [stdout] --> tests/consensus.rs:414:3 [INFO] [stdout] | [INFO] [stdout] 414 | BLOCK_TIME_SEC, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::BLOCK_TIME_SEC; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:416:3 [INFO] [stdout] | [INFO] [stdout] 416 | DIFFICULTY_ADJUST_WINDOW / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:420:3 [INFO] [stdout] | [INFO] [stdout] 420 | next_difficulty(1, PoWType::Cuckatoo, s2) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:439:3 [INFO] [stdout] | [INFO] [stdout] 439 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:451:3 [INFO] [stdout] | [INFO] [stdout] 451 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:461:3 [INFO] [stdout] | [INFO] [stdout] 461 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:471:3 [INFO] [stdout] | [INFO] [stdout] 471 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:483:3 [INFO] [stdout] | [INFO] [stdout] 483 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:495:3 [INFO] [stdout] | [INFO] [stdout] 495 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:505:3 [INFO] [stdout] | [INFO] [stdout] 505 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_difficulty` in this scope [INFO] [stdout] --> tests/consensus.rs:518:3 [INFO] [stdout] | [INFO] [stdout] 518 | next_difficulty( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::next_difficulty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 536 | assert_eq!(secondary_pow_ratio(1), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:537:14 [INFO] [stdout] | [INFO] [stdout] 537 | assert_eq!(secondary_pow_ratio(89), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | assert_eq!(secondary_pow_ratio(90), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:539:14 [INFO] [stdout] | [INFO] [stdout] 539 | assert_eq!(secondary_pow_ratio(91), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:540:14 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(secondary_pow_ratio(179), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | assert_eq!(secondary_pow_ratio(180), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | assert_eq!(secondary_pow_ratio(181), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | assert_eq!(secondary_pow_ratio(one_week - 1), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | assert_eq!(secondary_pow_ratio(one_week), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | assert_eq!(secondary_pow_ratio(one_week + 1), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:550:14 [INFO] [stdout] | [INFO] [stdout] 550 | assert_eq!(secondary_pow_ratio(two_weeks - 1), 89); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:551:14 [INFO] [stdout] | [INFO] [stdout] 551 | assert_eq!(secondary_pow_ratio(two_weeks), 89); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | assert_eq!(secondary_pow_ratio(two_weeks + 1), 89); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:555:14 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(secondary_pow_ratio(t4_fork_height - 1), 85); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:556:14 [INFO] [stdout] | [INFO] [stdout] 556 | assert_eq!(secondary_pow_ratio(t4_fork_height), 85); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | assert_eq!(secondary_pow_ratio(t4_fork_height + 1), 85); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | assert_eq!(secondary_pow_ratio(one_year), 45); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:563:14 [INFO] [stdout] | [INFO] [stdout] 563 | assert_eq!(secondary_pow_ratio(ninety_one_weeks - 1), 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:564:14 [INFO] [stdout] | [INFO] [stdout] 564 | assert_eq!(secondary_pow_ratio(ninety_one_weeks), 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 565 | assert_eq!(secondary_pow_ratio(ninety_one_weeks + 1), 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | assert_eq!(secondary_pow_ratio(two_year - 1), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:569:14 [INFO] [stdout] | [INFO] [stdout] 569 | assert_eq!(secondary_pow_ratio(two_year), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:570:14 [INFO] [stdout] | [INFO] [stdout] 570 | assert_eq!(secondary_pow_ratio(two_year + 1), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:578:14 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(secondary_pow_ratio(1), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:579:14 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(secondary_pow_ratio(89), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:580:14 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(secondary_pow_ratio(90), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:581:14 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(secondary_pow_ratio(91), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:582:14 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(secondary_pow_ratio(179), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:583:14 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(secondary_pow_ratio(180), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(secondary_pow_ratio(181), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:587:14 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(secondary_pow_ratio(one_week - 1), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:588:14 [INFO] [stdout] | [INFO] [stdout] 588 | assert_eq!(secondary_pow_ratio(one_week), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 589 | assert_eq!(secondary_pow_ratio(one_week + 1), 90); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:592:14 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(secondary_pow_ratio(two_weeks - 1), 89); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:593:14 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(secondary_pow_ratio(two_weeks), 89); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:594:14 [INFO] [stdout] | [INFO] [stdout] 594 | assert_eq!(secondary_pow_ratio(two_weeks + 1), 89); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:597:14 [INFO] [stdout] | [INFO] [stdout] 597 | assert_eq!(secondary_pow_ratio(t4_fork_height - 1), 85); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:598:14 [INFO] [stdout] | [INFO] [stdout] 598 | assert_eq!(secondary_pow_ratio(t4_fork_height), 85); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | assert_eq!(secondary_pow_ratio(t4_fork_height + 1), 85); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:602:14 [INFO] [stdout] | [INFO] [stdout] 602 | assert_eq!(secondary_pow_ratio(one_year), 45); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:605:14 [INFO] [stdout] | [INFO] [stdout] 605 | assert_eq!(secondary_pow_ratio(ninety_one_weeks - 1), 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:606:14 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(secondary_pow_ratio(ninety_one_weeks), 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:607:14 [INFO] [stdout] | [INFO] [stdout] 607 | assert_eq!(secondary_pow_ratio(ninety_one_weeks + 1), 12); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:610:14 [INFO] [stdout] | [INFO] [stdout] 610 | assert_eq!(secondary_pow_ratio(two_year - 1), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 611 | assert_eq!(secondary_pow_ratio(two_year), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_ratio` in this scope [INFO] [stdout] --> tests/consensus.rs:612:14 [INFO] [stdout] | [INFO] [stdout] 612 | assert_eq!(secondary_pow_ratio(two_year + 1), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_ratio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIFFICULTY_ADJUST_WINDOW` in this scope [INFO] [stdout] --> tests/consensus.rs:618:15 [INFO] [stdout] | [INFO] [stdout] 618 | let window = DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::DIFFICULTY_ADJUST_WINDOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:619:15 [INFO] [stdout] | [INFO] [stdout] 619 | let mut hi = HeaderInfo::from_diff_scaling(Difficulty::from_num(10), 100); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:630:4 [INFO] [stdout] | [INFO] [stdout] 630 | secondary_pow_scaling(1, &(0..window).map(|_| hi.clone()).collect::>()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:636:4 [INFO] [stdout] | [INFO] [stdout] 636 | secondary_pow_scaling(1, &(0..window).map(|_| hi.clone()).collect::>()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:641:4 [INFO] [stdout] | [INFO] [stdout] 641 | secondary_pow_scaling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope [INFO] [stdout] --> tests/consensus.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | 2 * YEAR_HEIGHT * 83 / 90, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::YEAR_HEIGHT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:649:4 [INFO] [stdout] | [INFO] [stdout] 649 | HeaderInfo::from_diff_scaling(Difficulty::from_num(10), MIN_AR_SCALE as u32); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIN_AR_SCALE` in this scope [INFO] [stdout] --> tests/consensus.rs:649:60 [INFO] [stdout] | [INFO] [stdout] 649 | HeaderInfo::from_diff_scaling(Difficulty::from_num(10), MIN_AR_SCALE as u32); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::MIN_AR_SCALE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:652:4 [INFO] [stdout] | [INFO] [stdout] 652 | secondary_pow_scaling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope [INFO] [stdout] --> tests/consensus.rs:653:9 [INFO] [stdout] | [INFO] [stdout] 653 | 2 * YEAR_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::YEAR_HEIGHT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MIN_AR_SCALE` in this scope [INFO] [stdout] --> tests/consensus.rs:656:4 [INFO] [stdout] | [INFO] [stdout] 656 | MIN_AR_SCALE as u32 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::MIN_AR_SCALE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderInfo` [INFO] [stdout] --> tests/consensus.rs:659:24 [INFO] [stdout] | [INFO] [stdout] 659 | let mut primary_hi = HeaderInfo::from_diff_scaling(Difficulty::from_num(10), 50); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HeaderInfo` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::HeaderInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | secondary_pow_scaling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:673:4 [INFO] [stdout] | [INFO] [stdout] 673 | secondary_pow_scaling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `secondary_pow_scaling` in this scope [INFO] [stdout] --> tests/consensus.rs:684:4 [INFO] [stdout] | [INFO] [stdout] 684 | secondary_pow_scaling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::secondary_pow_scaling; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope [INFO] [stdout] --> tests/consensus.rs:699:11 [INFO] [stdout] | [INFO] [stdout] 699 | assert!(!valid_header_version(199, HeaderVersion(6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::valid_header_version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope [INFO] [stdout] --> tests/consensus.rs:700:10 [INFO] [stdout] | [INFO] [stdout] 700 | assert!(valid_header_version(200, HeaderVersion(7))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::valid_header_version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `valid_header_version` in this scope [INFO] [stdout] --> tests/consensus.rs:701:10 [INFO] [stdout] | [INFO] [stdout] 701 | assert!(valid_header_version(YEAR_HEIGHT / 2 - 1, HeaderVersion(7))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::valid_header_version; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YEAR_HEIGHT` in this scope [INFO] [stdout] --> tests/consensus.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | assert!(valid_header_version(YEAR_HEIGHT / 2 - 1, HeaderVersion(7))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use stack_test_epic_core::consensus::YEAR_HEIGHT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stack_test_epic_core` (test "consensus") due to 123 previous errors [INFO] running `Command { std: "docker" "inspect" "a6dfe77faebe7be1e7d2cc5e73732b4752f2ec5cc922428c349fe0fe462e775d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6dfe77faebe7be1e7d2cc5e73732b4752f2ec5cc922428c349fe0fe462e775d", kill_on_drop: false }` [INFO] [stdout] a6dfe77faebe7be1e7d2cc5e73732b4752f2ec5cc922428c349fe0fe462e775d