[INFO] fetching crate cs_mwc_pool 5.3.9... [INFO] testing cs_mwc_pool-5.3.9 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate cs_mwc_pool 5.3.9 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cs_mwc_pool 5.3.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cs_mwc_pool 5.3.9 [INFO] tweaked toml for crates.io crate cs_mwc_pool 5.3.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cs_mwc_pool 5.3.9 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs_mwc_pool 5.3.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 537a94557a7ebaa10209a9a821ebe2330a7cbd007bcbbedebdce255661b6cd14 [INFO] running `Command { std: "docker" "start" "-a" "537a94557a7ebaa10209a9a821ebe2330a7cbd007bcbbedebdce255661b6cd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "537a94557a7ebaa10209a9a821ebe2330a7cbd007bcbbedebdce255661b6cd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537a94557a7ebaa10209a9a821ebe2330a7cbd007bcbbedebdce255661b6cd14", kill_on_drop: false }` [INFO] [stdout] 537a94557a7ebaa10209a9a821ebe2330a7cbd007bcbbedebdce255661b6cd14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1c7c97246882dc944160fabe7774ccea4218230486aedf1ebed9699fbc56d30 [INFO] running `Command { std: "docker" "start" "-a" "e1c7c97246882dc944160fabe7774ccea4218230486aedf1ebed9699fbc56d30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling cs_mwc_secp256k1zkp v0.7.16 [INFO] [stderr] Compiling croaring-sys v2.1.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling croaring v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling cs_mwc_util v5.3.9 [INFO] [stderr] Compiling cs_mwc_keychain v5.3.9 [INFO] [stderr] Compiling cs_mwc_core v5.3.9 [INFO] [stderr] Compiling cs_mwc_pool v5.3.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.66s [INFO] running `Command { std: "docker" "inspect" "e1c7c97246882dc944160fabe7774ccea4218230486aedf1ebed9699fbc56d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c7c97246882dc944160fabe7774ccea4218230486aedf1ebed9699fbc56d30", kill_on_drop: false }` [INFO] [stdout] e1c7c97246882dc944160fabe7774ccea4218230486aedf1ebed9699fbc56d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0479735f3cdf9f3e71af3af058352001f99ad760d86f826164d043c8fd240ffe [INFO] running `Command { std: "docker" "start" "-a" "0479735f3cdf9f3e71af3af058352001f99ad760d86f826164d043c8fd240ffe", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling sysinfo v0.32.1 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling cs_mwc_store v5.3.9 [INFO] [stderr] Compiling cs_mwc_chain v5.3.9 [INFO] [stderr] Compiling cs_mwc_pool v5.3.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in the crate root [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/transaction_pool.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/block_building.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/nrd_kernels_disabled.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "common") due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/nrd_kernels_enabled.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/coinbase_maturity.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "transaction_pool") due to 28 previous errors [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "block_reconciliation") due to 27 previous errors [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "nrd_kernels_enabled") due to 28 previous errors [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `self` [INFO] [stdout] --> tests/common.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use self::pool::types::*; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/nrd_kernel_relative_height.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::pool` [INFO] [stdout] --> tests/common.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use self::pool::TransactionPool; [INFO] [stdout] | ^^^^ could not find `pool` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mwc_pool` [INFO] [stdout] --> tests/common.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use mwc_pool as pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `mwc_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "nrd_kernels_disabled") due to 28 previous errors [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "block_max_weight") due to 27 previous errors [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl BlockChain for ChainAdapter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | fn chain_head(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|e| PoolError::Other(format!("failed to get chain head, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_block_header(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | .map_err(|e| PoolError::Other(format!("failed to get block header, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | fn get_block_sums(&self, hash: &Hash) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e| PoolError::Other(format!("failed to get block sums, {}", e))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | chain::Error::NRDRelativeHeight => PoolError::NRDKernelRelativeHeight, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | _ => PoolError::Other("failed to validate tx".into()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:163:78 [INFO] [stdout] | [INFO] [stdout] 163 | fn validate_inputs(&self, inputs: &Inputs) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | .map_err(|_| PoolError::Other("failed to validate inputs".into())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "coinbase_maturity") due to 28 previous errors [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:170:68 [INFO] [stdout] | [INFO] [stdout] 170 | fn verify_coinbase_maturity(&self, inputs: &Inputs) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | .map_err(|_| PoolError::ImmatureCoinbase) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | fn verify_tx_lock_height(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | .map_err(|_| PoolError::ImmatureTransaction) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolError` in this scope [INFO] [stdout] --> tests/common.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | fn replay_attack_check(&self, tx: &Transaction) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PoolError` [INFO] [stdout] --> tests/common.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | PoolError::DuplicateKernelOrDuplicateSpent(format!("Replay attack detected, {}", e)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PoolError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BlockChain` in this scope [INFO] [stdout] --> tests/common.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | B: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::BlockChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:188:70 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 - pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] 188 + pub fn init_transaction_pool(chain: Arc) -> TransactionPool [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PoolConfig` in this scope [INFO] [stdout] --> tests/common.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::PoolConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_tx_fee_base` in this scope [INFO] [stdout] --> tests/common.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tx_fee_base: default_tx_fee_base(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::default_tx_fee_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopPoolAdapter` in this scope [INFO] [stdout] --> tests/common.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | Arc::new(NoopPoolAdapter {}), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cs_mwc_chain-5.3.9/src/types.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct NoopAdapter {} [INFO] [stdout] | ---------------------- similarly named struct `NoopAdapter` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - Arc::new(NoopPoolAdapter {}), [INFO] [stdout] 201 + Arc::new(NoopAdapter {}), [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::types::NoopPoolAdapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TxSource` in this scope [INFO] [stdout] --> tests/common.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn test_source() -> TxSource { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TxSource` [INFO] [stdout] --> tests/common.rs:330:2 [INFO] [stdout] | [INFO] [stdout] 330 | TxSource::Broadcast [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TxSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use cs_mwc_pool::TxSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "block_building") due to 28 previous errors [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc_pool` (test "nrd_kernel_relative_height") due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "0479735f3cdf9f3e71af3af058352001f99ad760d86f826164d043c8fd240ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0479735f3cdf9f3e71af3af058352001f99ad760d86f826164d043c8fd240ffe", kill_on_drop: false }` [INFO] [stdout] 0479735f3cdf9f3e71af3af058352001f99ad760d86f826164d043c8fd240ffe