[INFO] fetching crate sc-offchain 2.0.0-rc6...
[INFO] testing sc-offchain-2.0.0-rc6 against 1.46.0 for beta-1.47-1
[INFO] extracting crate sc-offchain 2.0.0-rc6 into /workspace/builds/worker-13/source
[INFO] validating manifest of crates.io crate sc-offchain 2.0.0-rc6 on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sc-offchain 2.0.0-rc6
[INFO] finished tweaking crates.io crate sc-offchain 2.0.0-rc6
[INFO] tweaked toml for crates.io crate sc-offchain 2.0.0-rc6 written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fb999626ae8da85d8ec19ae92a834371551752e8d5f565473c3e3d44493f121
[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" "0fb999626ae8da85d8ec19ae92a834371551752e8d5f565473c3e3d44493f121", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fb999626ae8da85d8ec19ae92a834371551752e8d5f565473c3e3d44493f121", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fb999626ae8da85d8ec19ae92a834371551752e8d5f565473c3e3d44493f121", kill_on_drop: false }`
[INFO] [stdout] 0fb999626ae8da85d8ec19ae92a834371551752e8d5f565473c3e3d44493f121
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0fa88e1c822bebc7423ad0fde0f2cc9b806821ac9f22cb4103b6b9ec958d004e
[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" "0fa88e1c822bebc7423ad0fde0f2cc9b806821ac9f22cb4103b6b9ec958d004e", kill_on_drop: false }`
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling parity-wasm v0.41.0
[INFO] [stderr]    Compiling prometheus v0.9.0
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling ip_network v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling uint v0.8.5
[INFO] [stderr]    Compiling dns-parser v0.8.0
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling snow v0.7.1
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling sp-panic-handler v2.0.0-rc6
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.67
[INFO] [stderr]    Compiling prost-derive v0.6.1
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]    Compiling libp2p-core-derive v0.20.2
[INFO] [stderr]    Compiling strum_macros v0.16.0
[INFO] [stderr]    Compiling slog_derive v0.2.0
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling aes-soft v0.4.0
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling polyval v0.4.0
[INFO] [stderr]    Compiling poly1305 v0.6.0
[INFO] [stderr]    Compiling blake2 v0.9.0
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling blake2s_simd v0.5.10
[INFO] [stderr]    Compiling blake2b_simd v0.5.10
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling erased-serde v0.3.12
[INFO] [stderr]    Compiling aes v0.4.0
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling async-io v0.1.11
[INFO] [stderr]    Compiling blocking v0.5.2
[INFO] [stderr]    Compiling ghash v0.3.0
[INFO] [stderr]    Compiling libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling fixed-hash v0.6.1
[INFO] [stderr]    Compiling curve25519-dalek v3.0.0
[INFO] [stderr]    Compiling curve25519-dalek v2.1.0
[INFO] [stderr]    Compiling merlin v2.0.0
[INFO] [stderr]    Compiling secrecy v0.6.0
[INFO] [stderr]    Compiling tiny-bip39 v0.7.3
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling sp-tracing v2.0.0-rc6
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.67
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling asn1_der v0.6.3
[INFO] [stderr]    Compiling wasmi-validation v0.3.0
[INFO] [stderr]    Compiling multihash v0.11.4
[INFO] [stderr]    Compiling aes-gcm v0.6.0
[INFO] [stderr]    Compiling lru v0.4.3
[INFO] [stderr]    Compiling async-executor v0.1.2
[INFO] [stderr]    Compiling slog v2.5.2
[INFO] [stderr]    Compiling sp-serializer v2.0.0-rc6
[INFO] [stderr]    Compiling chacha20poly1305 v0.5.1
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]    Compiling trie-db v0.22.1
[INFO] [stderr]    Compiling sp-api-proc-macro v2.0.0-rc6
[INFO] [stderr]    Compiling strum v0.16.0
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling ed25519-dalek v1.0.0
[INFO] [stderr]    Compiling schnorrkel v0.9.1
[INFO] [stderr]    Compiling x25519-dalek v0.6.0
[INFO] [stderr]    Compiling wasmi v0.6.2
[INFO] [stderr]    Compiling parity-scale-codec v1.3.4
[INFO] [stderr]    Compiling slog-scope v4.3.0
[INFO] [stderr]    Compiling slog-json v2.3.0
[INFO] [stderr]    Compiling prost v0.6.1
[INFO] [stderr]    Compiling ct-logs v0.7.0
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling rustls v0.18.1
[INFO] [stderr]    Compiling webpki-roots v0.19.0
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling prost-types v0.6.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.67
[INFO] [stderr]    Compiling substrate-bip39 v0.4.2
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.67
[INFO] [stderr]    Compiling prost-build v0.6.1
[INFO] [stderr]    Compiling js-sys v0.3.44
[INFO] [stderr]    Compiling tokio-rustls v0.14.1
[INFO] [stderr]    Compiling rustls-native-certs v0.4.0
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling libp2p-core v0.20.1
[INFO] [stderr]    Compiling libp2p-kad v0.21.0
[INFO] [stderr]    Compiling libp2p-noise v0.22.0
[INFO] [stderr]    Compiling libp2p-identify v0.20.0
[INFO] [stderr]    Compiling sc-network v0.8.0-rc6
[INFO] [stderr]    Compiling futures_codec v0.4.1
[INFO] [stderr]    Compiling rw-stream-sink v0.2.1
[INFO] [stderr]    Compiling wasm-timer v0.2.5
[INFO] [stderr]    Compiling soketto v0.4.1
[INFO] [stderr]    Compiling async-tls v0.8.0
[INFO] [stderr]    Compiling yamux v0.4.9
[INFO] [stderr]    Compiling impl-codec v0.4.2
[INFO] [stderr]    Compiling sp-storage v2.0.0-rc6
[INFO] [stderr]    Compiling sp-wasm-interface v2.0.0-rc6
[INFO] [stderr]    Compiling sp-arithmetic v2.0.0-rc6
[INFO] [stderr]    Compiling fork-tree v2.0.0-rc6
[INFO] [stderr]    Compiling unsigned-varint v0.4.0
[INFO] [stderr]    Compiling primitive-types v0.7.2
[INFO] [stderr]    Compiling parity-multiaddr v0.9.2
[INFO] [stderr]    Compiling multistream-select v0.8.2
[INFO] [stderr]    Compiling sp-externalities v0.8.0-rc6
[INFO] [stderr]    Compiling web-sys v0.3.44
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.17
[INFO] [stderr]    Compiling parity-util-mem v0.7.0
[INFO] [stderr]    Compiling sp-runtime-interface v2.0.0-rc6
[INFO] [stderr]    Compiling memory-db v0.24.1
[INFO] [stderr]    Compiling kvdb v0.7.0
[INFO] [stderr]    Compiling sp-database v2.0.0-rc6
[INFO] [stderr]    Compiling hyper v0.13.7
[INFO] [stderr]    Compiling sp-core v2.0.0-rc6
[INFO] [stderr]    Compiling gloo-timers v0.2.1
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling async-std v1.6.3
[INFO] [stderr]    Compiling sp-utils v2.0.0-rc6
[INFO] [stderr]    Compiling sp-trie v2.0.0-rc6
[INFO] [stderr]    Compiling sp-inherents v2.0.0-rc6
[INFO] [stderr]    Compiling sp-allocator v2.0.0-rc6
[INFO] [stderr]    Compiling libp2p-swarm v0.20.1
[INFO] [stderr]    Compiling libp2p-wasm-ext v0.20.1
[INFO] [stderr]    Compiling libp2p-dns v0.20.0
[INFO] [stderr]    Compiling libp2p-mplex v0.20.0
[INFO] [stderr]    Compiling libp2p-yamux v0.20.0
[INFO] [stderr]    Compiling libp2p-websocket v0.21.1
[INFO] [stderr]    Compiling hyper-rustls v0.21.0
[INFO] [stderr]    Compiling sc-executor-common v0.8.0-rc6
[INFO] [stderr]    Compiling sp-state-machine v0.8.0-rc6
[INFO] [stderr]    Compiling libp2p-ping v0.20.0
[INFO] [stderr]    Compiling sc-executor-wasmi v0.8.0-rc6
[INFO] [stderr]    Compiling libp2p-tcp v0.20.0
[INFO] [stderr]    Compiling libp2p-mdns v0.20.0
[INFO] [stderr]    Compiling substrate-prometheus-endpoint v0.8.0-rc6
[INFO] [stderr]    Compiling libp2p v0.23.0
[INFO] [stderr]    Compiling sp-io v2.0.0-rc6
[INFO] [stderr]    Compiling sc-telemetry v2.0.0-rc6
[INFO] [stderr]    Compiling sc-peerset v2.0.0-rc6
[INFO] [stderr]    Compiling sp-application-crypto v2.0.0-rc6
[INFO] [stderr]    Compiling sp-runtime v2.0.0-rc6
[INFO] [stderr]    Compiling sc-keystore v2.0.0-rc6
[INFO] [stderr]    Compiling sp-version v2.0.0-rc6
[INFO] [stderr]    Compiling sp-keyring v2.0.0-rc6
[INFO] [stderr]    Compiling sp-api v2.0.0-rc6
[INFO] [stderr]    Compiling sp-block-builder v2.0.0-rc6
[INFO] [stderr]    Compiling sp-consensus v0.8.0-rc6
[INFO] [stderr]    Compiling sc-executor v0.8.0-rc6
[INFO] [stderr]    Compiling sp-offchain v2.0.0-rc6
[INFO] [stderr]    Compiling sp-blockchain v2.0.0-rc6
[INFO] [stderr]    Compiling sp-transaction-pool v2.0.0-rc6
[INFO] [stderr]    Compiling sc-client-api v2.0.0-rc6
[INFO] [stderr]    Compiling sc-block-builder v0.8.0-rc6
[INFO] [stderr]    Compiling sc-offchain v2.0.0-rc6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5m 45s
[INFO] running `Command { std: "docker" "inspect" "0fa88e1c822bebc7423ad0fde0f2cc9b806821ac9f22cb4103b6b9ec958d004e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fa88e1c822bebc7423ad0fde0f2cc9b806821ac9f22cb4103b6b9ec958d004e", kill_on_drop: false }`
[INFO] [stdout] 0fa88e1c822bebc7423ad0fde0f2cc9b806821ac9f22cb4103b6b9ec958d004e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 048c69c061a47b2a398eb4a8fd61d38b86fc3605981f687885dfaa62c761ffe1
[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" "048c69c061a47b2a398eb4a8fd61d38b86fc3605981f687885dfaa62c761ffe1", kill_on_drop: false }`
[INFO] [stderr]    Compiling sc-offchain v2.0.0-rc6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sc_client_db`
[INFO] [stdout]    --> src/api.rs:294:6
[INFO] [stdout]     |
[INFO] [stdout] 294 |     use sc_client_db::offchain::LocalStorage;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of undeclared type or module `sc_client_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stdout]    --> src/lib.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |     use substrate_test_runtime_client::{TestClient, runtime::Block};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client`
[INFO] [stdout]    --> src/lib.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |     use substrate_test_runtime_client::{TestClient, runtime::Block};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sc_transaction_pool`
[INFO] [stdout]    --> src/lib.rs:213:6
[INFO] [stdout]     |
[INFO] [stdout] 213 |     use sc_transaction_pool::{BasicPool, FullChainApi};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_transaction_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_transaction_pool`
[INFO] [stdout]    --> src/lib.rs:214:6
[INFO] [stdout]     |
[INFO] [stdout] 214 |     use sp_transaction_pool::{TransactionPool, InPoolTransaction};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_transaction_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `lazy_static`
[INFO] [stdout]    --> src/api/http.rs:704:6
[INFO] [stdout]     |
[INFO] [stdout] 704 |     use lazy_static::lazy_static;
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared type or module `lazy_static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `lazy_static`
[INFO] [stdout]    --> src/api/http.rs:708:2
[INFO] [stdout]     |
[INFO] [stdout] 708 |     lazy_static! {
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 747 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 767 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 782 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 826 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 903 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 927 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 948 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stdout]    --> src/api/http.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 721 |                 let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |                              ^^^^^ use of undeclared type or module `tokio`
[INFO] [stdout] ...
[INFO] [stdout] 970 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger`
[INFO] [stdout]    --> src/api.rs:310:11
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let _ = env_logger::try_init();
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared type or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LocalStorage`
[INFO] [stdout]    --> src/api.rs:311:12
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let db = LocalStorage::new_test();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ use of undeclared type or module `LocalStorage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_transaction_pool`
[INFO] [stdout]    --> src/lib.rs:232:7
[INFO] [stdout]     |
[INFO] [stdout] 232 |     impl sp_transaction_pool::OffchainSubmitTransaction<Block> for TestPool {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_transaction_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_transaction_pool`
[INFO] [stdout]    --> src/lib.rs:238:17
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let source = sp_transaction_pool::TransactionSource::Local;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_transaction_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger`
[INFO] [stdout]    --> src/lib.rs:247:11
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let _ = env_logger::try_init();
[INFO] [stdout]     |                 ^^^^^^^^^^ use of undeclared type or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client`
[INFO] [stdout]    --> src/lib.rs:249:25
[INFO] [stdout]     |
[INFO] [stdout] 249 |         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 `sc_client_db`
[INFO] [stdout]    --> src/lib.rs:257:12
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let db = sc_client_db::offchain::LocalStorage::new_test();
[INFO] [stdout]     |                  ^^^^^^^^^^^^ use of undeclared type or module `sc_client_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 747 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 767 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 782 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 826 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 903 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 927 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 948 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SHARED_CLIENT` in this scope
[INFO] [stdout]    --> src/api/http.rs:716:23
[INFO] [stdout]     |
[INFO] [stdout] 716 |             let hyper_client = SHARED_CLIENT.clone();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 970 |         let (mut api, addr) = build_api_server!();
[INFO] [stdout]     |                               ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LocalStorage` in this scope
[INFO] [stdout]    --> src/api.rs:309:28
[INFO] [stdout]     |
[INFO] [stdout] 309 |     fn offchain_api() -> (Api<LocalStorage>, AsyncApi) {
[INFO] [stdout]     |                    -          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: you might be missing a type parameter: `<LocalStorage>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]    --> src/lib.rs:229:42
[INFO] [stdout]     |
[INFO] [stdout] 229 |         Arc<BasicPool<FullChainApi<TestClient, Block>, Block>>
[INFO] [stdout]     |                                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::generic::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::testing::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]    --> src/lib.rs:229:50
[INFO] [stdout]     |
[INFO] [stdout] 229 |         Arc<BasicPool<FullChainApi<TestClient, Block>, Block>>
[INFO] [stdout]     |                                                        ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::generic::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::testing::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]    --> src/lib.rs:232:54
[INFO] [stdout]     |
[INFO] [stdout] 232 |     impl sp_transaction_pool::OffchainSubmitTransaction<Block> for TestPool {
[INFO] [stdout]     |                                                         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::generic::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::testing::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]    --> src/lib.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |             at: &BlockId<Block>,
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::generic::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::testing::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Block` in this scope
[INFO] [stdout]    --> src/lib.rs:236:16
[INFO] [stdout]     |
[INFO] [stdout] 236 |             extrinsic: <Block as traits::Block>::Extrinsic,
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::generic::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::testing::Block;
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use sp_runtime::traits::Block;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SharedClient`
[INFO] [stdout]    --> src/api/http.rs:701:20
[INFO] [stdout]     |
[INFO] [stdout] 701 |     use super::{http, SharedClient};
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 36 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sc-offchain`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "048c69c061a47b2a398eb4a8fd61d38b86fc3605981f687885dfaa62c761ffe1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "048c69c061a47b2a398eb4a8fd61d38b86fc3605981f687885dfaa62c761ffe1", kill_on_drop: false }`
[INFO] [stdout] 048c69c061a47b2a398eb4a8fd61d38b86fc3605981f687885dfaa62c761ffe1
