[INFO] crate sc-basic-authorship 0.8.0-alpha.5 is already in cache
[INFO] checking sc-basic-authorship-0.8.0-alpha.5 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate sc-basic-authorship 0.8.0-alpha.5 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate sc-basic-authorship 0.8.0-alpha.5 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate sc-basic-authorship 0.8.0-alpha.5
[INFO] finished tweaking crates.io crate sc-basic-authorship 0.8.0-alpha.5
[INFO] tweaked toml for crates.io crate sc-basic-authorship 0.8.0-alpha.5 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2875d5e21507248b19871ffce7a082fd3291db223fc52bb81517727844ef68b2
[INFO] running `"docker" "start" "-a" "2875d5e21507248b19871ffce7a082fd3291db223fc52bb81517727844ef68b2"`
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking sc-block-builder v0.8.0-alpha.5
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking tokio-sync v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-executor v0.2.0-alpha.6
[INFO] [stderr]     Checking sc-basic-authorship v0.8.0-alpha.5 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr]    --> src/basic_authorship.rs:314:6
[INFO] [stderr]     |
[INFO] [stderr] 314 |     use substrate_test_runtime_client::{
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `parking_lot`, `substrate_test_runtime_client::runtime::Extrinsic`, `substrate_test_runtime_client::runtime::Transfer`
[INFO] [stderr]    --> src/basic_authorship.rs:312:6
[INFO] [stderr]     |
[INFO] [stderr] 312 |     use parking_lot::Mutex;
[INFO] [stderr]     |         ^^^^^^^^^^^ use of undeclared type or module `parking_lot`
[INFO] [stderr] ...
[INFO] [stderr] 316 |         runtime::{Extrinsic, Transfer},
[INFO] [stderr]     |                   ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `sc_transaction_pool`
[INFO] [stderr]    --> src/basic_authorship.rs:319:6
[INFO] [stderr]     |
[INFO] [stderr] 319 |     use sc_transaction_pool::{BasicPool, FullChainApi};
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_transaction_pool`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring`
[INFO] [stderr]    --> src/basic_authorship.rs:329:10
[INFO] [stderr]     |
[INFO] [stderr] 329 |             from: AccountKeyring::Alice.into(),
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr]    --> src/basic_authorship.rs:348:25
[INFO] [stderr]     |
[INFO] [stderr] 348 |         let client = Arc::new(substrate_test_runtime_client::new());
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr]    --> src/basic_authorship.rs:396:27
[INFO] [stderr]     |
[INFO] [stderr] 396 |         let (client, backend) = substrate_test_runtime_client::TestClientBuilder::new()
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr]    --> src/basic_authorship.rs:451:29
[INFO] [stderr]     |
[INFO] [stderr] 451 |         let mut client = Arc::new(substrate_test_runtime_client::new());
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring`
[INFO] [stderr]    --> src/basic_authorship.rs:463:12
[INFO] [stderr]     |
[INFO] [stderr] 463 |                     from: AccountKeyring::Alice.into(),
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring`
[INFO] [stderr]    --> src/basic_authorship.rs:470:12
[INFO] [stderr]     |
[INFO] [stderr] 470 |                     from: AccountKeyring::Alice.into(),
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Extrinsic` in this scope
[INFO] [stderr]    --> src/basic_authorship.rs:325:30
[INFO] [stderr]     |
[INFO] [stderr] 325 |     fn extrinsic(nonce: u64) -> Extrinsic {
[INFO] [stderr]     |                                 ^^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 310 |     use sp_runtime::traits::Extrinsic;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope
[INFO] [stderr]    --> src/basic_authorship.rs:326:3
[INFO] [stderr]     |
[INFO] [stderr] 326 |         Transfer {
[INFO] [stderr]     |         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope
[INFO] [stderr]    --> src/basic_authorship.rs:460:5
[INFO] [stderr]     |
[INFO] [stderr] 460 |                 Transfer {
[INFO] [stderr]     |                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope
[INFO] [stderr]    --> src/basic_authorship.rs:467:5
[INFO] [stderr]     |
[INFO] [stderr] 467 |                 Transfer {
[INFO] [stderr]     |                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TestClient` in this scope
[INFO] [stderr]    --> src/basic_authorship.rs:480:13
[INFO] [stderr]     |
[INFO] [stderr] 480 |             client: &TestClient,
[INFO] [stderr]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:350:73
[INFO] [stderr]     |
[INFO] [stderr] 350 |             BasicPool::new(Default::default(), Arc::new(FullChainApi::new(client.clone()))).0
[INFO] [stderr]     |                                                                                  ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `submit_at` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:354:11
[INFO] [stderr]     |
[INFO] [stderr] 354 |             txpool.submit_at(&BlockId::number(0), vec![extrinsic(0), extrinsic(1)])
[INFO] [stderr]     |                    ^^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:358:11
[INFO] [stderr]     |
[INFO] [stderr] 358 |             txpool.maintain(chain_event(
[INFO] [stderr]     |                    ^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:360:12
[INFO] [stderr]     |
[INFO] [stderr] 360 |                 client.header(&BlockId::Number(0u64)).expect("header get error").expect("there should be header")
[INFO] [stderr]     |                        ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:364:58
[INFO] [stderr]     |
[INFO] [stderr] 364 |         let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone());
[INFO] [stderr]     |                                                                ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:364:74
[INFO] [stderr]     |
[INFO] [stderr] 364 |         let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone());
[INFO] [stderr]     |                                                                                ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:368:12
[INFO] [stderr]     |
[INFO] [stderr] 368 |             &client.header(&BlockId::number(0)).unwrap().unwrap(),
[INFO] [stderr]     |                     ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `ready` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:391:21
[INFO] [stderr]     |
[INFO] [stderr] 391 |         assert_eq!(txpool.ready().count(), 2);
[INFO] [stderr]     |                           ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:400:73
[INFO] [stderr]     |
[INFO] [stderr] 400 |             BasicPool::new(Default::default(), Arc::new(FullChainApi::new(client.clone()))).0
[INFO] [stderr]     |                                                                                  ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `info` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:402:29
[INFO] [stderr]     |
[INFO] [stderr] 402 |         let genesis_hash = client.info().best_hash;
[INFO] [stderr]     |                                   ^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `submit_at` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |             txpool.submit_at(&BlockId::number(0), vec![extrinsic(0)]),
[INFO] [stderr]     |                    ^^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:410:11
[INFO] [stderr]     |
[INFO] [stderr] 410 |             txpool.maintain(chain_event(
[INFO] [stderr]     |                    ^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:412:12
[INFO] [stderr]     |
[INFO] [stderr] 412 |                 client.header(&BlockId::Number(0u64)).expect("header get error").expect("there should be header")
[INFO] [stderr]     |                        ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:416:58
[INFO] [stderr]     |
[INFO] [stderr] 416 |         let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone());
[INFO] [stderr]     |                                                                ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:416:74
[INFO] [stderr]     |
[INFO] [stderr] 416 |         let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone());
[INFO] [stderr]     |                                                                                ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:419:12
[INFO] [stderr]     |
[INFO] [stderr] 419 |             &client.header(&block_id).unwrap().unwrap(),
[INFO] [stderr]     |                     ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `runtime_api` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:430:20
[INFO] [stderr]     |
[INFO] [stderr] 430 |         let api = client.runtime_api();
[INFO] [stderr]     |                          ^^^^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:453:73
[INFO] [stderr]     |
[INFO] [stderr] 453 |             BasicPool::new(Default::default(), Arc::new(FullChainApi::new(client.clone()))).0
[INFO] [stderr]     |                                                                                  ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `submit_at` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:457:11
[INFO] [stderr]     |
[INFO] [stderr] 457 |             txpool.submit_at(&BlockId::number(0), vec![
[INFO] [stderr]     |                    ^^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:478:58
[INFO] [stderr]     |
[INFO] [stderr] 478 |         let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone());
[INFO] [stderr]     |                                                                ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:478:74
[INFO] [stderr]     |
[INFO] [stderr] 478 |         let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone());
[INFO] [stderr]     |                                                                                ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `ready` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:499:22
[INFO] [stderr]     |
[INFO] [stderr] 499 |             assert_eq!(txpool.ready().count(), expected_pool_transactions);
[INFO] [stderr]     |                               ^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:505:11
[INFO] [stderr]     |
[INFO] [stderr] 505 |             txpool.maintain(chain_event(
[INFO] [stderr]     |                    ^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:507:12
[INFO] [stderr]     |
[INFO] [stderr] 507 |                 client.header(&BlockId::Number(0u64)).expect("header get error").expect("there should be header")
[INFO] [stderr]     |                        ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:513:10
[INFO] [stderr]     |
[INFO] [stderr] 513 |         client.import(BlockOrigin::Own, block).unwrap();
[INFO] [stderr]     |                ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:516:11
[INFO] [stderr]     |
[INFO] [stderr] 516 |             txpool.maintain(chain_event(
[INFO] [stderr]     |                    ^^^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `txpool` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `header` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:518:12
[INFO] [stderr]     |
[INFO] [stderr] 518 |                 client.header(&BlockId::Number(1)).expect("header get error").expect("there should be header")
[INFO] [stderr]     |                        ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope
[INFO] [stderr]    --> src/basic_authorship.rs:524:10
[INFO] [stderr]     |
[INFO] [stderr] 524 |         client.import(BlockOrigin::Own, block).unwrap();
[INFO] [stderr]     |                ^^^^^^ method not found in `std::sync::Arc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `client` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MaintainedTransactionPool`
[INFO] [stderr]    --> src/basic_authorship.rs:318:40
[INFO] [stderr]     |
[INFO] [stderr] 318 |     use sp_transaction_pool::{ChainEvent, MaintainedTransactionPool};
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sp_api::Core`
[INFO] [stderr]    --> src/basic_authorship.rs:320:6
[INFO] [stderr]     |
[INFO] [stderr] 320 |     use sp_api::Core;
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `backend::Backend`
[INFO] [stderr]    --> src/basic_authorship.rs:321:6
[INFO] [stderr]     |
[INFO] [stderr] 321 |     use backend::Backend;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sp_blockchain::HeaderBackend`
[INFO] [stderr]    --> src/basic_authorship.rs:322:6
[INFO] [stderr]     |
[INFO] [stderr] 322 |     use sp_blockchain::HeaderBackend;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 42 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `sc-basic-authorship`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "2875d5e21507248b19871ffce7a082fd3291db223fc52bb81517727844ef68b2"`
[INFO] running `"docker" "rm" "-f" "2875d5e21507248b19871ffce7a082fd3291db223fc52bb81517727844ef68b2"`
[INFO] [stdout] 2875d5e21507248b19871ffce7a082fd3291db223fc52bb81517727844ef68b2
