[INFO] crate sc-basic-authorship 0.8.0-rc4 is already in cache [INFO] checking sc-basic-authorship-0.8.0-rc4 against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] extracting crate sc-basic-authorship 0.8.0-rc4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sc-basic-authorship 0.8.0-rc4 on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-basic-authorship 0.8.0-rc4 [INFO] finished tweaking crates.io crate sc-basic-authorship 0.8.0-rc4 [INFO] tweaked toml for crates.io crate sc-basic-authorship 0.8.0-rc4 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d22a91134ed8a96b573978828eab29876716aad9ce15713da4444dab04d7fcdc [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" "d22a91134ed8a96b573978828eab29876716aad9ce15713da4444dab04d7fcdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d22a91134ed8a96b573978828eab29876716aad9ce15713da4444dab04d7fcdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22a91134ed8a96b573978828eab29876716aad9ce15713da4444dab04d7fcdc", kill_on_drop: false }` [INFO] [stdout] d22a91134ed8a96b573978828eab29876716aad9ce15713da4444dab04d7fcdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9fde4bf8f8f6805f7a9ad252490088e058b6b9c5287b9d2152e2c11b1d1ff65 [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" "a9fde4bf8f8f6805f7a9ad252490088e058b6b9c5287b9d2152e2c11b1d1ff65", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc4 [INFO] [stderr] Compiling libp2p-core-derive v0.19.1 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking ref-cast v1.0.2 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking prometheus v0.8.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking wasm-bindgen v0.2.64 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking tracing v0.1.16 [INFO] [stderr] Checking sp-tracing v2.0.0-rc4 [INFO] [stderr] Compiling libp2p-core v0.19.2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking parity-multiaddr v0.9.1 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.8.2 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking sp-utils v2.0.0-rc4 [INFO] [stderr] Checking sp-storage v2.0.0-rc4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.14 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking slog v2.5.2 [INFO] [stderr] Checking sp-serializer v2.0.0-rc4 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc4 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc4 [INFO] [stderr] Checking libp2p-websocket v0.19.0 [INFO] [stderr] Checking libp2p-tcp v0.19.2 [INFO] [stderr] Checking libp2p-swarm v0.19.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.19.0 [INFO] [stderr] Checking libp2p-dns v0.19.0 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking libp2p v0.19.1 [INFO] [stderr] Checking parity-scale-codec v1.3.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc4 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc4 [INFO] [stderr] Checking sc-proposer-metrics v0.8.0-rc4 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-externalities v0.8.0-rc4 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc4 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc4 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc4 [INFO] [stderr] Checking memory-db v0.21.0 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking sp-core v2.0.0-rc4 [INFO] [stderr] Checking sp-database v2.0.0-rc4 [INFO] [stderr] Checking sp-trie v2.0.0-rc4 [INFO] [stderr] Checking sp-inherents v2.0.0-rc4 [INFO] [stderr] Checking sp-allocator v2.0.0-rc4 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc4 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc4 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc4 [INFO] [stderr] Checking sp-io v2.0.0-rc4 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc4 [INFO] [stderr] Checking sp-runtime v2.0.0-rc4 [INFO] [stderr] Checking sp-version v2.0.0-rc4 [INFO] [stderr] Checking sp-keyring v2.0.0-rc4 [INFO] [stderr] Checking sp-api v2.0.0-rc4 [INFO] [stderr] Checking sp-consensus v0.8.0-rc4 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc4 [INFO] [stderr] Checking sc-executor v0.8.0-rc4 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc4 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc4 [INFO] [stderr] Checking sc-client-api v2.0.0-rc4 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc4 [INFO] [stderr] Checking sc-basic-authorship v0.8.0-rc4 (/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:334:6 [INFO] [stdout] | [INFO] [stdout] 334 | 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:332:6 [INFO] [stdout] | [INFO] [stdout] 332 | 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:334:6 [INFO] [stdout] | [INFO] [stdout] 334 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] 335 | 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:338:6 [INFO] [stdout] | [INFO] [stdout] 338 | 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:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | 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:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | 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:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | 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:519:29 [INFO] [stdout] | [INFO] [stdout] 519 | 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:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | 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:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | 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:346:30 [INFO] [stdout] | [INFO] [stdout] 346 | 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] 330 | 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:347:3 [INFO] [stdout] | [INFO] [stdout] 347 | 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:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | 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:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | 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:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | 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:373:39 [INFO] [stdout] | [INFO] [stdout] 373 | Arc::new(FullChainApi::new(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 `submit_at` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:379:11 [INFO] [stdout] | [INFO] [stdout] 379 | txpool.submit_at(&BlockId::number(0), SOURCE, vec![extrinsic(0), extrinsic(1)]) [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:383:11 [INFO] [stdout] | [INFO] [stdout] 383 | txpool.maintain(chain_event( [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` 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:384:12 [INFO] [stdout] | [INFO] [stdout] 384 | 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:390:58 [INFO] [stdout] | [INFO] [stdout] 390 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:390:74 [INFO] [stdout] | [INFO] [stdout] 390 | 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: `txpool` 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:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | &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 `ready` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | assert_eq!(txpool.ready().count(), 2); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` 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:426:39 [INFO] [stdout] | [INFO] [stdout] 426 | Arc::new(FullChainApi::new(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:431:58 [INFO] [stdout] | [INFO] [stdout] 431 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:431:74 [INFO] [stdout] | [INFO] [stdout] 431 | 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: `txpool` 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:435:12 [INFO] [stdout] | [INFO] [stdout] 435 | &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:461:39 [INFO] [stdout] | [INFO] [stdout] 461 | Arc::new(FullChainApi::new(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:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | 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 `submit_at` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:470:11 [INFO] [stdout] | [INFO] [stdout] 470 | txpool.submit_at(&BlockId::number(0), SOURCE, vec![extrinsic(0)]), [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:474:11 [INFO] [stdout] | [INFO] [stdout] 474 | txpool.maintain(chain_event( [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` 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:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | 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:481:58 [INFO] [stdout] | [INFO] [stdout] 481 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:481:74 [INFO] [stdout] | [INFO] [stdout] 481 | 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: `txpool` 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:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | &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:495:20 [INFO] [stdout] | [INFO] [stdout] 495 | 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:523:39 [INFO] [stdout] | [INFO] [stdout] 523 | Arc::new(FullChainApi::new(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 `submit_at` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | txpool.submit_at(&BlockId::number(0), SOURCE, vec![ [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` 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:550:58 [INFO] [stdout] | [INFO] [stdout] 550 | 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 `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:550:74 [INFO] [stdout] | [INFO] [stdout] 550 | 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: `txpool` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ready` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(txpool.ready().count(), expected_pool_transactions); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 577 | txpool.maintain(chain_event( [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` 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:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | 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:586:10 [INFO] [stdout] | [INFO] [stdout] 586 | 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 `maintain` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/basic_authorship.rs:589:11 [INFO] [stdout] | [INFO] [stdout] 589 | txpool.maintain(chain_event( [INFO] [stdout] | ^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `txpool` 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:590:12 [INFO] [stdout] | [INFO] [stdout] 590 | 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:598:10 [INFO] [stdout] | [INFO] [stdout] 598 | 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:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | 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:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | use sp_api::Core; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_blockchain::HeaderBackend` [INFO] [stdout] --> src/basic_authorship.rs:340:6 [INFO] [stdout] | [INFO] [stdout] 340 | 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:342:6 [INFO] [stdout] | [INFO] [stdout] 342 | use sc_client_api::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 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" "a9fde4bf8f8f6805f7a9ad252490088e058b6b9c5287b9d2152e2c11b1d1ff65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9fde4bf8f8f6805f7a9ad252490088e058b6b9c5287b9d2152e2c11b1d1ff65", kill_on_drop: false }` [INFO] [stdout] a9fde4bf8f8f6805f7a9ad252490088e058b6b9c5287b9d2152e2c11b1d1ff65