[INFO] fetching crate ethers-providers 0.4.6... [INFO] checking ethers-providers-0.4.6 against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] extracting crate ethers-providers 0.4.6 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ethers-providers 0.4.6 on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-providers 0.4.6 [INFO] finished tweaking crates.io crate ethers-providers 0.4.6 [INFO] tweaked toml for crates.io crate ethers-providers 0.4.6 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0d0de4906503bb8665cd5ec11a266b947fc59b453c3242da63dcfec2d64d4fd [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" "c0d0de4906503bb8665cd5ec11a266b947fc59b453c3242da63dcfec2d64d4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d0de4906503bb8665cd5ec11a266b947fc59b453c3242da63dcfec2d64d4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d0de4906503bb8665cd5ec11a266b947fc59b453c3242da63dcfec2d64d4fd", kill_on_drop: false }` [INFO] [stdout] c0d0de4906503bb8665cd5ec11a266b947fc59b453c3242da63dcfec2d64d4fd [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2ef19bd916931faf0cc214c6b2173a3e98f056880de317d71eb6325c25fa64ac [INFO] running `Command { std: "docker" "start" "-a" "2ef19bd916931faf0cc214c6b2173a3e98f056880de317d71eb6325c25fa64ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking crypto-bigint v0.2.4 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking ethers-core v0.4.6 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking ethers-providers v0.4.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/transports/ipc.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use ethers::utils::Geth; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Geth` [INFO] [stdout] --> src/transports/ipc.rs:349:21 [INFO] [stdout] | [INFO] [stdout] 349 | let _geth = Geth::new().block_time(1u64).ipc_path(&path).spawn(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 340 | use crate::stream::tests::Geth; [INFO] [stdout] | [INFO] [stdout] 340 | use ethers_core::utils::Geth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Geth` [INFO] [stdout] --> src/transports/ipc.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | let _geth = Geth::new().block_time(2u64).ipc_path(&path).spawn(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 340 | use crate::stream::tests::Geth; [INFO] [stdout] | [INFO] [stdout] 340 | use ethers_core::utils::Geth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/txpool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/provider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::providers::{Http, Middleware, Provider}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/provider.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/provider.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | use ethers::providers::Ws; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/provider.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignerMiddleware` [INFO] [stdout] --> tests/provider.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let provider = SignerMiddleware::new(provider, wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignerMiddleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/provider.rs:144:72 [INFO] [stdout] | [INFO] [stdout] 144 | async fn generic_pending_txs_test(provider: M, who: ethers::types::Address) { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignerMiddleware` [INFO] [stdout] --> tests/provider.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let provider = SignerMiddleware::new(provider, wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignerMiddleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/provider.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> tests/provider.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | .get_transaction(H256::zero()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> tests/provider.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | .get_transaction_receipt(H256::zero()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> tests/provider.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | .get_block(BlockId::Hash(H256::zero())) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::BlockId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> tests/provider.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | .get_block(BlockId::Hash(H256::zero())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> tests/provider.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | .get_block_with_txs(BlockId::Hash(H256::zero())) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::BlockId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> tests/provider.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | .get_block_with_txs(BlockId::Hash(H256::zero())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/provider.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ws` [INFO] [stdout] --> tests/provider.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let ws = Ws::connect("wss://rinkeby.infura.io/ws/v3/c60b0bb42f8a4c6481ecd229eddaca27") [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Ws; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let provider = Provider::new(ws); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> tests/provider.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let ganache = Ganache::new().block_time(2u64).spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let provider = Provider::new(Ws::new(ws)).interval(Duration::from_millis(500u64)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ws` [INFO] [stdout] --> tests/provider.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | let provider = Provider::new(Ws::new(ws)).interval(Duration::from_millis(500u64)); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Ws; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/provider.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 85 | let _blocks = stream.take(3usize).collect::>().await; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> tests/provider.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let ganache = Ganache::new().block_time(2u64).spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let provider = Provider::::try_from(ganache.endpoint()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/provider.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | let provider = Provider::::try_from(ganache.endpoint()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/provider.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalWallet` in this scope [INFO] [stdout] --> tests/provider.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 100 | async fn pending_txs_with_confirmations_testnet() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 107 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Middleware` in this scope [INFO] [stdout] --> tests/provider.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | async fn generic_pending_txs_test(provider: M, who: ethers::types::Address) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest` [INFO] [stdout] --> tests/provider.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let tx = TransactionRequest::new().to(who).from(who); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::TransactionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/provider.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/provider.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | let provider = Provider::::try_from( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalWallet` in this scope [INFO] [stdout] --> tests/provider.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 154 | async fn typed_txs() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 163 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Middleware` in this scope [INFO] [stdout] --> tests/provider.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | async fn check_tx(provider: &M, tx: TypedTransaction, expected: u64) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_providers::Middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypedTransaction` in this scope [INFO] [stdout] --> tests/provider.rs:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | async fn check_tx(provider: &M, tx: TypedTransaction, expected: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::transaction::eip2718::TypedTransaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypedTransaction` in this scope [INFO] [stdout] --> tests/provider.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let tx: TypedTransaction = TransactionRequest::new().from(address).to(address).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::transaction::eip2718::TypedTransaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest` [INFO] [stdout] --> tests/provider.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | let tx: TypedTransaction = TransactionRequest::new().from(address).to(address).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::TransactionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypedTransaction` in this scope [INFO] [stdout] --> tests/provider.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let tx: TypedTransaction = TransactionRequest::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::transaction::eip2718::TypedTransaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest` [INFO] [stdout] --> tests/provider.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let tx: TypedTransaction = TransactionRequest::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::TransactionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypedTransaction` in this scope [INFO] [stdout] --> tests/provider.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let tx: TypedTransaction = Eip1559TransactionRequest::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use ethers_core::types::transaction::eip2718::TypedTransaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> tests/provider.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{convert::TryFrom, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Geth` [INFO] [stdout] --> tests/txpool.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let geth = Geth::new().block_time(20u64).spawn(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_core::utils::Geth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/txpool.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let provider = Provider::::try_from(geth.endpoint()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/txpool.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let provider = Provider::::try_from(geth.endpoint()).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/txpool.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | let gas_price = ethers::types::U256::from_dec_str("221435145689").unwrap(); [INFO] [stdout] | ^^^^ not found in `ethers::types` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest` [INFO] [stdout] --> tests/txpool.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let mut tx = TransactionRequest::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_core::types::TransactionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> tests/txpool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers-providers` due to 42 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2ef19bd916931faf0cc214c6b2173a3e98f056880de317d71eb6325c25fa64ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef19bd916931faf0cc214c6b2173a3e98f056880de317d71eb6325c25fa64ac", kill_on_drop: false }` [INFO] [stdout] 2ef19bd916931faf0cc214c6b2173a3e98f056880de317d71eb6325c25fa64ac