[INFO] fetching crate stack_epic_core 3.6.0... [INFO] checking stack_epic_core-3.6.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate stack_epic_core 3.6.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate stack_epic_core 3.6.0 [INFO] finished tweaking crates.io crate stack_epic_core 3.6.0 [INFO] tweaked toml for crates.io crate stack_epic_core 3.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stack_epic_core 3.6.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 183 packages to latest compatible versions [INFO] [stderr] Adding croaring v1.1.0 (available: v2.3.1) [INFO] [stderr] Adding keccak-hash v0.2.0 (available: v0.11.0) [INFO] [stderr] Adding md5 v0.6.1 (available: v0.8.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 rand v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [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.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1bb40d0dafff0c6628b15310563f91cc2665876ec4e0339ef9e652b119cb13 [INFO] running `Command { std: "docker" "start" "-a" "6b1bb40d0dafff0c6628b15310563f91cc2665876ec4e0339ef9e652b119cb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1bb40d0dafff0c6628b15310563f91cc2665876ec4e0339ef9e652b119cb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1bb40d0dafff0c6628b15310563f91cc2665876ec4e0339ef9e652b119cb13", kill_on_drop: false }` [INFO] [stdout] 6b1bb40d0dafff0c6628b15310563f91cc2665876ec4e0339ef9e652b119cb13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a23afbcdba6c8aaa210b027e64ab877d16c039d30e38c443d12d70f3232d32bd [INFO] running `Command { std: "docker" "start" "-a" "a23afbcdba6c8aaa210b027e64ab877d16c039d30e38c443d12d70f3232d32bd", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking walkdir v2.5.0 [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 block-padding v0.1.5 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking password-hash v0.2.3 [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 block-buffer v0.7.3 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.14 [INFO] [stderr] Compiling croaring-sys v2.1.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking croaring v1.1.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking parity-codec v3.5.4 [INFO] [stderr] Checking uuid v0.6.5 [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] Checking stack_epic_util v3.6.0 [INFO] [stderr] Checking stack_epic_keychain v3.6.0 [INFO] [stderr] Checking stack_epic_core v3.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/libtx/build.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 249 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::RwLock` [INFO] [stdout] --> src/libtx/build.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | use util::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | &NaiveDateTime::from_timestamp_opt(0, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | .timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:330:6 [INFO] [stdout] | [INFO] [stdout] 330 | .timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | &NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:688:54 [INFO] [stdout] | [INFO] [stdout] 688 | TimeZone::from_utc_datetime(&Utc, &NaiveDateTime::from_timestamp_opt(now, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:738:54 [INFO] [stdout] | [INFO] [stdout] 738 | TimeZone::from_utc_datetime(&Utc, &NaiveDateTime::from_timestamp_opt(now, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | &NaiveDateTime::from_timestamp_opt(0, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | .timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/core/block.rs:330:6 [INFO] [stdout] | [INFO] [stdout] 330 | .timestamp() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | &NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:688:54 [INFO] [stdout] | [INFO] [stdout] 688 | TimeZone::from_utc_datetime(&Utc, &NaiveDateTime::from_timestamp_opt(now, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/core/block.rs:738:54 [INFO] [stdout] | [INFO] [stdout] 738 | TimeZone::from_utc_datetime(&Utc, &NaiveDateTime::from_timestamp_opt(now, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pow.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | &NaiveDateTime::from_timestamp_opt(0, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/pow.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | &NaiveDateTime::from_timestamp_opt(0, 0).unwrap(), [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_bits` is never read [INFO] [stdout] --> src/pow/common.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct CuckooParams [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 144 | pub edge_bits: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 42 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 42 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/block.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Eq, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 50 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 27 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 27 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn new(backend: &'a mut B) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn at(backend: &'a mut B, last_pos: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn at(backend: &'a mut B, last_pos: u64) -> PMMR<'_, T, B> { [INFO] [stdout] 64 + pub fn at(backend: &'a mut B, last_pos: u64) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn at(backend: &'a B, last_pos: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn at(backend: &'a B, last_pos: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn at(backend: &'a B, last_pos: u64) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn backend(&'a self) -> &dyn Backend { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn backend(&'a self) -> &'a dyn Backend { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 59 + pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 30 | /// Libwallet error types [INFO] [stdout] 31 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 30 | /// Libwallet error types [INFO] [stdout] 31 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_bits` is never read [INFO] [stdout] --> src/pow/common.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct CuckooParams [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 144 | pub edge_bits: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 42 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 42 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/block.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Eq, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 50 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 27 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/committed.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, PartialEq, Eq, Fail, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 27 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn new(backend: &'a mut B) -> PMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn new(backend: &'a mut B) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/pmmr.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn at(backend: &'a mut B, last_pos: u64) -> PMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn at(backend: &'a mut B, last_pos: u64) -> PMMR<'_, T, B> { [INFO] [stdout] 64 + pub fn at(backend: &'a mut B, last_pos: u64) -> PMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/readonly_pmmr.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn at(backend: &'a B, last_pos: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn at(backend: &'a B, last_pos: u64) -> ReadonlyPMMR<'_, T, B> { [INFO] [stdout] 54 + pub fn at(backend: &'a B, last_pos: u64) -> ReadonlyPMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 - pub fn new(backend: &'a B) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 44 + pub fn new(backend: &'a B) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn backend(&'a self) -> &dyn Backend { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn backend(&'a self) -> &'a dyn Backend { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/pmmr/rewindable_pmmr.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] | ^^ this lifetime flows to the output -- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'_, T, B> { [INFO] [stdout] 59 + pub fn at(backend: &'a B, last_pos: u64) -> RewindablePMMR<'a, T, B> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 30 | /// Libwallet error types [INFO] [stdout] 31 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/libtx/error.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug, Eq, Fail, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 30 | /// Libwallet error types [INFO] [stdout] 31 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pow/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 27 | /// Libwallet error types [INFO] [stdout] 28 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/block.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use epic_core::global::ChainTypes; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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/common.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use epic_core::ser::{self, FixedLength, PMMRable, Readable, Reader, Writeable, Writer}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/block.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::RwLock` [INFO] [stdout] --> tests/block.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use util::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/core.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::RwLock` [INFO] [stdout] --> tests/core.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use util::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_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[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_epic_core` (test "block") due to 8 previous errors; 2 warnings emitted [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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use epic_core::core::hash::DefaultHashable; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use epic_core::libtx::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] --> tests/common.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use epic_core::pow::Difficulty; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stack_epic_core` (test "common") due to 6 previous errors [INFO] [stderr] error: could not compile `stack_epic_core` (test "core") due to 7 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stack_epic_core` (test "transaction") due to 7 previous errors [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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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] 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 unresolved module or unlinked crate `epic_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `epic_core`, use `cargo add epic_core` to add it to your `Cargo.toml` [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] [stderr] error: could not compile `stack_epic_core` (test "pmmr") 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] [stderr] error: could not compile `stack_epic_core` (test "merkle_proof") due to 7 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stack_epic_core` (test "vec_backend") 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_epic_core` (test "consensus") due to 123 previous errors [INFO] running `Command { std: "docker" "inspect" "a23afbcdba6c8aaa210b027e64ab877d16c039d30e38c443d12d70f3232d32bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23afbcdba6c8aaa210b027e64ab877d16c039d30e38c443d12d70f3232d32bd", kill_on_drop: false }` [INFO] [stdout] a23afbcdba6c8aaa210b027e64ab877d16c039d30e38c443d12d70f3232d32bd