[INFO] fetching crate sc-basic-authorship 0.8.0-rc5... [INFO] testing sc-basic-authorship-0.8.0-rc5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate sc-basic-authorship 0.8.0-rc5 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sc-basic-authorship 0.8.0-rc5 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-basic-authorship 0.8.0-rc5 [INFO] finished tweaking crates.io crate sc-basic-authorship 0.8.0-rc5 [INFO] tweaked toml for crates.io crate sc-basic-authorship 0.8.0-rc5 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35f38455022ded2dbbe904e0d4ff4f91e47b3366bb34de69859734aaed0d8333 [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" "35f38455022ded2dbbe904e0d4ff4f91e47b3366bb34de69859734aaed0d8333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35f38455022ded2dbbe904e0d4ff4f91e47b3366bb34de69859734aaed0d8333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f38455022ded2dbbe904e0d4ff4f91e47b3366bb34de69859734aaed0d8333", kill_on_drop: false }` [INFO] [stdout] 35f38455022ded2dbbe904e0d4ff4f91e47b3366bb34de69859734aaed0d8333 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76c8addb15fb1a16c067f8e07a53a01c63ff6ae6a77972957fefa6cec62dd618 [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" "76c8addb15fb1a16c067f8e07a53a01c63ff6ae6a77972957fefa6cec62dd618", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling kvdb v0.7.0 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling sp-database v2.0.0-rc5 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling sp-allocator v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc5 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling sc-telemetry v2.0.0-rc5 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling sc-proposer-metrics v0.8.0-rc5 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling sp-keyring v2.0.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor v0.8.0-rc5 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-rc5 [INFO] [stderr] Compiling sc-client-api v2.0.0-rc5 [INFO] [stderr] Compiling sc-block-builder v0.8.0-rc5 [INFO] [stderr] Compiling sc-basic-authorship v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "76c8addb15fb1a16c067f8e07a53a01c63ff6ae6a77972957fefa6cec62dd618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c8addb15fb1a16c067f8e07a53a01c63ff6ae6a77972957fefa6cec62dd618", kill_on_drop: false }` [INFO] [stdout] 76c8addb15fb1a16c067f8e07a53a01c63ff6ae6a77972957fefa6cec62dd618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b66a958ceb0f8e96469afecf63f6adc3456e5689b6bfcab145bc0609d0a0bc4 [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" "1b66a958ceb0f8e96469afecf63f6adc3456e5689b6bfcab145bc0609d0a0bc4", kill_on_drop: false }` [INFO] [stderr] Compiling sc-basic-authorship v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/basic_authorship.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/basic_authorship.rs:323:6 [INFO] [stdout] | [INFO] [stdout] 323 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type 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:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] 326 | 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:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | use sc_transaction_pool::{BasicPool, FullChainApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_transaction_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/basic_authorship.rs:341:10 [INFO] [stdout] | [INFO] [stdout] 341 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/basic_authorship.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/basic_authorship.rs:414:25 [INFO] [stdout] | [INFO] [stdout] 414 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/basic_authorship.rs:513:29 [INFO] [stdout] | [INFO] [stdout] 513 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/basic_authorship.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/basic_authorship.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extrinsic` in this scope [INFO] [stdout] --> src/basic_authorship.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | 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] 321 | 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:338:3 [INFO] [stdout] | [INFO] [stdout] 338 | 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:527:5 [INFO] [stdout] | [INFO] [stdout] 527 | 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:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | 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:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | 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:364:38 [INFO] [stdout] | [INFO] [stdout] 364 | Arc::new(FullChainApi::new(client.clone(), None)), [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:367:11 [INFO] [stdout] | [INFO] [stdout] 367 | 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:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | 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:382:58 [INFO] [stdout] | [INFO] [stdout] 382 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | &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:418:38 [INFO] [stdout] | [INFO] [stdout] 418 | Arc::new(FullChainApi::new(client.clone(), None)), [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:421:11 [INFO] [stdout] | [INFO] [stdout] 421 | 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:424:58 [INFO] [stdout] | [INFO] [stdout] 424 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | &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:454:38 [INFO] [stdout] | [INFO] [stdout] 454 | Arc::new(FullChainApi::new(client.clone(), None)), [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:457:11 [INFO] [stdout] | [INFO] [stdout] 457 | 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:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | 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:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | 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:475:58 [INFO] [stdout] | [INFO] [stdout] 475 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | &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:489:20 [INFO] [stdout] | [INFO] [stdout] 489 | 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:517:38 [INFO] [stdout] | [INFO] [stdout] 517 | Arc::new(FullChainApi::new(client.clone(), None)), [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:520:11 [INFO] [stdout] | [INFO] [stdout] 520 | 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:545:58 [INFO] [stdout] | [INFO] [stdout] 545 | let mut proposer_factory = ProposerFactory::new(client.clone(), txpool.clone(), None); [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:573:12 [INFO] [stdout] | [INFO] [stdout] 573 | 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:581:10 [INFO] [stdout] | [INFO] [stdout] 581 | 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:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | 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:593:10 [INFO] [stdout] | [INFO] [stdout] 593 | 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:328:40 [INFO] [stdout] | [INFO] [stdout] 328 | 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:330:6 [INFO] [stdout] | [INFO] [stdout] 330 | use sp_api::Core; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_blockchain::HeaderBackend` [INFO] [stdout] --> src/basic_authorship.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | 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:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | use sc_client_api::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 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" "1b66a958ceb0f8e96469afecf63f6adc3456e5689b6bfcab145bc0609d0a0bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b66a958ceb0f8e96469afecf63f6adc3456e5689b6bfcab145bc0609d0a0bc4", kill_on_drop: false }` [INFO] [stdout] 1b66a958ceb0f8e96469afecf63f6adc3456e5689b6bfcab145bc0609d0a0bc4