[INFO] fetching crate ethers-providers 0.2.2... [INFO] testing ethers-providers-0.2.2 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate ethers-providers 0.2.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate ethers-providers 0.2.2 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-providers 0.2.2 [INFO] finished tweaking crates.io crate ethers-providers 0.2.2 [INFO] tweaked toml for crates.io crate ethers-providers 0.2.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2042caf9025c5aabae01ab291c1597880b182135e05566ba05a7c4db5dc181a5 [INFO] running `Command { std: "docker" "start" "-a" "2042caf9025c5aabae01ab291c1597880b182135e05566ba05a7c4db5dc181a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2042caf9025c5aabae01ab291c1597880b182135e05566ba05a7c4db5dc181a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2042caf9025c5aabae01ab291c1597880b182135e05566ba05a7c4db5dc181a5", kill_on_drop: false }` [INFO] [stdout] 2042caf9025c5aabae01ab291c1597880b182135e05566ba05a7c4db5dc181a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 396cc15f5cf7bc222fa470cb94e6dd430be9cbf8f90edab185f5e15edf881c39 [INFO] running `Command { std: "docker" "start" "-a" "396cc15f5cf7bc222fa470cb94e6dd430be9cbf8f90edab185f5e15edf881c39", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling elliptic-curve v0.9.12 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling rlp v0.5.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling 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] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi-next v13.3.0 [INFO] [stderr] Compiling ethers-core v0.2.2 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling ethers-providers v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "396cc15f5cf7bc222fa470cb94e6dd430be9cbf8f90edab185f5e15edf881c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396cc15f5cf7bc222fa470cb94e6dd430be9cbf8f90edab185f5e15edf881c39", kill_on_drop: false }` [INFO] [stdout] 396cc15f5cf7bc222fa470cb94e6dd430be9cbf8f90edab185f5e15edf881c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6b7e39d3b5812e9ae7f27d676f0bec4d2507a390519f19292b5dd8d266dc1b5 [INFO] running `Command { std: "docker" "start" "-a" "c6b7e39d3b5812e9ae7f27d676f0bec4d2507a390519f19292b5dd8d266dc1b5", kill_on_drop: false }` [INFO] [stderr] Compiling ethers-providers v0.2.2 (/opt/rustwide/workdir) [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: could not find `test` in `tokio` [INFO] [stdout] --> tests/txpool.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/provider.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/provider.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/provider.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/provider.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/provider.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [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[E0433]: failed to resolve: use of undeclared type `SignerMiddleware` [INFO] [stdout] --> tests/provider.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | 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:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | 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 `Provider` [INFO] [stdout] --> tests/provider.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | 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:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | 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:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | .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:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | .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:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | .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:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | .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:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | .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:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | .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 `Ws` [INFO] [stdout] --> tests/provider.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | 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:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | 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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | 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:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | 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:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | 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:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | 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:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | 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:90:22 [INFO] [stdout] | [INFO] [stdout] 84 | async fn pending_txs_with_confirmations_testnet() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 90 | .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:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | 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:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | 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] 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: aborting due to 33 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/transports/ws.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/transports/ws.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/transports/mock.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/transports/mock.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/transports/mock.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/transports/mock.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:793:14 [INFO] [stdout] | [INFO] [stdout] 793 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:817:14 [INFO] [stdout] | [INFO] [stdout] 817 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:843:14 [INFO] [stdout] | [INFO] [stdout] 843 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:868:14 [INFO] [stdout] | [INFO] [stdout] 868 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:895:14 [INFO] [stdout] | [INFO] [stdout] 895 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:925:14 [INFO] [stdout] | [INFO] [stdout] 925 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/provider.rs:960:14 [INFO] [stdout] | [INFO] [stdout] 960 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 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" "c6b7e39d3b5812e9ae7f27d676f0bec4d2507a390519f19292b5dd8d266dc1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b7e39d3b5812e9ae7f27d676f0bec4d2507a390519f19292b5dd8d266dc1b5", kill_on_drop: false }` [INFO] [stdout] c6b7e39d3b5812e9ae7f27d676f0bec4d2507a390519f19292b5dd8d266dc1b5