[INFO] crate sc-basic-authorship 0.8.0-alpha.3 is already in cache [INFO] checking sc-basic-authorship-0.8.0-alpha.3 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate sc-basic-authorship 0.8.0-alpha.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sc-basic-authorship 0.8.0-alpha.3 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-basic-authorship 0.8.0-alpha.3 [INFO] finished tweaking crates.io crate sc-basic-authorship 0.8.0-alpha.3 [INFO] tweaked toml for crates.io crate sc-basic-authorship 0.8.0-alpha.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "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] 85ea02d0eae4be56b93d10732fd3cc2cc47b9309ff58740d1dc4d18e84ede67d [INFO] running `"docker" "start" "-a" "85ea02d0eae4be56b93d10732fd3cc2cc47b9309ff58740d1dc4d18e84ede67d"` [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.3 (/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:296:6 [INFO] [stderr] | [INFO] [stderr] 296 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `parking_lot` [INFO] [stderr] --> src/basic_authorship.rs:294:6 [INFO] [stderr] | [INFO] [stderr] 294 | use parking_lot::Mutex; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `parking_lot` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/basic_authorship.rs:296:6 [INFO] [stderr] | [INFO] [stderr] 296 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stderr] --> src/basic_authorship.rs:300:6 [INFO] [stderr] | [INFO] [stderr] 300 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/basic_authorship.rs:317:25 [INFO] [stderr] | [INFO] [stderr] 317 | 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:354:27 [INFO] [stderr] | [INFO] [stderr] 354 | 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[E0412]: cannot find type `Extrinsic` in this scope [INFO] [stderr] --> src/basic_authorship.rs:305:30 [INFO] [stderr] | [INFO] [stderr] 305 | 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] 292 | 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:306:3 [INFO] [stderr] | [INFO] [stderr] 306 | Transfer { [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:319:73 [INFO] [stderr] | [INFO] [stderr] 319 | 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:323:11 [INFO] [stderr] | [INFO] [stderr] 323 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:326:58 [INFO] [stderr] | [INFO] [stderr] 326 | 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:326:74 [INFO] [stderr] | [INFO] [stderr] 326 | 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:330:12 [INFO] [stderr] | [INFO] [stderr] 330 | &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:349:21 [INFO] [stderr] | [INFO] [stderr] 349 | 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:358:73 [INFO] [stderr] | [INFO] [stderr] 358 | 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:360:29 [INFO] [stderr] | [INFO] [stderr] 360 | 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:364:11 [INFO] [stderr] | [INFO] [stderr] 364 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/basic_authorship.rs:367:58 [INFO] [stderr] | [INFO] [stderr] 367 | 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:367:74 [INFO] [stderr] | [INFO] [stderr] 367 | 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:370:12 [INFO] [stderr] | [INFO] [stderr] 370 | &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:381:20 [INFO] [stderr] | [INFO] [stderr] 381 | 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] warning: unused import: `sp_api::Core` [INFO] [stderr] --> src/basic_authorship.rs:301:6 [INFO] [stderr] | [INFO] [stderr] 301 | use sp_api::Core; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `backend::Backend` [INFO] [stderr] --> src/basic_authorship.rs:302:6 [INFO] [stderr] | [INFO] [stderr] 302 | use backend::Backend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_blockchain::HeaderBackend` [INFO] [stderr] --> src/basic_authorship.rs:303:6 [INFO] [stderr] | [INFO] [stderr] 303 | use sp_blockchain::HeaderBackend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 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" "85ea02d0eae4be56b93d10732fd3cc2cc47b9309ff58740d1dc4d18e84ede67d"` [INFO] running `"docker" "rm" "-f" "85ea02d0eae4be56b93d10732fd3cc2cc47b9309ff58740d1dc4d18e84ede67d"` [INFO] [stdout] 85ea02d0eae4be56b93d10732fd3cc2cc47b9309ff58740d1dc4d18e84ede67d