[INFO] fetching crate sc-offchain 2.0.0-alpha.6... [INFO] testing sc-offchain-2.0.0-alpha.6 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate sc-offchain 2.0.0-alpha.6 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate sc-offchain 2.0.0-alpha.6 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 00dccb5f594d553d6f06766077ace7be0bb920599cbdbeacba6fc7a74ada22a2 [INFO] running `"docker" "start" "-a" "00dccb5f594d553d6f06766077ace7be0bb920599cbdbeacba6fc7a74ada22a2"` [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling libp2p-core-derive v0.18.0 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling paste v0.1.10 [INFO] [stderr] Compiling linked_hash_set v0.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.60 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling x25519-dalek v0.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.60 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling js-sys v0.3.37 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling tracing v0.1.13 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling futures_codec v0.3.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling soketto v0.3.2 [INFO] [stderr] Compiling yamux v0.4.5 [INFO] [stderr] Compiling async-tls v0.7.0 [INFO] [stderr] Compiling sp-utils v2.0.0-alpha.6 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling libp2p-core v0.18.0 [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 multihash v0.10.1 [INFO] [stderr] Compiling multistream-select v0.8.0 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling parity-multiaddr v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling erased-serde v0.3.11 [INFO] [stderr] Compiling sp-storage v2.0.0-alpha.6 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.10 [INFO] [stderr] Compiling sp-externalities v0.8.0-alpha.6 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling sp-serializer v2.0.0-alpha.6 [INFO] [stderr] Compiling futures-diagnose v1.0.1 [INFO] [stderr] Compiling 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.6 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.6 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-alpha.6 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling libp2p-swarm v0.18.1 [INFO] [stderr] Compiling libp2p-yamux v0.18.0 [INFO] [stderr] Compiling libp2p-websocket v0.18.0 [INFO] [stderr] Compiling libp2p-dns v0.18.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.18.0 [INFO] [stderr] Compiling libp2p-mplex v0.18.0 [INFO] [stderr] Compiling libp2p-tcp v0.18.0 [INFO] [stderr] Compiling libp2p-mdns v0.18.0 [INFO] [stderr] Compiling libp2p-ping v0.18.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling libp2p v0.18.1 [INFO] [stderr] Compiling sc-telemetry v2.0.0-alpha.6 [INFO] [stderr] Compiling sc-peerset v2.0.0-alpha.6 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-alpha.6 [INFO] [stderr] Compiling fork-tree v2.0.0-alpha.6 [INFO] [stderr] Compiling primitive-types v0.7.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-alpha.6 [INFO] [stderr] Compiling memory-db v0.20.1 [INFO] [stderr] Compiling kvdb v0.5.0 [INFO] [stderr] Compiling sp-core v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-trie v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-inherents v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-allocator v2.0.0-alpha.6 [INFO] [stderr] Compiling sc-executor-common v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-state-machine v0.8.0-alpha.6 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-io v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-runtime v2.0.0-alpha.6 [INFO] [stderr] Compiling sc-keystore v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-version v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-keyring v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-consensus-vrf v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-api v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-consensus v0.8.0-alpha.6 [INFO] [stderr] Compiling sc-executor v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-block-builder v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-timestamp v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-offchain v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-blockchain v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-consensus-babe v0.8.0-alpha.6 [INFO] [stderr] Compiling sc-client-api v2.0.0-alpha.6 [INFO] [stderr] Compiling sc-block-builder v0.8.0-alpha.6 [INFO] [stderr] Compiling sc-client v0.8.0-alpha.6 [INFO] [stderr] Compiling sc-offchain v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 17s [INFO] running `"docker" "inspect" "00dccb5f594d553d6f06766077ace7be0bb920599cbdbeacba6fc7a74ada22a2"` [INFO] running `"docker" "rm" "-f" "00dccb5f594d553d6f06766077ace7be0bb920599cbdbeacba6fc7a74ada22a2"` [INFO] [stdout] 00dccb5f594d553d6f06766077ace7be0bb920599cbdbeacba6fc7a74ada22a2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 64a61dee7797b64a222ebb0a61cc0aab9adbfda2afd315c82efd62418757cfc1 [INFO] running `"docker" "start" "-a" "64a61dee7797b64a222ebb0a61cc0aab9adbfda2afd315c82efd62418757cfc1"` [INFO] [stderr] Compiling 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] running `"docker" "inspect" "64a61dee7797b64a222ebb0a61cc0aab9adbfda2afd315c82efd62418757cfc1"` [INFO] running `"docker" "rm" "-f" "64a61dee7797b64a222ebb0a61cc0aab9adbfda2afd315c82efd62418757cfc1"` [INFO] [stdout] 64a61dee7797b64a222ebb0a61cc0aab9adbfda2afd315c82efd62418757cfc1