[INFO] fetching crate ethcontract-mock 0.25.8... [INFO] testing ethcontract-mock-0.25.8 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ethcontract-mock 0.25.8 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ethcontract-mock 0.25.8 [INFO] finished tweaking crates.io crate ethcontract-mock 0.25.8 [INFO] tweaked toml for crates.io crate ethcontract-mock 0.25.8 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ethcontract-mock 0.25.8 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 172 packages to latest compatible versions [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] [stderr] Adding rlp v0.5.2 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded ethbloom v0.13.0 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded rlp v0.5.2 [INFO] [stderr] Downloaded ethcontract-derive v0.25.8 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded ethereum-types v0.14.1 [INFO] [stderr] Downloaded impl-rlp v0.3.0 [INFO] [stderr] Downloaded fragile v2.0.1 [INFO] [stderr] Downloaded ethcontract v0.25.8 [INFO] [stderr] Downloaded ethcontract-generate v0.25.8 [INFO] [stderr] Downloaded ethabi v18.0.0 [INFO] [stderr] Downloaded ethcontract-common v0.25.8 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded jsonrpc-core v18.0.0 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded web3 v0.19.0 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82208b2c55e3240453a5f2abd2a3a78779b0033ac218acd160ccce80e563d7c6 [INFO] running `Command { std: "docker" "start" "-a" "82208b2c55e3240453a5f2abd2a3a78779b0033ac218acd160ccce80e563d7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82208b2c55e3240453a5f2abd2a3a78779b0033ac218acd160ccce80e563d7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82208b2c55e3240453a5f2abd2a3a78779b0033ac218acd160ccce80e563d7c6", kill_on_drop: false }` [INFO] [stdout] 82208b2c55e3240453a5f2abd2a3a78779b0033ac218acd160ccce80e563d7c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f1178e36fd16608598b5fcdcee621838d0147a989465f9c0e352a83f6d619ee [INFO] running `Command { std: "docker" "start" "-a" "0f1178e36fd16608598b5fcdcee621838d0147a989465f9c0e352a83f6d619ee", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling web3 v0.19.0 [INFO] [stderr] Compiling ethcontract-common v0.25.8 [INFO] [stderr] Compiling ethcontract-generate v0.25.8 [INFO] [stderr] Compiling ethcontract-derive v0.25.8 [INFO] [stderr] Compiling ethcontract v0.25.8 [INFO] [stderr] Compiling ethcontract-mock v0.25.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.93s [INFO] running `Command { std: "docker" "inspect" "0f1178e36fd16608598b5fcdcee621838d0147a989465f9c0e352a83f6d619ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1178e36fd16608598b5fcdcee621838d0147a989465f9c0e352a83f6d619ee", kill_on_drop: false }` [INFO] [stdout] 0f1178e36fd16608598b5fcdcee621838d0147a989465f9c0e352a83f6d619ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce4e85c5b86637ea6272d1655bff03b077b2ea9b11543531ce2445be9a7087dc [INFO] running `Command { std: "docker" "start" "-a" "ce4e85c5b86637ea6272d1655bff03b077b2ea9b11543531ce2445be9a7087dc", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ethcontract-mock v0.25.8 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to read artifact JSON file [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context [INFO] [stdout] 2: ethcontract_generate::source::get_local_contract [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] 4: ethcontract_derive::generate [INFO] [stdout] 5: ethcontract_derive::contract [INFO] [stdout] 6: core::ops::function::Fn::call [INFO] [stdout] 7: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} [INFO] [stdout] 8: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] 9: proc_macro::bridge::client::state::set [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] 11: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 12: std::panicking::catch_unwind::do_call [INFO] [stdout] 13: __rust_try [INFO] [stdout] 14: proc_macro::bridge::client::run_client [INFO] [stdout] 15: proc_macro::bridge::client::Client::expand1::{{closure}} [INFO] [stdout] 16: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper [INFO] [stdout] 17: > as rustc_proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::>> [INFO] [stdout] 18: >::run::>> [INFO] [stdout] 19: ::expand [INFO] [stdout] 20: ::fully_expand_fragment [INFO] [stdout] 21: ::expand_crate [INFO] [stdout] 22: rustc_interface::passes::configure_and_expand [INFO] [stdout] 23: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 25: >::call_once [INFO] [stdout] 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stdout] 27: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 28: , rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core::ops::function::FnOnce<(&rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, alloc::sync::Arc, &std::sync::once_lock::OnceLock, &rustc_data_structures::sync::worker_local::WorkerLocal, &rustc_data_structures::sync::worker_local::WorkerLocal, rustc_driver_impl::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stdout] 29: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 30: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stdout] 31: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 32: std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] 33: [INFO] [stdout] 34: clone [INFO] [stdout] --> src/test/returns.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | ethcontract::contract!("examples/truffle/build/contracts/AbiTypes.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to read artifact JSON file [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context [INFO] [stdout] 2: ethcontract_generate::source::get_local_contract [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] 4: ethcontract_derive::generate [INFO] [stdout] 5: ethcontract_derive::contract [INFO] [stdout] 6: core::ops::function::Fn::call [INFO] [stdout] 7: proc_macro::bridge::client::Client::expand1::{{closure}}::{{closure}} [INFO] [stdout] 8: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] 9: proc_macro::bridge::client::state::set [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] 11: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 12: std::panicking::catch_unwind::do_call [INFO] [stdout] 13: __rust_try [INFO] [stdout] 14: proc_macro::bridge::client::run_client [INFO] [stdout] 15: proc_macro::bridge::client::Client::expand1::{{closure}} [INFO] [stdout] 16: proc_macro::bridge::selfless_reify::reify_to_extern_c_fn_hrt_bridge::wrapper [INFO] [stdout] 17: > as rustc_proc_macro::bridge::server::ExecutionStrategy>::run_bridge_and_client::>> [INFO] [stdout] 18: >::run::>> [INFO] [stdout] 19: ::expand [INFO] [stdout] 20: ::fully_expand_fragment [INFO] [stdout] 21: ::expand_crate [INFO] [stdout] 22: rustc_interface::passes::configure_and_expand [INFO] [stdout] 23: rustc_interface::passes::resolver_for_lowering_raw [INFO] [stdout] 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> [INFO] [stdout] 25: >::call_once [INFO] [stdout] 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, false> [INFO] [stdout] 27: rustc_query_impl::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace [INFO] [stdout] 28: , rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core::ops::function::FnOnce<(&rustc_session::session::Session, rustc_middle::ty::context::CurrentGcx, alloc::sync::Arc, &std::sync::once_lock::OnceLock, &rustc_data_structures::sync::worker_local::WorkerLocal, &rustc_data_structures::sync::worker_local::WorkerLocal, rustc_driver_impl::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stdout] 29: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} [INFO] [stdout] 30: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stdout] 31: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 32: std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] 33: [INFO] [stdout] 34: clone [INFO] [stdout] --> src/test/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ethcontract::contract!("examples/truffle/build/contracts/ERC20.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ERC20` in this scope [INFO] [stdout] --> src/test/mod.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | fn setup() -> (Mock, DynWeb3, Contract, ERC20) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | .expect(ERC20::signatures().name()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | .expect(ERC20::signatures().symbol()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | .expect(ERC20::signatures().decimals()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/batch.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | .expect(ERC20::signatures().total_supply()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test/batch.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(total_supply [INFO] [stdout] | _____________^ [INFO] [stdout] 43 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | .expect(ERC20::signatures().transfer()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_estimate_gas.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_get_transaction_receipt.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test/eth_get_transaction_receipt.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let hash = instance [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | .transfer(address_for("Bob"), 100.into()) [INFO] [stdout] 12 | | .into_inner() [INFO] [stdout] 13 | | .resolve(ResolveCondition::Pending) [INFO] [stdout] 14 | | .send() [INFO] [stdout] 15 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | contract.expect(ERC20::signatures().transfer()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().interface.abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | contract.expect(AbiTypes::signatures().get_void()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | contract.expect(AbiTypes::signatures().get_u8()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | contract.expect(AbiTypes::signatures().abiv_2_struct()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | contract.expect(AbiTypes::signatures().abiv_2_array_of_struct()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | contract.expect(AbiTypes::signatures().multiple_results()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | contract.expect(AbiTypes::signatures().multiple_results_struct()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().interface.abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | .expect(AbiTypes::signatures().get_void()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | contract.expect(AbiTypes::signatures().get_u8()).returns(42); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().interface.abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | .expect(AbiTypes::signatures().get_void()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | let contract = Mock::new(1234).deploy(AbiTypes::raw_contract().interface.abi.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | .expect(AbiTypes::signatures().get_void()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> src/test/returns.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | let instance = AbiTypes::at(&contract.web3(), contract.address); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | let contract = mock.deploy(ERC20::raw_contract().interface.abi.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let mut instance = ERC20::at(&web3, contract.address); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let contract = mock.deploy(ERC20::raw_contract().interface.abi.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | .expect(ERC20::signatures().balance_of()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | .expect(ERC20::signatures().transfer()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/test/mod.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | move |ctx, (recipient, amount)| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | assert_eq!(amount.as_u64(), 100); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 118 | move |ctx, (recipient, amount): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | .expect(ERC20::signatures().balance_of()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | .expect(ERC20::signatures().balance_of()) [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/mod.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | let actual_contract = ERC20::at(&mock.web3(), contract.address); [INFO] [stdout] | ^^^^^ use of undeclared type `ERC20` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let balance = actual_contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | .balance_of(address_for("Bob")) [INFO] [stdout] 150 | | .call() [INFO] [stdout] 151 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / actual_contract [INFO] [stdout] 157 | | .transfer(address_for("Bob"), U256::from(100)) [INFO] [stdout] 158 | | .from(account_for("Alice")) [INFO] [stdout] 159 | | .confirmations(3) [INFO] [stdout] 160 | | .send() [INFO] [stdout] 161 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | let balance = actual_contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 166 | | .balance_of(address_for("Bob")) [INFO] [stdout] 167 | | .call() [INFO] [stdout] 168 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let balance = actual_contract [INFO] [stdout] | ___________________^ [INFO] [stdout] 173 | | .balance_of(address_for("Alice")) [INFO] [stdout] 174 | | .call() [INFO] [stdout] 175 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethcontract-mock` (lib test) due to 65 previous errors [INFO] running `Command { std: "docker" "inspect" "ce4e85c5b86637ea6272d1655bff03b077b2ea9b11543531ce2445be9a7087dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4e85c5b86637ea6272d1655bff03b077b2ea9b11543531ce2445be9a7087dc", kill_on_drop: false }` [INFO] [stdout] ce4e85c5b86637ea6272d1655bff03b077b2ea9b11543531ce2445be9a7087dc