[INFO] fetching crate ethers-contract 0.4.7... [INFO] checking ethers-contract-0.4.7 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ethers-contract 0.4.7 into /workspace/builds/worker-35/source [INFO] validating manifest of crates.io crate ethers-contract 0.4.7 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-contract 0.4.7 [INFO] finished tweaking crates.io crate ethers-contract 0.4.7 [INFO] tweaked toml for crates.io crate ethers-contract 0.4.7 written to /workspace/builds/worker-35/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5131769d9db6df15cfe22315b094f36cb60dd0269701c3d721c32b0ac9608ad7 [INFO] running `Command { std: "docker" "start" "-a" "5131769d9db6df15cfe22315b094f36cb60dd0269701c3d721c32b0ac9608ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5131769d9db6df15cfe22315b094f36cb60dd0269701c3d721c32b0ac9608ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5131769d9db6df15cfe22315b094f36cb60dd0269701c3d721c32b0ac9608ad7", kill_on_drop: false }` [INFO] [stdout] 5131769d9db6df15cfe22315b094f36cb60dd0269701c3d721c32b0ac9608ad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 341792bf08e7a7ec037e9d49f7bcde0e3767644985471ae6492cbd739a3e82fa [INFO] running `Command { std: "docker" "start" "-a" "341792bf08e7a7ec037e9d49f7bcde0e3767644985471ae6492cbd739a3e82fa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] serde v1.0.128 (as host dependency): alloc, derive, serde_derive [INFO] [stderr] tokio v1.10.0: macros, tokio-macros, winapi [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking anyhow v1.0.43 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking tracing v0.1.26 [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 unicode-normalization v0.1.19 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking crypto-bigint v0.2.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking elliptic-curve v0.10.5 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking ethers-core v0.4.6 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking ethers-providers v0.4.6 [INFO] [stderr] Checking ethers-contract v0.4.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/abigen.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/contract.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `ethers_contract::abigen` [INFO] [stdout] --> tests/abigen.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_contract::{abigen, EthEvent}; [INFO] [stdout] | ^^^^^^ no `abigen` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `abigen` [INFO] [stdout] --> tests/abigen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | abigen!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `abigen` [INFO] [stdout] --> tests/abigen.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | abigen!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueChangedFilter` [INFO] [stdout] --> tests/abigen.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!("ValueChanged", ValueChangedFilter::name()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ValueChangedFilter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueChangedFilter` [INFO] [stdout] --> tests/abigen.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ValueChangedFilter::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ValueChangedFilter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Addresses` [INFO] [stdout] --> tests/abigen.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(value, Addresses::from_token(token).unwrap()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueChangedFilter` [INFO] [stdout] --> tests/abigen.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!("ValueChanged", ValueChangedFilter::name()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ValueChangedFilter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueChangedFilter` [INFO] [stdout] --> tests/abigen.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ValueChangedFilter::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ValueChangedFilter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Addresses` in this scope [INFO] [stdout] --> tests/abigen.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let value = Addresses { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthEvent` [INFO] [stdout] --> tests/abigen.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_contract::{abigen, EthEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers_core::abi::Tokenizable` [INFO] [stdout] --> tests/abigen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers_core::abi::Tokenizable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers-contract` due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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::{ [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/common/derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::core::types::{H160, H256, I256, U128, U256}; [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_middleware` [INFO] [stdout] --> tests/common/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ethers_middleware::signer::SignerMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `ethers_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ethers_contract::abigen`, `ethers_contract::EthAbiType` [INFO] [stdout] --> tests/common/derive.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_contract::{abigen, EthAbiType, EthEvent, EthLogDecode}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ no `EthAbiType` in the root [INFO] [stdout] | | [INFO] [stdout] | no `abigen` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/contract.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use ethers::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ethers_signers` [INFO] [stdout] --> tests/common/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_signers::{LocalWallet, Signer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `ethers_signers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `EthAbiType` [INFO] [stdout] --> tests/common/derive.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, PartialEq, EthAbiType)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `EthAbiType` [INFO] [stdout] --> tests/common/derive.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone, PartialEq, EthAbiType)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `EthAbiType` [INFO] [stdout] --> tests/common/derive.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone, PartialEq, EthAbiType)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `EthAbiType` [INFO] [stdout] --> tests/common/derive.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, EthAbiType)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, Clone, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/derive.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[ethevent(name = "MyEvent")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `EthAbiType` [INFO] [stdout] --> tests/common/derive.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | #[derive(Debug, Clone, PartialEq, EthAbiType)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/derive.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | #[ethevent(abi = "ValueChangedEvent(address,(address,string),string)")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/derive.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 183 | #[ethevent( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/derive.rs:202:7 [INFO] [stdout] | [INFO] [stdout] 202 | #[ethevent(anonymous)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/derive.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | #[ethevent(indexed, name = "newAuthor")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `abigen` [INFO] [stdout] --> tests/common/derive.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | abigen!(DsProxyFactory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/derive.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | #[ethevent(indexed)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/derive.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | #[derive(Debug, PartialEq, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EthEvent` in this scope [INFO] [stdout] --> tests/common/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, EthEvent)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[ethevent(indexed)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ethevent` in this scope [INFO] [stdout] --> tests/common/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[ethevent(indexed)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreatedFilter` [INFO] [stdout] --> tests/common/derive.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | CreatedFilter::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CreatedFilter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreatedFilter` [INFO] [stdout] --> tests/common/derive.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | CreatedFilter::signature() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CreatedFilter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignerMiddleware` [INFO] [stdout] --> tests/common/mod.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | Arc::new(SignerMiddleware::new(provider, wallet)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignerMiddleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/common/derive.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | h1: H256, [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::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `I256` in this scope [INFO] [stdout] --> tests/common/derive.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | i256: I256, [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::I256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/common/derive.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | u256: U256, [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::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H160` in this scope [INFO] [stdout] --> tests/common/derive.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | h160: H160, [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::H160; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U128` in this scope [INFO] [stdout] --> tests/common/derive.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | u128: U128, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 142 | u128: u128, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_core::types::U128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `H256` in this scope [INFO] [stdout] --> tests/common/derive.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | H256([ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/common/derive.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | repay_amount: U256, [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::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/common/derive.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | seize_tokens: U256, [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::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U256` in this scope [INFO] [stdout] --> tests/common/derive.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | param1: U256, [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::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SignerMiddleware` in this scope [INFO] [stdout] --> tests/common/mod.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | type HttpWallet = SignerMiddleware, LocalWallet>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> tests/contract.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 11 | 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:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | 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] 11 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 11 | 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:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | .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] 11 | 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:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | .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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | .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] 11 | 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:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | 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] 11 | 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:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | .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] 11 | 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:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | 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] 11 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogMeta` in this scope [INFO] [stdout] --> tests/contract.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | let logs: Vec<(ValueChanged, LogMeta)> = contract [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_contract::LogMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> tests/contract.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | 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] 11 | 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:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | .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] 11 | 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/contract.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | .block(BlockId::Number(deployed_block.into())) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::types::BlockId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Provider` [INFO] [stdout] --> tests/contract.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let provider = Provider::::try_from("http://localhost:8545").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::Provider; [INFO] [stdout] | [INFO] [stdout] 11 | 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:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | let provider = Provider::::try_from("http://localhost:8545").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::Http; [INFO] [stdout] | [INFO] [stdout] 11 | 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:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | .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] 11 | 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/contract.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | .block(BlockId::Hash(hash)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::types::BlockId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> tests/contract.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | 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] 11 | 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:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | 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] 11 | use crate::common::Provider; [INFO] [stdout] | [INFO] [stdout] 11 | 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:317:30 [INFO] [stdout] | [INFO] [stdout] 317 | .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] 11 | 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:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | 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] 11 | 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:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | 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] 11 | use crate::common::Provider; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_providers::Provider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> tests/contract.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let filter = Filter::new().address(ValueOrArray::Array(vec![ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueOrArray` [INFO] [stdout] --> tests/contract.rs:353:44 [INFO] [stdout] | [INFO] [stdout] 353 | let filter = Filter::new().address(ValueOrArray::Array(vec![ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::types::ValueOrArray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | .method::<_, H256>("setValue", "1".to_string()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | 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:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | .method::<_, H256>("setValue", "2".to_string()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | 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:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | 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] 11 | 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:388:24 [INFO] [stdout] | [INFO] [stdout] 388 | 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] 11 | use crate::common::Provider; [INFO] [stdout] | [INFO] [stdout] 11 | 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:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | 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] 11 | use crate::common::Http; [INFO] [stdout] | [INFO] [stdout] 11 | 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:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | .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] 11 | 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:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | 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] 11 | 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:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | 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] 11 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 11 | 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:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | 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] 11 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 11 | 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | 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] 11 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 11 | 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:476:26 [INFO] [stdout] | [INFO] [stdout] 476 | .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] 11 | 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:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | .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] 11 | 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:494:35 [INFO] [stdout] | [INFO] [stdout] 494 | .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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:497:26 [INFO] [stdout] | [INFO] [stdout] 497 | .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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | .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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | 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] 11 | 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:512:44 [INFO] [stdout] | [INFO] [stdout] 512 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:512:54 [INFO] [stdout] | [INFO] [stdout] 512 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:512:63 [INFO] [stdout] | [INFO] [stdout] 512 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:524:26 [INFO] [stdout] | [INFO] [stdout] 524 | .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] 11 | 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:528:26 [INFO] [stdout] | [INFO] [stdout] 528 | .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] 11 | 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:543:27 [INFO] [stdout] | [INFO] [stdout] 543 | 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] 11 | 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:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:551:54 [INFO] [stdout] | [INFO] [stdout] 551 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:551:63 [INFO] [stdout] | [INFO] [stdout] 551 | 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] 11 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 11 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 11 | 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:569:24 [INFO] [stdout] | [INFO] [stdout] 569 | 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] 11 | 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:569:30 [INFO] [stdout] | [INFO] [stdout] 569 | 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] 11 | 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:569:36 [INFO] [stdout] | [INFO] [stdout] 569 | 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] 11 | 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:570:32 [INFO] [stdout] | [INFO] [stdout] 570 | 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] 11 | 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:571:32 [INFO] [stdout] | [INFO] [stdout] 571 | 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] 11 | 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:572:32 [INFO] [stdout] | [INFO] [stdout] 572 | 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] 11 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> tests/contract.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | 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[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | .query() [INFO] [stdout] | ^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | .topic1(client.address()) // Corresponds to the first indexed parameter [INFO] [stdout] | ^^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | .from_block(0u64) [INFO] [stdout] | ^^^^^^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | .event() [INFO] [stdout] | ^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | .query() [INFO] [stdout] | ^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | .topic1(client.address()) // Corresponds to the first indexed parameter [INFO] [stdout] | ^^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | .at_block_hash(hash) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | .event() [INFO] [stdout] | ^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/contract.rs:242:38 [INFO] [stdout] | [INFO] [stdout] 242 | let contract = deploy(client.clone(), abi, bytecode).await; [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_block_number` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/contract.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | let deployed_block = client.get_block_number().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_block` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/contract.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | .get_block(deployed_block) [INFO] [stdout] | ^^^^^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:297:30 [INFO] [stdout] | [INFO] [stdout] 297 | let event = contract.event::(); [INFO] [stdout] | ^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stream` exists for struct `ethers_contract::builders::Event<'_, _, common::ValueChanged>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/contract.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let mut stream = event.stream().await.unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `ethers_contract::builders::Event<'_, _, common::ValueChanged>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ValueChanged { [INFO] [stdout] | ----------------------- doesn't satisfy `common::ValueChanged: EthLogDecode` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `common::ValueChanged: EthLogDecode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ValueChanged: EthEvent` is not satisfied [INFO] [stdout] --> tests/contract.rs:304:32 [INFO] [stdout] | [INFO] [stdout] 304 | let event2 = contract2.event::(); [INFO] [stdout] | ^^^^^ the trait `EthEvent` is not implemented for `common::ValueChanged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `subscribe` exists for struct `ethers_contract::builders::Event<'_, _, common::ValueChanged>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/contract.rs:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | let mut subscription = event2.subscribe().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `ethers_contract::builders::Event<'_, _, common::ValueChanged>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ValueChanged { [INFO] [stdout] | ----------------------- doesn't satisfy `common::ValueChanged: EthLogDecode` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `common::ValueChanged: EthLogDecode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `subscribe` exists for struct `ethers_contract::builders::Event<'_, _, common::ValueChanged>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/contract.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 308 | let mut subscription_meta = event2.subscribe().await.unwrap().with_meta(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `ethers_contract::builders::Event<'_, _, common::ValueChanged>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ValueChanged { [INFO] [stdout] | ----------------------- doesn't satisfy `common::ValueChanged: EthLogDecode` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `common::ValueChanged: EthLogDecode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_token` found for struct `derive::ValueChanged` in the current scope [INFO] [stdout] --> tests/common/derive.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 7 | struct ValueChanged { [INFO] [stdout] | ------------------- method `into_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | let token = value.clone().into_token(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `derive::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `derive::ValueChanged` in the current scope [INFO] [stdout] --> tests/common/derive.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 7 | struct ValueChanged { [INFO] [stdout] | ------------------- function or associated item `from_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(value, ValueChanged::from_token(token).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `derive::ValueChanged` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_token` found for struct `ValueChangedWrapper` in the current scope [INFO] [stdout] --> tests/common/derive.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 15 | struct ValueChangedWrapper { [INFO] [stdout] | -------------------------- method `into_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 51 | let token = value.clone().into_token(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `ValueChangedWrapper` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `ValueChangedWrapper` in the current scope [INFO] [stdout] --> tests/common/derive.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 15 | struct ValueChangedWrapper { [INFO] [stdout] | -------------------------- function or associated item `from_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(value, ValueChangedWrapper::from_token(token).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `ValueChangedWrapper` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_token` found for struct `ValueChangedTuple` in the current scope [INFO] [stdout] --> tests/common/derive.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 21 | struct ValueChangedTuple(Address, Address, String, String); [INFO] [stdout] | ----------------------------------------------------------- method `into_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 64 | let token = value.clone().into_token(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `ValueChangedTuple` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `ValueChangedTuple` in the current scope [INFO] [stdout] --> tests/common/derive.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 21 | struct ValueChangedTuple(Address, Address, String, String); [INFO] [stdout] | ----------------------------------------------------------- function or associated item `from_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 65 | assert_eq!(value, ValueChangedTuple::from_token(token).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `ValueChangedTuple` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_token` found for struct `ValueChangedTupleWrapper` in the current scope [INFO] [stdout] --> tests/common/derive.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 24 | struct ValueChangedTupleWrapper(ValueChangedTuple, String); [INFO] [stdout] | ----------------------------------------------------------- method `into_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | let token = value.clone().into_token(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `ValueChangedTupleWrapper` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `ValueChangedTupleWrapper` in the current scope [INFO] [stdout] --> tests/common/derive.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 24 | struct ValueChangedTupleWrapper(ValueChangedTuple, String); [INFO] [stdout] | ----------------------------------------------------------- function or associated item `from_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 81 | assert_eq!(value, ValueChangedTupleWrapper::from_token(token).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `ValueChangedTupleWrapper` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `name` found for struct `derive::can_derive_eth_event::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 87 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 101 | assert_eq!("ValueChangedEvent", ValueChangedEvent::name()); [INFO] [stdout] | ^^^^ function or associated item not found in `derive::can_derive_eth_event::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `abi_signature` found for struct `derive::can_derive_eth_event::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 87 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `abi_signature` not found for this [INFO] [stdout] ... [INFO] [stdout] 104 | ValueChangedEvent::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `derive::can_derive_eth_event::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `abi_signature`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] candidate #2: `FunctionExt` [INFO] [stdout] candidate #3: `EventExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_token` found for struct `derive::can_derive_eth_event::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 87 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ method `into_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 107 | let token = value.clone().into_token(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `derive::can_derive_eth_event::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `derive::can_derive_eth_event::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 87 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `from_token` not found for this [INFO] [stdout] ... [INFO] [stdout] 108 | assert_eq!(value, ValueChangedEvent::from_token(token).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `derive::can_derive_eth_event::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_token`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Tokenizable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `name` found for struct `derive::can_set_eth_event_name_attribute::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 115 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `name` not found for this [INFO] [stdout] ... [INFO] [stdout] 122 | assert_eq!("MyEvent", ValueChangedEvent::name()); [INFO] [stdout] | ^^^^ function or associated item not found in `derive::can_set_eth_event_name_attribute::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `name`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `abi_signature` found for struct `derive::can_set_eth_event_name_attribute::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 115 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `abi_signature` not found for this [INFO] [stdout] ... [INFO] [stdout] 125 | ValueChangedEvent::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `derive::can_set_eth_event_name_attribute::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `abi_signature`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] candidate #2: `FunctionExt` [INFO] [stdout] candidate #3: `EventExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `abi_signature` found for struct `derive::can_detect_various_event_abi_types::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 132 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `abi_signature` not found for this [INFO] [stdout] ... [INFO] [stdout] 157 | ValueChangedEvent::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `derive::can_detect_various_event_abi_types::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `abi_signature`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] candidate #2: `FunctionExt` [INFO] [stdout] candidate #3: `EventExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `abi_signature` found for struct `derive::can_set_eth_abi_attribute::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 171 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `abi_signature` not found for this [INFO] [stdout] ... [INFO] [stdout] 179 | ValueChangedEvent::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `derive::can_set_eth_abi_attribute::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `abi_signature`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] candidate #2: `FunctionExt` [INFO] [stdout] candidate #3: `EventExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `abi_signature` found for struct `ValueChangedEvent2` in the current scope [INFO] [stdout] --> tests/common/derive.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 187 | struct ValueChangedEvent2 { [INFO] [stdout] | ------------------------- function or associated item `abi_signature` not found for this [INFO] [stdout] ... [INFO] [stdout] 195 | ValueChangedEvent2::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `ValueChangedEvent2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `abi_signature`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] candidate #2: `FunctionExt` [INFO] [stdout] candidate #3: `EventExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `abi_signature` found for struct `derive::can_derive_indexed_and_anonymous_attribute::ValueChangedEvent` in the current scope [INFO] [stdout] --> tests/common/derive.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 203 | struct ValueChangedEvent { [INFO] [stdout] | ------------------------ function or associated item `abi_signature` not found for this [INFO] [stdout] ... [INFO] [stdout] 213 | ValueChangedEvent::abi_signature() [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `derive::can_derive_indexed_and_anonymous_attribute::ValueChangedEvent` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `abi_signature`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `EthEvent` [INFO] [stdout] candidate #2: `FunctionExt` [INFO] [stdout] candidate #3: `EventExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LiquidateBorrow: EthEvent` is not satisfied [INFO] [stdout] --> tests/common/derive.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let event = ::decode_log(&log).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EthEvent` is not implemented for `LiquidateBorrow` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `LiquidateBorrow` [INFO] [stdout] note: required by `ethers_contract::EthLogDecode::decode_log` [INFO] [stdout] --> /tmp/fixit/src/log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / fn decode_log(log: &RawLog) -> Result [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | Self: Sized; [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OneParam: EthEvent` is not satisfied [INFO] [stdout] --> tests/common/derive.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let event = ::decode_log(&log).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EthEvent` is not implemented for `OneParam` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `OneParam` [INFO] [stdout] note: required by `ethers_contract::EthLogDecode::decode_log` [INFO] [stdout] --> /tmp/fixit/src/log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / fn decode_log(log: &RawLog) -> Result [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | Self: Sized; [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NoParam: EthEvent` is not satisfied [INFO] [stdout] --> tests/common/derive.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let _ = ::decode_log(&log).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EthEvent` is not implemented for `NoParam` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `EthLogDecode` for `NoParam` [INFO] [stdout] note: required by `ethers_contract::EthLogDecode::decode_log` [INFO] [stdout] --> /tmp/fixit/src/log.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / fn decode_log(log: &RawLog) -> Result [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | Self: Sized; [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthEvent` [INFO] [stdout] --> tests/common/derive.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_contract::{abigen, EthAbiType, EthEvent, EthLogDecode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tokenizable` [INFO] [stdout] --> tests/common/derive.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers_core::abi::{RawLog, Tokenizable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthEvent` [INFO] [stdout] --> tests/common/mod.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use ethers_contract::{Contract, ContractFactory, EthEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 136 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "341792bf08e7a7ec037e9d49f7bcde0e3767644985471ae6492cbd739a3e82fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341792bf08e7a7ec037e9d49f7bcde0e3767644985471ae6492cbd739a3e82fa", kill_on_drop: false }` [INFO] [stdout] 341792bf08e7a7ec037e9d49f7bcde0e3767644985471ae6492cbd739a3e82fa