[INFO] fetching crate ethers-providers 0.2.2... [INFO] testing ethers-providers-0.2.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [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 ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 868fed3f597e57f675042a10280cbc9fde193bf0d0dc4745ec55b87564637760 [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" "868fed3f597e57f675042a10280cbc9fde193bf0d0dc4745ec55b87564637760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "868fed3f597e57f675042a10280cbc9fde193bf0d0dc4745ec55b87564637760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868fed3f597e57f675042a10280cbc9fde193bf0d0dc4745ec55b87564637760", kill_on_drop: false }` [INFO] [stdout] 868fed3f597e57f675042a10280cbc9fde193bf0d0dc4745ec55b87564637760 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb12ba7316829602ff46ca6c68357f52f42082bbc2c1f4a895c7fa00c73d1198 [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" "eb12ba7316829602ff46ca6c68357f52f42082bbc2c1f4a895c7fa00c73d1198", 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.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [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 tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [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 signature v1.2.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [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 rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.25 [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 impl-serde v0.3.1 [INFO] [stderr] Compiling parity-scale-codec v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [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 impl-codec v0.5.0 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling ethabi-next v13.3.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 h2 v0.3.3 [INFO] [stderr] Compiling ethers-core v0.2.2 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling ethers-providers v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "eb12ba7316829602ff46ca6c68357f52f42082bbc2c1f4a895c7fa00c73d1198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb12ba7316829602ff46ca6c68357f52f42082bbc2c1f4a895c7fa00c73d1198", kill_on_drop: false }` [INFO] [stdout] eb12ba7316829602ff46ca6c68357f52f42082bbc2c1f4a895c7fa00c73d1198 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d28dbd02d815fb463b20f1fdb876ab875eec661a73fb9c4b68e7f7526a0ac16 [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" "8d28dbd02d815fb463b20f1fdb876ab875eec661a73fb9c4b68e7f7526a0ac16", 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/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 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 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[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 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" "8d28dbd02d815fb463b20f1fdb876ab875eec661a73fb9c4b68e7f7526a0ac16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d28dbd02d815fb463b20f1fdb876ab875eec661a73fb9c4b68e7f7526a0ac16", kill_on_drop: false }` [INFO] [stdout] 8d28dbd02d815fb463b20f1fdb876ab875eec661a73fb9c4b68e7f7526a0ac16