[INFO] fetching crate sc-basic-authorship 0.8.0-rc2... [INFO] checking sc-basic-authorship-0.8.0-rc2 against try#e2aab98dd8975a0990f9fbb79b3ea4b40559a184 for pr-72493 [INFO] extracting crate sc-basic-authorship 0.8.0-rc2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-basic-authorship 0.8.0-rc2 on toolchain e2aab98dd8975a0990f9fbb79b3ea4b40559a184 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e2aab98dd8975a0990f9fbb79b3ea4b40559a184" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-basic-authorship 0.8.0-rc2 [INFO] finished tweaking crates.io crate sc-basic-authorship 0.8.0-rc2 [INFO] tweaked toml for crates.io crate sc-basic-authorship 0.8.0-rc2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e2aab98dd8975a0990f9fbb79b3ea4b40559a184" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e2aab98dd8975a0990f9fbb79b3ea4b40559a184" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sc-proposer-metrics v0.8.0-rc2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+e2aab98dd8975a0990f9fbb79b3ea4b40559a184" "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] eb1ea8ae5295186f3f34421b8f9fbe79a2f94edb04d55838d01fe8764f6beece [INFO] running `"docker" "start" "-a" "eb1ea8ae5295186f3f34421b8f9fbe79a2f94edb04d55838d01fe8764f6beece"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking sc-proposer-metrics v0.8.0-rc2 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc2 [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-rc2 (/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:343:6 [INFO] [stderr] | [INFO] [stderr] 343 | 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:341:6 [INFO] [stderr] | [INFO] [stderr] 341 | use parking_lot::Mutex; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `parking_lot` [INFO] [stderr] ... [INFO] [stderr] 345 | runtime::{Extrinsic, Transfer}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stderr] --> src/basic_authorship.rs:348:6 [INFO] [stderr] | [INFO] [stderr] 348 | 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:360:10 [INFO] [stderr] | [INFO] [stderr] 360 | 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:379:25 [INFO] [stderr] | [INFO] [stderr] 379 | 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:431:25 [INFO] [stderr] | [INFO] [stderr] 431 | 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:465:27 [INFO] [stderr] | [INFO] [stderr] 465 | 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:525:29 [INFO] [stderr] | [INFO] [stderr] 525 | 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:541:12 [INFO] [stderr] | [INFO] [stderr] 541 | 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:548:12 [INFO] [stderr] | [INFO] [stderr] 548 | 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:356:30 [INFO] [stderr] | [INFO] [stderr] 356 | fn extrinsic(nonce: u64) -> Extrinsic { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 339 | 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:357:3 [INFO] [stderr] | [INFO] [stderr] 357 | 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:538:5 [INFO] [stderr] | [INFO] [stderr] 538 | 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:545:5 [INFO] [stderr] | [INFO] [stderr] 545 | 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:558:13 [INFO] [stderr] | [INFO] [stderr] 558 | 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:383:39 [INFO] [stderr] | [INFO] [stderr] 383 | Arc::new(FullChainApi::new(client.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 `submit_at` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:389:11 [INFO] [stderr] | [INFO] [stderr] 389 | txpool.submit_at(&BlockId::number(0), SOURCE, 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:393:11 [INFO] [stderr] | [INFO] [stderr] 393 | 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:395:12 [INFO] [stderr] | [INFO] [stderr] 395 | 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:399:58 [INFO] [stderr] | [INFO] [stderr] 399 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:399:74 [INFO] [stderr] | [INFO] [stderr] 399 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:403:12 [INFO] [stderr] | [INFO] [stderr] 403 | &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:426:21 [INFO] [stderr] | [INFO] [stderr] 426 | 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:435:39 [INFO] [stderr] | [INFO] [stderr] 435 | Arc::new(FullChainApi::new(client.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:440:58 [INFO] [stderr] | [INFO] [stderr] 440 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:440:74 [INFO] [stderr] | [INFO] [stderr] 440 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:444:12 [INFO] [stderr] | [INFO] [stderr] 444 | &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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:471:39 [INFO] [stderr] | [INFO] [stderr] 471 | Arc::new(FullChainApi::new(client.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 `info` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:476:29 [INFO] [stderr] | [INFO] [stderr] 476 | 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:480:11 [INFO] [stderr] | [INFO] [stderr] 480 | txpool.submit_at(&BlockId::number(0), SOURCE, 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:484:11 [INFO] [stderr] | [INFO] [stderr] 484 | 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:486:12 [INFO] [stderr] | [INFO] [stderr] 486 | 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:490:58 [INFO] [stderr] | [INFO] [stderr] 490 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:490:74 [INFO] [stderr] | [INFO] [stderr] 490 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:493:12 [INFO] [stderr] | [INFO] [stderr] 493 | &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:504:20 [INFO] [stderr] | [INFO] [stderr] 504 | 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:529:39 [INFO] [stderr] | [INFO] [stderr] 529 | Arc::new(FullChainApi::new(client.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 `submit_at` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:535:11 [INFO] [stderr] | [INFO] [stderr] 535 | txpool.submit_at(&BlockId::number(0), SOURCE, 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:556:58 [INFO] [stderr] | [INFO] [stderr] 556 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:556:74 [INFO] [stderr] | [INFO] [stderr] 556 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:577:22 [INFO] [stderr] | [INFO] [stderr] 577 | 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:583:11 [INFO] [stderr] | [INFO] [stderr] 583 | 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:585:12 [INFO] [stderr] | [INFO] [stderr] 585 | 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:591:10 [INFO] [stderr] | [INFO] [stderr] 591 | 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:594:11 [INFO] [stderr] | [INFO] [stderr] 594 | 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:596:12 [INFO] [stderr] | [INFO] [stderr] 596 | 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:602:10 [INFO] [stderr] | [INFO] [stderr] 602 | 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:347:40 [INFO] [stderr] | [INFO] [stderr] 347 | use sp_transaction_pool::{ChainEvent, MaintainedTransactionPool, TransactionSource}; [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:349:6 [INFO] [stderr] | [INFO] [stderr] 349 | use sp_api::Core; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `backend::Backend` [INFO] [stderr] --> src/basic_authorship.rs:350:6 [INFO] [stderr] | [INFO] [stderr] 350 | use backend::Backend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_blockchain::HeaderBackend` [INFO] [stderr] --> src/basic_authorship.rs:351:6 [INFO] [stderr] | [INFO] [stderr] 351 | use sp_blockchain::HeaderBackend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 47 previous errors; 4 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "eb1ea8ae5295186f3f34421b8f9fbe79a2f94edb04d55838d01fe8764f6beece"` [INFO] running `"docker" "rm" "-f" "eb1ea8ae5295186f3f34421b8f9fbe79a2f94edb04d55838d01fe8764f6beece"` [INFO] [stdout] eb1ea8ae5295186f3f34421b8f9fbe79a2f94edb04d55838d01fe8764f6beece