[INFO] fetching crate ethers-contract 0.2.0... [INFO] checking ethers-contract-0.2.0 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate ethers-contract 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ethers-contract 0.2.0 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-contract 0.2.0 [INFO] finished tweaking crates.io crate ethers-contract 0.2.0 [INFO] tweaked toml for crates.io crate ethers-contract 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afce5083df6c81f9ebc2722ebb8bc3f3b7ddeebf23cb8ccbaa05d2ccc079a01c [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" "afce5083df6c81f9ebc2722ebb8bc3f3b7ddeebf23cb8ccbaa05d2ccc079a01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afce5083df6c81f9ebc2722ebb8bc3f3b7ddeebf23cb8ccbaa05d2ccc079a01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afce5083df6c81f9ebc2722ebb8bc3f3b7ddeebf23cb8ccbaa05d2ccc079a01c", kill_on_drop: false }` [INFO] [stdout] afce5083df6c81f9ebc2722ebb8bc3f3b7ddeebf23cb8ccbaa05d2ccc079a01c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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] bf21da5dd39f65c36045fe81df0b85039f021923c188b855577890adbb9d589a [INFO] running `Command { std: "docker" "start" "-a" "bf21da5dd39f65c36045fe81df0b85039f021923c188b855577890adbb9d589a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling radium v0.4.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking futures-channel v0.3.12 [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] Checking bitvec v0.17.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking bitvec v0.18.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking ff v0.8.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking group v0.8.0 [INFO] [stderr] Checking elliptic-curve v0.8.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Checking ecdsa v0.10.2 [INFO] [stderr] Checking k256 v0.7.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking parity-scale-codec v1.3.6 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rlp v0.5.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking ethbloom v0.10.0 [INFO] [stderr] Checking eth-keystore v0.1.0 [INFO] [stderr] Checking serde-aux v2.1.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-util v0.6.2 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.8.0 [INFO] [stderr] Checking ethereum-types v0.10.0 [INFO] [stderr] Checking ethabi-next v13.0.0 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking ethers-core v0.2.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.0 [INFO] [stderr] Checking ethers-signers v0.2.0 [INFO] [stderr] Checking ethers-providers v0.2.0 [INFO] [stderr] Checking ethers-middleware v0.2.0 [INFO] [stderr] Checking ethers-contract v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::{contract::ContractFactory, types::H256}; [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/contract.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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 `Ganache` [INFO] [stdout] --> tests/contract.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let ganache = Ganache::new().spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContractFactory` [INFO] [stdout] --> tests/contract.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let factory = ContractFactory::new(abi, bytecode, client.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_contract::ContractFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | let last_sender = contract.method::<_, Address>("lastSender", ()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | .method::<_, H256>("setValue", "hi".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | .method::<_, Address>("lastSender", ()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> tests/contract.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(init_address, Address::zero()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | .method::<_, H256>("setValues", ("hi".to_owned(), "bye".to_owned())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | 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/contract.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let ganache = Ganache::new().spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | .method::<_, H256>("setValue", "hi".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | 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/contract.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | let ganache = Ganache::new().spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | 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/contract.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let ws = Provider::connect(ganache.ws_endpoint()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Provider; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | .method::<_, H256>("setValue", i.to_string()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | 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/contract.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | let ganache = Ganache::new().spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | 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/contract.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let provider = Provider::::try_from(ganache.endpoint()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Provider; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Http` in this scope [INFO] [stdout] --> tests/contract.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | let provider = Provider::::try_from(ganache.endpoint()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Http; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_providers::Http; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | .method::<_, H256>("setValue", "hi".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | 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/contract.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | let ganache = Ganache::new().spawn(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContractFactory` [INFO] [stdout] --> tests/contract.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | ContractFactory::new(multicall_abi, multicall_bytecode, client.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_contract::ContractFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContractFactory` [INFO] [stdout] --> tests/contract.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let simple_factory = ContractFactory::new(abi.clone(), bytecode.clone(), client2.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_contract::ContractFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContractFactory` [INFO] [stdout] --> tests/contract.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | ContractFactory::new(not_so_simple_abi, not_so_simple_bytecode, client3.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_contract::ContractFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | .method::<_, H256>("setValue", "reset first".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:255:26 [INFO] [stdout] | [INFO] [stdout] 255 | .method::<_, H256>("setValue", "reset second".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | .method::<_, (String, Address)>("getValues", ()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | .method::<_, Address>("lastSender", ()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | .method::<_, Address>("lastSender", ()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multicall` [INFO] [stdout] --> tests/contract.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | let mut multicall = Multicall::new(client4.clone(), Some(addr)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_contract::Multicall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:282:44 [INFO] [stdout] | [INFO] [stdout] 282 | let return_data: (String, (String, Address), Address, Address) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:282:54 [INFO] [stdout] | [INFO] [stdout] 282 | let return_data: (String, (String, Address), Address, Address) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:282:63 [INFO] [stdout] | [INFO] [stdout] 282 | let return_data: (String, (String, Address), Address, Address) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | .method::<_, H256>("setValue", "first reset again".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | .method::<_, H256>("setValue", "second reset again".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PendingTransaction` [INFO] [stdout] --> tests/contract.rs:313:27 [INFO] [stdout] | [INFO] [stdout] 313 | let _tx_receipt = PendingTransaction::new(tx_hash, client.provider()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_providers::PendingTransaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:321:44 [INFO] [stdout] | [INFO] [stdout] 321 | let return_data: (String, (String, Address), Address, Address) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:321:54 [INFO] [stdout] | [INFO] [stdout] 321 | let return_data: (String, (String, Address), Address, Address) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:321:63 [INFO] [stdout] | [INFO] [stdout] 321 | let return_data: (String, (String, Address), Address, Address) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/contract.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | let balances: (U256, U256, U256) = multicall.call().await.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/contract.rs:339:30 [INFO] [stdout] | [INFO] [stdout] 339 | let balances: (U256, U256, U256) = multicall.call().await.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/contract.rs:339:36 [INFO] [stdout] | [INFO] [stdout] 339 | let balances: (U256, U256, U256) = multicall.call().await.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> tests/contract.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(balances.0, U256::from(100000000000000000000u128)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> tests/contract.rs:341:32 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(balances.1, U256::from(100000000000000000000u128)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> tests/contract.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(balances.2, U256::from(100000000000000000000u128)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> tests/contract.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{convert::TryFrom, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_transaction` found for struct `Arc, Wallet>>` in the current scope [INFO] [stdout] --> tests/contract.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let tx = client.get_transaction(*pending_tx).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Arc, Wallet>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-providers-0.2.0/src/lib.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | async fn get_transaction>( [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `Box, Wallet>>>` here [INFO] [stdout] | the method is available for `Arc, Wallet>>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ethers_providers::Middleware;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `ethers_contract::stream::EventStream<'_, FilterWatcher<'_, Http, ethers_core::types::Log>, common::ValueChanged, ContractError, Wallet>>>` in the current scope [INFO] [stdout] --> tests/contract.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | let log = stream.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^ method not found in `ethers_contract::stream::EventStream<'_, FilterWatcher<'_, Http, ethers_core::types::Log>, common::ValueChanged, ContractError, Wallet>>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use std::iter::Iterator;` [INFO] [stdout] candidate #2: `use std::str::pattern::Searcher;` [INFO] [stdout] candidate #3: `use serde_json::read::Read;` [INFO] [stdout] candidate #4: `use ethers_providers::StreamExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `ethers_contract::stream::EventStream<'_, SubscriptionStream<'_, _, ethers_core::types::Log>, common::ValueChanged, ContractError<_>>` in the current scope [INFO] [stdout] --> tests/contract.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | let log2 = subscription.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^ method not found in `ethers_contract::stream::EventStream<'_, SubscriptionStream<'_, _, ethers_core::types::Log>, common::ValueChanged, ContractError<_>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use std::iter::Iterator;` [INFO] [stdout] candidate #2: `use std::str::pattern::Searcher;` [INFO] [stdout] candidate #3: `use serde_json::read::Read;` [INFO] [stdout] candidate #4: `use ethers_providers::StreamExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `provider` found for struct `Arc, Wallet>>` in the current scope [INFO] [stdout] --> tests/contract.rs:313:67 [INFO] [stdout] | [INFO] [stdout] 313 | let _tx_receipt = PendingTransaction::new(tx_hash, client.provider()) [INFO] [stdout] | ^^^^^^^^ method not found in `Arc, Wallet>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethers-providers-0.2.0/src/lib.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn provider(&self) -> &Provider { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `Box, Wallet>>>` here [INFO] [stdout] | the method is available for `Arc, Wallet>>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ethers_providers::Middleware;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers-contract` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bf21da5dd39f65c36045fe81df0b85039f021923c188b855577890adbb9d589a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf21da5dd39f65c36045fe81df0b85039f021923c188b855577890adbb9d589a", kill_on_drop: false }` [INFO] [stdout] bf21da5dd39f65c36045fe81df0b85039f021923c188b855577890adbb9d589a