[INFO] fetching crate sc-basic-authorship 0.9.0... [INFO] checking sc-basic-authorship-0.9.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate sc-basic-authorship 0.9.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate sc-basic-authorship 0.9.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-basic-authorship 0.9.0 [INFO] finished tweaking crates.io crate sc-basic-authorship 0.9.0 [INFO] tweaked toml for crates.io crate sc-basic-authorship 0.9.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sc-proposer-metrics v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c1c10c369c626e8aa3a67a802633db93bc5632997b54f101351cdaa722b97f [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" "47c1c10c369c626e8aa3a67a802633db93bc5632997b54f101351cdaa722b97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c1c10c369c626e8aa3a67a802633db93bc5632997b54f101351cdaa722b97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c1c10c369c626e8aa3a67a802633db93bc5632997b54f101351cdaa722b97f", kill_on_drop: false }` [INFO] [stdout] 47c1c10c369c626e8aa3a67a802633db93bc5632997b54f101351cdaa722b97f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fe9aec3f25e079a2d8cee521a333b4de9426eb4967a618c4447f8a822f1c4d6 [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" "7fe9aec3f25e079a2d8cee521a333b4de9426eb4967a618c4447f8a822f1c4d6", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.23 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking sp-utils v3.0.0 [INFO] [stderr] Checking libp2p-core v0.27.1 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.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 sp-core v3.0.0 [INFO] [stderr] Checking libp2p-websocket v0.28.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.27.0 [INFO] [stderr] Checking libp2p-dns v0.27.0 [INFO] [stderr] Checking libp2p-swarm v0.27.2 [INFO] [stderr] Checking libp2p-tcp v0.27.1 [INFO] [stderr] Checking libp2p v0.34.0 [INFO] [stderr] Checking hyper v0.13.10 [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 sc-executor-common v0.9.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking sc-executor-wasmi v0.9.0 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Checking sc-proposer-metrics v0.9.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 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-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-basic-authorship v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/basic_authorship.rs:374:6 [INFO] [stdout] | [INFO] [stdout] 374 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/basic_authorship.rs:372:6 [INFO] [stdout] | [INFO] [stdout] 372 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `parking_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `substrate_test_runtime_client`, `substrate_test_runtime_client::runtime::Extrinsic`, `substrate_test_runtime_client::runtime::Transfer` [INFO] [stdout] --> src/basic_authorship.rs:374:6 [INFO] [stdout] | [INFO] [stdout] 374 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] 375 | prelude::*, TestClientBuilder, runtime::{Extrinsic, Transfer}, TestClientBuilderExt, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stdout] --> src/basic_authorship.rs:378:6 [INFO] [stdout] | [INFO] [stdout] 378 | use sc_transaction_pool::BasicPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_transaction_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/basic_authorship.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/basic_authorship.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | let client = Arc::new(substrate_test_runtime_client::new()); [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/basic_authorship.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | let client = Arc::new(substrate_test_runtime_client::new()); [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/basic_authorship.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 575 | let mut client = Arc::new(substrate_test_runtime_client::new()); [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 type `AccountKeyring` [INFO] [stdout] --> src/basic_authorship.rs:592:12 [INFO] [stdout] | [INFO] [stdout] 592 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/basic_authorship.rs:599:12 [INFO] [stdout] | [INFO] [stdout] 599 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extrinsic` in this scope [INFO] [stdout] --> src/basic_authorship.rs:386:30 [INFO] [stdout] | [INFO] [stdout] 386 | fn extrinsic(nonce: u64) -> Extrinsic { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 370 | use sp_runtime::traits::Extrinsic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/basic_authorship.rs:387:3 [INFO] [stdout] | [INFO] [stdout] 387 | Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/basic_authorship.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/basic_authorship.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestClient` in this scope [INFO] [stdout] --> src/basic_authorship.rs:614:13 [INFO] [stdout] | [INFO] [stdout] 614 | client: &TestClient, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:414:11 [INFO] [stdout] | [INFO] [stdout] 414 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | client.header(&BlockId::Number(0u64)) [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:431:11 [INFO] [stdout] | [INFO] [stdout] 431 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | &client.header(&BlockId::number(0)).unwrap().unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 473 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 478 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | &client.header(&BlockId::number(0)).unwrap().unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:514:11 [INFO] [stdout] | [INFO] [stdout] 514 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `info` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:517:29 [INFO] [stdout] | [INFO] [stdout] 517 | let genesis_hash = client.info().best_hash; [INFO] [stdout] | ^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | client.header(&BlockId::Number(0u64)) [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:534:11 [INFO] [stdout] | [INFO] [stdout] 534 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 540 | &client.header(&block_id).unwrap().unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `runtime_api` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:551:20 [INFO] [stdout] | [INFO] [stdout] 551 | let api = client.runtime_api(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:582:11 [INFO] [stdout] | [INFO] [stdout] 582 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:609:11 [INFO] [stdout] | [INFO] [stdout] 609 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 640 | client.header(&BlockId::Number(0u64)) [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:648:10 [INFO] [stdout] | [INFO] [stdout] 648 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 652 | client.header(&BlockId::Number(1)) [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:660:10 [INFO] [stdout] | [INFO] [stdout] 660 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaintainedTransactionPool` [INFO] [stdout] --> src/basic_authorship.rs:377:40 [INFO] [stdout] | [INFO] [stdout] 377 | use sp_transaction_pool::{ChainEvent, MaintainedTransactionPool, TransactionSource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_api::Core` [INFO] [stdout] --> src/basic_authorship.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 379 | use sp_api::Core; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_blockchain::HeaderBackend` [INFO] [stdout] --> src/basic_authorship.rs:380:6 [INFO] [stdout] | [INFO] [stdout] 380 | use sp_blockchain::HeaderBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sc_client_api::Backend` [INFO] [stdout] --> src/basic_authorship.rs:382:6 [INFO] [stdout] | [INFO] [stdout] 382 | use sc_client_api::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-basic-authorship` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7fe9aec3f25e079a2d8cee521a333b4de9426eb4967a618c4447f8a822f1c4d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe9aec3f25e079a2d8cee521a333b4de9426eb4967a618c4447f8a822f1c4d6", kill_on_drop: false }` [INFO] [stdout] 7fe9aec3f25e079a2d8cee521a333b4de9426eb4967a618c4447f8a822f1c4d6