[INFO] fetching crate sc-basic-authorship 0.8.0-alpha.6... [INFO] checking sc-basic-authorship-0.8.0-alpha.6 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate sc-basic-authorship 0.8.0-alpha.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sc-basic-authorship 0.8.0-alpha.6 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-basic-authorship 0.8.0-alpha.6 [INFO] finished tweaking crates.io crate sc-basic-authorship 0.8.0-alpha.6 [INFO] tweaked toml for crates.io crate sc-basic-authorship 0.8.0-alpha.6 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] 4dd42a0b0018e54469d327318c3e0694f99a6a6a1b7382413ddf8cad8d87ff1d [INFO] running `"docker" "start" "-a" "4dd42a0b0018e54469d327318c3e0694f99a6a6a1b7382413ddf8cad8d87ff1d"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [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.6 (/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:325:6 [INFO] [stderr] | [INFO] [stderr] 325 | 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:323:6 [INFO] [stderr] | [INFO] [stderr] 323 | use parking_lot::Mutex; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `parking_lot` [INFO] [stderr] ... [INFO] [stderr] 327 | runtime::{Extrinsic, Transfer}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stderr] --> src/basic_authorship.rs:330:6 [INFO] [stderr] | [INFO] [stderr] 330 | 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:342:10 [INFO] [stderr] | [INFO] [stderr] 342 | 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:361:25 [INFO] [stderr] | [INFO] [stderr] 361 | 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:409:25 [INFO] [stderr] | [INFO] [stderr] 409 | 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:439:27 [INFO] [stderr] | [INFO] [stderr] 439 | 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:494:29 [INFO] [stderr] | [INFO] [stderr] 494 | 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:506:12 [INFO] [stderr] | [INFO] [stderr] 506 | 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:513:12 [INFO] [stderr] | [INFO] [stderr] 513 | 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:338:30 [INFO] [stderr] | [INFO] [stderr] 338 | 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] 321 | 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:339:3 [INFO] [stderr] | [INFO] [stderr] 339 | 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:503:5 [INFO] [stderr] | [INFO] [stderr] 503 | 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:510:5 [INFO] [stderr] | [INFO] [stderr] 510 | 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:523:13 [INFO] [stderr] | [INFO] [stderr] 523 | 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:363:73 [INFO] [stderr] | [INFO] [stderr] 363 | 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:367:11 [INFO] [stderr] | [INFO] [stderr] 367 | 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:371:11 [INFO] [stderr] | [INFO] [stderr] 371 | 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:373:12 [INFO] [stderr] | [INFO] [stderr] 373 | 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:377:58 [INFO] [stderr] | [INFO] [stderr] 377 | 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:377:74 [INFO] [stderr] | [INFO] [stderr] 377 | 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:381:12 [INFO] [stderr] | [INFO] [stderr] 381 | &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:404:21 [INFO] [stderr] | [INFO] [stderr] 404 | 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:411:73 [INFO] [stderr] | [INFO] [stderr] 411 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:414:58 [INFO] [stderr] | [INFO] [stderr] 414 | 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:414:74 [INFO] [stderr] | [INFO] [stderr] 414 | 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:418:12 [INFO] [stderr] | [INFO] [stderr] 418 | &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:443:73 [INFO] [stderr] | [INFO] [stderr] 443 | 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:445:29 [INFO] [stderr] | [INFO] [stderr] 445 | 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:449:11 [INFO] [stderr] | [INFO] [stderr] 449 | 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:453:11 [INFO] [stderr] | [INFO] [stderr] 453 | 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:455:12 [INFO] [stderr] | [INFO] [stderr] 455 | 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:459:58 [INFO] [stderr] | [INFO] [stderr] 459 | 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:459:74 [INFO] [stderr] | [INFO] [stderr] 459 | 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:462:12 [INFO] [stderr] | [INFO] [stderr] 462 | &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:473:20 [INFO] [stderr] | [INFO] [stderr] 473 | 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:496:73 [INFO] [stderr] | [INFO] [stderr] 496 | 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:500:11 [INFO] [stderr] | [INFO] [stderr] 500 | 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:521:58 [INFO] [stderr] | [INFO] [stderr] 521 | 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:521:74 [INFO] [stderr] | [INFO] [stderr] 521 | 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:542:22 [INFO] [stderr] | [INFO] [stderr] 542 | 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:548:11 [INFO] [stderr] | [INFO] [stderr] 548 | 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:550:12 [INFO] [stderr] | [INFO] [stderr] 550 | 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:556:10 [INFO] [stderr] | [INFO] [stderr] 556 | 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:559:11 [INFO] [stderr] | [INFO] [stderr] 559 | 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:561:12 [INFO] [stderr] | [INFO] [stderr] 561 | 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:567:10 [INFO] [stderr] | [INFO] [stderr] 567 | 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:329:40 [INFO] [stderr] | [INFO] [stderr] 329 | 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:331:6 [INFO] [stderr] | [INFO] [stderr] 331 | use sp_api::Core; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `backend::Backend` [INFO] [stderr] --> src/basic_authorship.rs:332:6 [INFO] [stderr] | [INFO] [stderr] 332 | use backend::Backend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_blockchain::HeaderBackend` [INFO] [stderr] --> src/basic_authorship.rs:333:6 [INFO] [stderr] | [INFO] [stderr] 333 | 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] running `"docker" "inspect" "4dd42a0b0018e54469d327318c3e0694f99a6a6a1b7382413ddf8cad8d87ff1d"` [INFO] running `"docker" "rm" "-f" "4dd42a0b0018e54469d327318c3e0694f99a6a6a1b7382413ddf8cad8d87ff1d"` [INFO] [stdout] 4dd42a0b0018e54469d327318c3e0694f99a6a6a1b7382413ddf8cad8d87ff1d