[INFO] fetching crate sc-finality-grandpa 0.9.0... [INFO] checking sc-finality-grandpa-0.9.0 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate sc-finality-grandpa 0.9.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sc-finality-grandpa 0.9.0 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-finality-grandpa 0.9.0 [INFO] finished tweaking crates.io crate sc-finality-grandpa 0.9.0 [INFO] tweaked toml for crates.io crate sc-finality-grandpa 0.9.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b38193e6ea5f33e56e9200aaba5b753bfdb3e4186a1cdd5496451e49961e004 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b38193e6ea5f33e56e9200aaba5b753bfdb3e4186a1cdd5496451e49961e004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b38193e6ea5f33e56e9200aaba5b753bfdb3e4186a1cdd5496451e49961e004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b38193e6ea5f33e56e9200aaba5b753bfdb3e4186a1cdd5496451e49961e004", kill_on_drop: false }` [INFO] [stdout] 0b38193e6ea5f33e56e9200aaba5b753bfdb3e4186a1cdd5496451e49961e004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a70a834b6beb85023018133332001392e359521c869e0a5eec912e1425f9a01b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a70a834b6beb85023018133332001392e359521c869e0a5eec912e1425f9a01b", kill_on_drop: false }` [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Checking wasm-bindgen v0.2.74 [INFO] [stderr] Compiling sc-network v0.9.0 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Compiling libp2p-gossipsub v0.27.0 [INFO] [stderr] Compiling libp2p-plaintext v0.27.1 [INFO] [stderr] Compiling libp2p-noise v0.29.0 [INFO] [stderr] Compiling libp2p-kad v0.28.1 [INFO] [stderr] Compiling libp2p-floodsub v0.27.0 [INFO] [stderr] Compiling libp2p-identify v0.27.0 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking parity-multiaddr v0.11.2 [INFO] [stderr] Checking cid v0.6.1 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.24 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking sp-storage v3.0.0 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking fork-tree v3.0.0 [INFO] [stderr] Checking finality-grandpa v0.13.0 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking sp-externalities v0.9.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking libp2p-swarm v0.27.2 [INFO] [stderr] Checking libp2p-dns v0.27.0 [INFO] [stderr] Checking libp2p-yamux v0.30.1 [INFO] [stderr] Checking libp2p-deflate v0.27.1 [INFO] [stderr] Checking libp2p-uds v0.27.0 [INFO] [stderr] Checking libp2p-mplex v0.27.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.27.0 [INFO] [stderr] Checking libp2p-tcp v0.27.1 [INFO] [stderr] Checking libp2p-websocket v0.28.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking kvdb v0.9.0 [INFO] [stderr] Checking sp-database v3.0.0 [INFO] [stderr] Checking libp2p-ping v0.27.0 [INFO] [stderr] Checking libp2p-request-response v0.9.1 [INFO] [stderr] Checking libp2p-mdns v0.28.1 [INFO] [stderr] Checking sp-runtime-interface v3.0.0 [INFO] [stderr] Checking libp2p v0.34.0 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Checking sc-peerset v3.0.0 [INFO] [stderr] Checking sc-telemetry v3.0.0 [INFO] [stderr] Checking sp-trie v3.0.0 [INFO] [stderr] Checking sp-keystore v0.9.0 [INFO] [stderr] Checking sp-inherents v3.0.0 [INFO] [stderr] Checking sp-allocator v3.0.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking sc-executor-common v0.9.0 [INFO] [stderr] Checking sc-executor-wasmi v0.9.0 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking sp-application-crypto v3.0.0 [INFO] [stderr] Checking sp-tasks v3.0.0 [INFO] [stderr] Checking sp-runtime v3.0.0 [INFO] [stderr] Checking sc-keystore v3.0.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-api v3.0.0 [INFO] [stderr] Checking sp-consensus v0.9.0 [INFO] [stderr] Checking sc-executor v0.9.0 [INFO] [stderr] Checking sp-block-builder v3.0.0 [INFO] [stderr] Checking sp-finality-grandpa v3.0.0 [INFO] [stderr] Checking sp-blockchain v3.0.0 [INFO] [stderr] Checking sp-transaction-pool v3.0.0 [INFO] [stderr] Checking sc-client-api v3.0.0 [INFO] [stderr] Checking sc-block-builder v0.9.0 [INFO] [stderr] Checking sc-consensus v0.9.0 [INFO] [stderr] Checking sc-network-gossip v0.9.0 [INFO] [stderr] Checking sc-finality-grandpa v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/aux_schema.rs:530:6 [INFO] [stdout] | [INFO] [stdout] 530 | use substrate_test_runtime_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/communication/gossip.rs:1626:6 [INFO] [stdout] | [INFO] [stdout] 1626 | use sc_network_test::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/communication/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use sc_network_test::{Block, Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/finality_proof.rs:607:6 [INFO] [stdout] | [INFO] [stdout] 607 | use substrate_test_runtime_client::runtime::{Block, Header, H256}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/communication/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use sp_keyring::Ed25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/observer.rs:388:6 [INFO] [stdout] | [INFO] [stdout] 388 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/until_imported.rs:549:6 [INFO] [stdout] | [INFO] [stdout] 549 | use substrate_test_runtime_client::runtime::{Block, Hash, Header}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/observer.rs:391:6 [INFO] [stdout] | [INFO] [stdout] 391 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/tests.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use tokio::runtime::{Runtime, Handle}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use sc_network_test::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use substrate_test_runtime_client::runtime::BlockNumber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use sp_keyring::Ed25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/observer.rs:454:4 [INFO] [stdout] | [INFO] [stdout] 454 | assert_matches!(tester.events.next().now_or_never(), Some(Some(Event::Report(_, _)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1507:2 [INFO] [stdout] | [INFO] [stdout] 1507 | assert_matches!(has_voted, HasVoted::Yes(_, _)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1516:2 [INFO] [stdout] | [INFO] [stdout] 1516 | assert_matches!(get_current_round(2).unwrap(), HasVoted::Yes(_, _)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/communication/tests.rs:369:2 [INFO] [stdout] | [INFO] [stdout] 369 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_keyring` [INFO] [stdout] --> src/observer.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 419 | let voters = vec![(sp_keyring::Ed25519Keyring::Alice.public().into(), 1)]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | LinkHalf>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests.rs:211:71 [INFO] [stdout] | [INFO] [stdout] 211 | fn create_keystore(authority: Ed25519Keyring) -> (SyncCryptoStorePtr, tempfile::TempDir) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:352:2 [INFO] [stdout] | [INFO] [stdout] 352 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:379:20 [INFO] [stdout] | [INFO] [stdout] 379 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:435:2 [INFO] [stdout] | [INFO] [stdout] 435 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 468 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:599:20 [INFO] [stdout] | [INFO] [stdout] 599 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:620:20 [INFO] [stdout] | [INFO] [stdout] 620 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:675:2 [INFO] [stdout] | [INFO] [stdout] 675 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:676:20 [INFO] [stdout] | [INFO] [stdout] 676 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:736:2 [INFO] [stdout] | [INFO] [stdout] 736 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:737:20 [INFO] [stdout] | [INFO] [stdout] 737 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:803:18 [INFO] [stdout] | [INFO] [stdout] 803 | TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:852:18 [INFO] [stdout] | [INFO] [stdout] 852 | TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:898:2 [INFO] [stdout] | [INFO] [stdout] 898 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:899:20 [INFO] [stdout] | [INFO] [stdout] 899 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:932:21 [INFO] [stdout] | [INFO] [stdout] 932 | TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:999:20 [INFO] [stdout] | [INFO] [stdout] 999 | TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:1155:2 [INFO] [stdout] | [INFO] [stdout] 1155 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:1156:20 [INFO] [stdout] | [INFO] [stdout] 1156 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:1191:2 [INFO] [stdout] | [INFO] [stdout] 1191 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> src/tests.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:1302:2 [INFO] [stdout] | [INFO] [stdout] 1302 | substrate_test_runtime_client::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:1306:15 [INFO] [stdout] | [INFO] [stdout] 1306 | LongestChain, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:1531:18 [INFO] [stdout] | [INFO] [stdout] 1531 | TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:609:55 [INFO] [stdout] | [INFO] [stdout] 609 | pub(crate) type FinalityProof = super::FinalityProof
; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 609 | pub(crate) type FinalityProof = super::FinalityProof; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:614:29 [INFO] [stdout] | [INFO] [stdout] 614 | impl ProvableJustification
for TestJustification { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 614 | impl ProvableJustification for TestJustification { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> src/finality_proof.rs:625:60 [INFO] [stdout] | [INFO] [stdout] 625 | pub struct TestBlockJustification(TestJustification, u64, H256); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::tests::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:627:26 [INFO] [stdout] | [INFO] [stdout] 627 | impl BlockJustification
for TestBlockJustification { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 627 | impl BlockJustification for TestBlockJustification { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:628:24 [INFO] [stdout] | [INFO] [stdout] 628 | fn number(&self) ->
::Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 628 | fn number(&self) -> ::Number { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:631:22 [INFO] [stdout] | [INFO] [stdout] 631 | fn hash(&self) ->
::Hash { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 631 | fn hash(&self) -> ::Hash { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | impl ProvableJustification
for TestBlockJustification { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 636 | impl ProvableJustification for TestBlockJustification { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/finality_proof.rs:642:28 [INFO] [stdout] | [INFO] [stdout] 642 | fn header(number: u64) -> Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 642 | fn header(number: u64) -> HeaderT { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/finality_proof.rs:647:3 [INFO] [stdout] | [INFO] [stdout] 647 | Header::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 647 | HeaderT::new( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/finality_proof.rs:649:4 [INFO] [stdout] | [INFO] [stdout] 649 | H256::from_low_u64_be(0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::tests::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/finality_proof.rs:650:4 [INFO] [stdout] | [INFO] [stdout] 650 | H256::from_low_u64_be(0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::tests::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:656:45 [INFO] [stdout] | [INFO] [stdout] 656 | fn test_blockchain() -> InMemoryBlockchain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 656 | fn test_blockchain() -> InMemoryBlockchain { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:657:41 [INFO] [stdout] | [INFO] [stdout] 657 | let blockchain = InMemoryBlockchain::::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 657 | let blockchain = InMemoryBlockchain::::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:836:28 [INFO] [stdout] | [INFO] [stdout] 836 | ) -> (InMemoryBlockchain, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 836 | ) -> (InMemoryBlockchain, Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> src/finality_proof.rs:836:40 [INFO] [stdout] | [INFO] [stdout] 836 | ) -> (InMemoryBlockchain, Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::tests::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:837:42 [INFO] [stdout] | [INFO] [stdout] 837 | let blockchain = InMemoryBlockchain::::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 837 | let blockchain = InMemoryBlockchain::::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> src/finality_proof.rs:838:27 [INFO] [stdout] | [INFO] [stdout] 838 | let mut hashes = Vec::::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use crate::tests::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:913:35 [INFO] [stdout] | [INFO] [stdout] 913 | assert!(check_warp_sync_proof::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 913 | assert!(check_warp_sync_proof::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:918:35 [INFO] [stdout] | [INFO] [stdout] 918 | assert!(check_warp_sync_proof::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 918 | assert!(check_warp_sync_proof::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:923:35 [INFO] [stdout] | [INFO] [stdout] 923 | assert!(check_warp_sync_proof::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 923 | assert!(check_warp_sync_proof::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:932:31 [INFO] [stdout] | [INFO] [stdout] 932 | ) = check_warp_sync_proof::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 932 | ) = check_warp_sync_proof::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:947:31 [INFO] [stdout] | [INFO] [stdout] 947 | ) = check_warp_sync_proof::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 947 | ) = check_warp_sync_proof::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/finality_proof.rs:977:31 [INFO] [stdout] | [INFO] [stdout] 977 | ) = check_warp_sync_proof::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 977 | ) = check_warp_sync_proof::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 601 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:559:58 [INFO] [stdout] | [INFO] [stdout] 559 | sender: TracingUnboundedSender>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 559 | sender: TracingUnboundedSender>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/until_imported.rs:560:35 [INFO] [stdout] | [INFO] [stdout] 560 | known_blocks: Arc>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:564:42 [INFO] [stdout] | [INFO] [stdout] 564 | fn new() -> (Self, ImportNotifications) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 564 | fn new() -> (Self, ImportNotifications) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/until_imported.rs:578:35 [INFO] [stdout] | [INFO] [stdout] 578 | fn import_header(&self, header: Header) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 578 | fn import_header(&self, header: HeaderT) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/until_imported.rs:594:28 [INFO] [stdout] | [INFO] [stdout] 594 | inner: Arc>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:597:20 [INFO] [stdout] | [INFO] [stdout] 597 | impl BlockStatusT for TestBlockStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 597 | impl BlockStatusT for TestBlockStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/until_imported.rs:598:32 [INFO] [stdout] | [INFO] [stdout] 598 | fn block_number(&self, hash: Hash) -> Result, Error> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/until_imported.rs:605:28 [INFO] [stdout] | [INFO] [stdout] 605 | requests: Arc)>>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:605:44 [INFO] [stdout] | [INFO] [stdout] 605 | requests: Arc)>>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 605 | requests: Arc)>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:616:27 [INFO] [stdout] | [INFO] [stdout] 616 | impl BlockSyncRequesterT for TestBlockSyncRequester { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 616 | impl BlockSyncRequesterT for TestBlockSyncRequester { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/until_imported.rs:617:74 [INFO] [stdout] | [INFO] [stdout] 617 | fn set_sync_fork_request(&self, _peers: Vec, hash: Hash, number: NumberFor) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 547 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:617:98 [INFO] [stdout] | [INFO] [stdout] 617 | fn set_sync_fork_request(&self, _peers: Vec, hash: Hash, number: NumberFor) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 617 | fn set_sync_fork_request(&self, _peers: Vec, hash: Hash, number: NumberFor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/until_imported.rs:622:33 [INFO] [stdout] | [INFO] [stdout] 622 | fn make_header(number: u64) -> Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 622 | fn make_header(number: u64) -> HeaderT { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/until_imported.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | Header::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 623 | HeaderT::new( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:634:41 [INFO] [stdout] | [INFO] [stdout] 634 | fn unapply_commit(msg: CommunicationIn) -> (u64, CompactCommit::) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 634 | fn unapply_commit(msg: CommunicationIn) -> (u64, CompactCommit::) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:634:74 [INFO] [stdout] | [INFO] [stdout] 634 | fn unapply_commit(msg: CommunicationIn) -> (u64, CompactCommit::) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 634 | fn unapply_commit(msg: CommunicationIn) -> (u64, CompactCommit::) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | fn unapply_catch_up(msg: CommunicationIn) -> CatchUp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 643 | fn unapply_catch_up(msg: CommunicationIn) -> CatchUp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:643:62 [INFO] [stdout] | [INFO] [stdout] 643 | fn unapply_catch_up(msg: CommunicationIn) -> CatchUp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 643 | fn unapply_catch_up(msg: CommunicationIn) -> CatchUp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:651:24 [INFO] [stdout] | [INFO] [stdout] 651 | msg: CommunicationIn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 651 | msg: CommunicationIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:653:23 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> CommunicationIn where [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 653 | ) -> CommunicationIn where [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:681:24 [INFO] [stdout] | [INFO] [stdout] 681 | msg: CommunicationIn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 681 | msg: CommunicationIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:683:23 [INFO] [stdout] | [INFO] [stdout] 683 | ) -> CommunicationIn where [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 683 | ) -> CommunicationIn where [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:725:40 [INFO] [stdout] | [INFO] [stdout] 725 | let unknown_commit = CompactCommit:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 725 | let unknown_commit = CompactCommit:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:768:38 [INFO] [stdout] | [INFO] [stdout] 768 | let known_commit = CompactCommit:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 768 | let known_commit = CompactCommit:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/until_imported.rs:811:34 [INFO] [stdout] | [INFO] [stdout] 811 | let signed_prevote = |header: &Header| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 811 | let signed_prevote = |header: &HeaderT| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/until_imported.rs:822:36 [INFO] [stdout] | [INFO] [stdout] 822 | let signed_precommit = |header: &Header| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 822 | let signed_precommit = |header: &HeaderT| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/until_imported.rs:877:34 [INFO] [stdout] | [INFO] [stdout] 877 | let signed_prevote = |header: &Header| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 877 | let signed_prevote = |header: &HeaderT| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> src/until_imported.rs:888:36 [INFO] [stdout] | [INFO] [stdout] 888 | let signed_precommit = |header: &Header| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | / pub trait Header: [INFO] [stdout] 546 | | Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + [INFO] [stdout] 547 | | MaybeMallocSizeOf + 'static [INFO] [stdout] 548 | | { [INFO] [stdout] ... | [INFO] [stdout] 596 | | } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_- similarly named trait `HeaderT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 888 | let signed_precommit = |header: &HeaderT| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use crate::voting_rule::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Header; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:961:40 [INFO] [stdout] | [INFO] [stdout] 961 | let unknown_commit = CompactCommit:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 961 | let unknown_commit = CompactCommit:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:1014:57 [INFO] [stdout] | [INFO] [stdout] 1014 | fn test_catch_up() -> Arc>>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1014 | fn test_catch_up() -> Arc>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:1037:46 [INFO] [stdout] | [INFO] [stdout] 1037 | let waiting_block_1 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1037 | let waiting_block_1 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:1042:46 [INFO] [stdout] | [INFO] [stdout] 1042 | let waiting_block_2 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1042 | let waiting_block_2 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:1059:46 [INFO] [stdout] | [INFO] [stdout] 1059 | let waiting_block_1 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1059 | let waiting_block_1 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/until_imported.rs:1064:46 [INFO] [stdout] | [INFO] [stdout] 1064 | let waiting_block_2 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1064 | let waiting_block_2 = BlockGlobalMessage:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 547 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:184:49 [INFO] [stdout] | [INFO] [stdout] 184 | _equivocation_proof: EquivocationProof, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 184 | _equivocation_proof: EquivocationProof, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | impl GrandpaApi for RuntimeApi { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:221:102 [INFO] [stdout] | [INFO] [stdout] 221 | fn block_until_complete(future: impl Future + Unpin, net: &Arc>, runtime: &mut Runtime) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handle` in this scope [INFO] [stdout] --> src/tests.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | F: FnOnce(Handle) -> Option>>> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:279:16 [INFO] [stdout] | [INFO] [stdout] 279 | runtime: &mut Runtime, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/tests.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 324 | runtime: &mut Runtime, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:332:68 [INFO] [stdout] | [INFO] [stdout] 332 | fn add_scheduled_change(block: &mut Block, change: ScheduledChange) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 332 | fn add_scheduled_change(block: &mut Block, change: ScheduledChange) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn add_scheduled_change(block: &mut Block, change: ScheduledChange) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | median_last_finalized: BlockNumber, [INFO] [stdout] | ^^^^^^^^^^^ help: a trait with a similar name exists: `BlockNumberOps` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | change: ScheduledChange, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 | change: ScheduledChange, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 339 | fn add_forced_change( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:513:31 [INFO] [stdout] | [INFO] [stdout] 513 | let set: AuthoritySet = crate::aux_schema::load_authorities(&*full_client).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 513 | let set: AuthoritySet = crate::aux_schema::load_authorities(&*full_client).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 434 | fn transition_3_voters_twice_1_full_observer() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:583:34 [INFO] [stdout] | [INFO] [stdout] 583 | let set: AuthoritySet = crate::aux_schema::load_authorities(&*full_client).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 583 | let set: AuthoritySet = crate::aux_schema::load_authorities(&*full_client).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 434 | fn transition_3_voters_twice_1_full_observer() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests.rs:780:31 [INFO] [stdout] | [INFO] [stdout] 780 | let set: AuthoritySet = crate::aux_schema::load_authorities(&*full_client).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/finality-grandpa-0.13.0/src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / pub trait BlockNumberOps: [INFO] [stdout] 163 | | std::fmt::Debug + [INFO] [stdout] 164 | | std::cmp::Ord + [INFO] [stdout] 165 | | std::ops::Add + [INFO] [stdout] ... | [INFO] [stdout] 169 | | num::AsPrimitive [INFO] [stdout] 170 | | {} [INFO] [stdout] | |__- similarly named trait `BlockNumberOps` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 780 | let set: AuthoritySet = crate::aux_schema::load_authorities(&*full_client).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 735 | fn force_change_to_new_set() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 113 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-finality-grandpa` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a70a834b6beb85023018133332001392e359521c869e0a5eec912e1425f9a01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70a834b6beb85023018133332001392e359521c869e0a5eec912e1425f9a01b", kill_on_drop: false }` [INFO] [stdout] a70a834b6beb85023018133332001392e359521c869e0a5eec912e1425f9a01b