[INFO] fetching crate sc-offchain 2.0.0-rc2... [INFO] checking sc-offchain-2.0.0-rc2 against master#74e80468347471779be6060d8d7d6d04e98e467f for pr-72788 [INFO] extracting crate sc-offchain 2.0.0-rc2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sc-offchain 2.0.0-rc2 on toolchain 74e80468347471779be6060d8d7d6d04e98e467f [INFO] running `"/workspace/cargo-home/bin/cargo" "+74e80468347471779be6060d8d7d6d04e98e467f" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-offchain 2.0.0-rc2 [INFO] finished tweaking crates.io crate sc-offchain 2.0.0-rc2 [INFO] tweaked toml for crates.io crate sc-offchain 2.0.0-rc2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+74e80468347471779be6060d8d7d6d04e98e467f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+74e80468347471779be6060d8d7d6d04e98e467f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+74e80468347471779be6060d8d7d6d04e98e467f" "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] fdbd9633f89d82f544067a50107499b6dda14253db3f6d9aebb6147294a590f5 [INFO] running `"docker" "start" "-a" "fdbd9633f89d82f544067a50107499b6dda14253db3f6d9aebb6147294a590f5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking ip_network v0.3.4 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking linked_hash_set v0.1.3 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Compiling libp2p-identify v0.19.1 [INFO] [stderr] Compiling libp2p-noise v0.19.0 [INFO] [stderr] Compiling libp2p-kad v0.19.0 [INFO] [stderr] Compiling sc-network v0.8.0-rc2 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc2 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking piper v0.1.3 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking yamux v0.4.5 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking sp-utils v2.0.0-rc2 [INFO] [stderr] Checking smol v0.1.10 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Checking multistream-select v0.8.1 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-externalities v0.8.0-rc2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc2 [INFO] [stderr] Checking fork-tree v2.0.0-rc2 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking async-std v1.6.0 [INFO] [stderr] Checking parity-multiaddr v0.9.0 [INFO] [stderr] Checking libp2p-core v0.19.1 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking sp-database v2.0.0-rc2 [INFO] [stderr] Checking sp-core v2.0.0-rc2 [INFO] [stderr] Checking libp2p-swarm v0.19.0 [INFO] [stderr] Checking libp2p-websocket v0.19.0 [INFO] [stderr] Checking libp2p-dns v0.19.0 [INFO] [stderr] Checking libp2p-tcp v0.19.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.19.0 [INFO] [stderr] Checking libp2p-yamux v0.19.0 [INFO] [stderr] Checking libp2p-mplex v0.19.1 [INFO] [stderr] Checking sp-trie v2.0.0-rc2 [INFO] [stderr] Checking sp-inherents v2.0.0-rc2 [INFO] [stderr] Checking sp-allocator v2.0.0-rc2 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking libp2p-mdns v0.19.1 [INFO] [stderr] Checking libp2p-ping v0.19.1 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc2 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc2 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc2 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc2 [INFO] [stderr] Checking libp2p v0.19.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc2 [INFO] [stderr] Checking sc-peerset v2.0.0-rc2 [INFO] [stderr] Checking sp-io v2.0.0-rc2 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc2 [INFO] [stderr] Checking sp-runtime v2.0.0-rc2 [INFO] [stderr] Checking sc-keystore v2.0.0-rc2 [INFO] [stderr] Checking sp-version v2.0.0-rc2 [INFO] [stderr] Checking sp-keyring v2.0.0-rc2 [INFO] [stderr] Checking sp-api v2.0.0-rc2 [INFO] [stderr] Checking sp-consensus v0.8.0-rc2 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc2 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc2 [INFO] [stderr] Checking sc-executor v0.8.0-rc2 [INFO] [stderr] Checking sp-offchain v2.0.0-rc2 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc2 [INFO] [stderr] Checking sc-client-api v2.0.0-rc2 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc2 [INFO] [stderr] Checking sc-offchain v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sc_client_db` [INFO] [stderr] --> src/api.rs:285:6 [INFO] [stderr] | [INFO] [stderr] 285 | use sc_client_db::offchain::LocalStorage; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `sc_client_db` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:169:6 [INFO] [stderr] | [INFO] [stderr] 169 | use substrate_test_runtime_client::runtime::Block; [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/lib.rs:170:6 [INFO] [stderr] | [INFO] [stderr] 170 | use sc_transaction_pool::{BasicPool, FullChainApi}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_transaction_pool` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_transaction_pool` [INFO] [stderr] --> src/lib.rs:171:6 [INFO] [stderr] | [INFO] [stderr] 171 | use sp_transaction_pool::{TransactionPool, InPoolTransaction}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_transaction_pool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 732 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 732 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 752 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 752 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 767 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 767 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 811 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 811 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 888 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 888 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 912 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 912 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 933 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 933 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fdlimit` [INFO] [stderr] --> src/api/http.rs:700:4 [INFO] [stderr] | [INFO] [stderr] 700 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 955 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/api/http.rs:706:18 [INFO] [stderr] | [INFO] [stderr] 706 | let mut rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 955 | let (mut api, addr) = build_api_server!(); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/api.rs:301:11 [INFO] [stderr] | [INFO] [stderr] 301 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LocalStorage` [INFO] [stderr] --> src/api.rs:302:12 [INFO] [stderr] | [INFO] [stderr] 302 | let db = LocalStorage::new_test(); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `LocalStorage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:186:41 [INFO] [stderr] | [INFO] [stderr] 186 | struct TestPool(BasicPool, Block>); [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 `sp_transaction_pool` [INFO] [stderr] --> src/lib.rs:188:7 [INFO] [stderr] | [INFO] [stderr] 188 | impl sp_transaction_pool::OffchainSubmitTransaction for TestPool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_transaction_pool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_transaction_pool` [INFO] [stderr] --> src/lib.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | let source = sp_transaction_pool::TransactionSource::Local; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_transaction_pool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/lib.rs:204:11 [INFO] [stderr] | [INFO] [stderr] 204 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:205:25 [INFO] [stderr] | [INFO] [stderr] 205 | 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 `sc_client_db` [INFO] [stderr] --> src/lib.rs:213:12 [INFO] [stderr] | [INFO] [stderr] 213 | let db = sc_client_db::offchain::LocalStorage::new_test(); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `sc_client_db` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LocalStorage` in this scope [INFO] [stderr] --> src/api.rs:300:28 [INFO] [stderr] | [INFO] [stderr] 300 | fn offchain_api() -> (Api, AsyncApi) { [INFO] [stderr] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/lib.rs:186:84 [INFO] [stderr] | [INFO] [stderr] 186 | struct TestPool(BasicPool, Block>); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/lib.rs:186:92 [INFO] [stderr] | [INFO] [stderr] 186 | struct TestPool(BasicPool, Block>); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/lib.rs:188:54 [INFO] [stderr] | [INFO] [stderr] 188 | impl sp_transaction_pool::OffchainSubmitTransaction for TestPool { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/lib.rs:191:17 [INFO] [stderr] | [INFO] [stderr] 191 | at: &BlockId, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/lib.rs:192:16 [INFO] [stderr] | [INFO] [stderr] 192 | extrinsic: ::Extrinsic, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 166 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `sc-offchain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "fdbd9633f89d82f544067a50107499b6dda14253db3f6d9aebb6147294a590f5"` [INFO] running `"docker" "rm" "-f" "fdbd9633f89d82f544067a50107499b6dda14253db3f6d9aebb6147294a590f5"` [INFO] [stdout] fdbd9633f89d82f544067a50107499b6dda14253db3f6d9aebb6147294a590f5