[INFO] crate sc-offchain 2.0.0-alpha.5 is already in cache [INFO] checking sc-offchain-2.0.0-alpha.5 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate sc-offchain 2.0.0-alpha.5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sc-offchain 2.0.0-alpha.5 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-offchain 2.0.0-alpha.5 [INFO] finished tweaking crates.io crate sc-offchain 2.0.0-alpha.5 [INFO] tweaked toml for crates.io crate sc-offchain 2.0.0-alpha.5 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] 03fcdef94dc67eadebc27d6f7b597dbbd84a75a8b64e0fbc2a3a36415658288b [INFO] running `"docker" "start" "-a" "03fcdef94dc67eadebc27d6f7b597dbbd84a75a8b64e0fbc2a3a36415658288b"` [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Checking uint v0.8.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Compiling libp2p-identify v0.18.0 [INFO] [stderr] Compiling libp2p-noise v0.18.0 [INFO] [stderr] Compiling libp2p-kad v0.18.0 [INFO] [stderr] Compiling sc-network v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.6 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [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 tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [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-alpha.6 [INFO] [stderr] Checking futures-diagnose v1.0.1 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking multihash v0.10.1 [INFO] [stderr] Checking multistream-select v0.8.0 [INFO] [stderr] Checking parity-multiaddr v0.8.0 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking libp2p-core v0.18.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.6 [INFO] [stderr] Checking fork-tree v2.0.0-alpha.6 [INFO] [stderr] Checking primitive-types v0.7.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-alpha.6 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking libp2p-swarm v0.18.0 [INFO] [stderr] Checking libp2p-dns v0.18.0 [INFO] [stderr] Checking libp2p-yamux v0.18.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.18.0 [INFO] [stderr] Checking libp2p-mplex v0.18.0 [INFO] [stderr] Checking libp2p-tcp v0.18.0 [INFO] [stderr] Checking libp2p-websocket v0.18.0 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.6 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.6 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.5.0 [INFO] [stderr] Checking libp2p-ping v0.18.0 [INFO] [stderr] Checking libp2p-mdns v0.18.0 [INFO] [stderr] Checking sp-core v2.0.0-alpha.6 [INFO] [stderr] Checking libp2p v0.18.0 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.6 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.6 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.6 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.6 [INFO] [stderr] Checking sc-peerset v2.0.0-alpha.6 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.6 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.6 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.6 [INFO] [stderr] Checking sp-io v2.0.0-alpha.6 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.6 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.6 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.6 [INFO] [stderr] Checking sp-version v2.0.0-alpha.6 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.6 [INFO] [stderr] Checking sp-consensus-vrf v0.8.0-alpha.6 [INFO] [stderr] Checking sp-api v2.0.0-alpha.6 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.6 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.6 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.6 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.6 [INFO] [stderr] Checking sp-timestamp v2.0.0-alpha.6 [INFO] [stderr] Checking sp-offchain v2.0.0-alpha.6 [INFO] [stderr] Checking sp-consensus-babe v0.8.0-alpha.6 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.6 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.6 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.6 [INFO] [stderr] Checking sc-client v0.8.0-alpha.6 [INFO] [stderr] Checking sc-offchain v2.0.0-alpha.5 (/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 `tokio` [INFO] [stderr] --> src/api/http.rs:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 736 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 736 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 756 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 756 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 771 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 771 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 815 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 815 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 892 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 892 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 916 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 916 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 937 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 937 | 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:699:13 [INFO] [stderr] | [INFO] [stderr] 699 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 959 | 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:706:4 [INFO] [stderr] | [INFO] [stderr] 706 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 959 | 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 `env_logger` [INFO] [stderr] --> src/lib.rs:203:11 [INFO] [stderr] | [INFO] [stderr] 203 | 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:204:25 [INFO] [stderr] | [INFO] [stderr] 204 | 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:211:12 [INFO] [stderr] | [INFO] [stderr] 211 | 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: possible candidates are found in other modules, you can import them into scope [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: possible candidates are found in other modules, you can import them into scope [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: possible candidates are found in other modules, you can import them into scope [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: possible candidates are found in other modules, you can import them into scope [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: possible candidates are found in other modules, you can import them into scope [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 33 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" "03fcdef94dc67eadebc27d6f7b597dbbd84a75a8b64e0fbc2a3a36415658288b"` [INFO] running `"docker" "rm" "-f" "03fcdef94dc67eadebc27d6f7b597dbbd84a75a8b64e0fbc2a3a36415658288b"` [INFO] [stdout] 03fcdef94dc67eadebc27d6f7b597dbbd84a75a8b64e0fbc2a3a36415658288b