[INFO] crate sc-offchain 2.0.0-alpha.6 is already in cache [INFO] checking sc-offchain-2.0.0-alpha.6 against try#5fae8f15a4dcfce640ee800a4d495673524b0a4d for pr-71814 [INFO] extracting crate sc-offchain 2.0.0-alpha.6 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sc-offchain 2.0.0-alpha.6 on toolchain 5fae8f15a4dcfce640ee800a4d495673524b0a4d [INFO] running `"/workspace/cargo-home/bin/cargo" "+5fae8f15a4dcfce640ee800a4d495673524b0a4d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-offchain 2.0.0-alpha.6 [INFO] finished tweaking crates.io crate sc-offchain 2.0.0-alpha.6 [INFO] tweaked toml for crates.io crate sc-offchain 2.0.0-alpha.6 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+5fae8f15a4dcfce640ee800a4d495673524b0a4d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+5fae8f15a4dcfce640ee800a4d495673524b0a4d" "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-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=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" "+5fae8f15a4dcfce640ee800a4d495673524b0a4d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 60029f21de579390b1537a2a60182e10b933d801ff15127500b081b0bfc5dd38 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "60029f21de579390b1537a2a60182e10b933d801ff15127500b081b0bfc5dd38"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [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] Compiling snow v0.6.2 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking serde v1.0.110 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking wasm-bindgen v0.2.62 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking sp-tracing v2.0.0-alpha.7 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking blake2s_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 js-sys v0.3.39 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.0 [INFO] [stderr] Compiling libp2p-core v0.18.0 [INFO] [stderr] Compiling libp2p-noise v0.18.0 [INFO] [stderr] Compiling libp2p-kad v0.18.0 [INFO] [stderr] Compiling libp2p-identify v0.18.0 [INFO] [stderr] Compiling sc-network v0.8.0-alpha.7 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.12 [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 soketto v0.3.2 [INFO] [stderr] Checking yamux v0.4.5 [INFO] [stderr] Checking sp-utils v2.0.0-alpha.7 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking erased-serde v0.3.11 [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 sp-storage v2.0.0-alpha.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking slog v2.5.2 [INFO] [stderr] Checking sp-serializer v2.0.0-alpha.7 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.7 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.7 [INFO] [stderr] Checking libp2p-swarm v0.18.1 [INFO] [stderr] Checking libp2p-websocket v0.18.0 [INFO] [stderr] Checking libp2p-yamux v0.18.0 [INFO] [stderr] Checking libp2p-dns v0.18.0 [INFO] [stderr] Checking libp2p-tcp v0.18.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.18.0 [INFO] [stderr] Checking libp2p-mplex v0.18.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-alpha.7 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking libp2p-mdns v0.18.0 [INFO] [stderr] Checking libp2p-ping v0.18.0 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking libp2p v0.18.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.7 [INFO] [stderr] Checking sc-peerset v2.0.0-alpha.7 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.7 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.7 [INFO] [stderr] Checking fork-tree v2.0.0-alpha.7 [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-alpha.7 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.7 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.5.0 [INFO] [stderr] Checking sp-database v2.0.0-alpha.7 [INFO] [stderr] Checking sp-core v2.0.0-alpha.7 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.7 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.7 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.7 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.7 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.7 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.7 [INFO] [stderr] Checking sp-io v2.0.0-alpha.7 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.7 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.7 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.7 [INFO] [stderr] Checking sp-version v2.0.0-alpha.7 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.7 [INFO] [stderr] Checking sp-api v2.0.0-alpha.7 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.7 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.7 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.7 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.7 [INFO] [stderr] Checking sp-offchain v2.0.0-alpha.7 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.7 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.7 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.7 [INFO] [stderr] Checking sc-offchain v2.0.0-alpha.6 (/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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 737 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 737 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 757 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 757 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 772 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 772 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 816 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 816 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 893 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 893 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 917 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 917 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 938 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 938 | 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:700:13 [INFO] [stderr] | [INFO] [stderr] 700 | let _ = tokio::runtime::Runtime::new().unwrap().block_on(future); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] ... [INFO] [stderr] 960 | 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:707:4 [INFO] [stderr] | [INFO] [stderr] 707 | fdlimit::raise_fd_limit(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `fdlimit` [INFO] [stderr] ... [INFO] [stderr] 960 | 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:212:12 [INFO] [stderr] | [INFO] [stderr] 212 | 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 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" "60029f21de579390b1537a2a60182e10b933d801ff15127500b081b0bfc5dd38"` [INFO] running `"docker" "rm" "-f" "60029f21de579390b1537a2a60182e10b933d801ff15127500b081b0bfc5dd38"` [INFO] [stdout] 60029f21de579390b1537a2a60182e10b933d801ff15127500b081b0bfc5dd38