[INFO] fetching crate ethcontract-mock 0.15.3... [INFO] testing ethcontract-mock-0.15.3 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate ethcontract-mock 0.15.3 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate ethcontract-mock 0.15.3 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract-mock 0.15.3 [INFO] finished tweaking crates.io crate ethcontract-mock 0.15.3 [INFO] tweaked toml for crates.io crate ethcontract-mock 0.15.3 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded web3-async-native-tls v0.4.0 [INFO] [stderr] Downloaded soketto v0.5.0 [INFO] [stderr] Downloaded ethcontract v0.15.4 [INFO] [stderr] Downloaded ethcontract-derive v0.15.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac5e7094e1c3820bb2b9b3e8c707f443d3bf7b93484bcd1a4a1455de8114dbc8 [INFO] running `Command { std: "docker" "start" "-a" "ac5e7094e1c3820bb2b9b3e8c707f443d3bf7b93484bcd1a4a1455de8114dbc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac5e7094e1c3820bb2b9b3e8c707f443d3bf7b93484bcd1a4a1455de8114dbc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5e7094e1c3820bb2b9b3e8c707f443d3bf7b93484bcd1a4a1455de8114dbc8", kill_on_drop: false }` [INFO] [stdout] ac5e7094e1c3820bb2b9b3e8c707f443d3bf7b93484bcd1a4a1455de8114dbc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03814e5de96ccd8492da439173ec50f0ec2662a1524e0213588004a8ae6fdc45 [INFO] running `Command { std: "docker" "start" "-a" "03814e5de96ccd8492da439173ec50f0ec2662a1524e0213588004a8ae6fdc45", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling termtree v0.2.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling curl-sys v0.4.51+curl-7.80.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling predicates-tree v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling mockall v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling soketto v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling ethcontract-common v0.15.4 [INFO] [stderr] Compiling ethcontract-generate v0.15.4 [INFO] [stderr] Compiling ethcontract-derive v0.15.4 [INFO] [stderr] Compiling ethcontract v0.15.4 [INFO] [stderr] Compiling ethcontract-mock v0.15.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "03814e5de96ccd8492da439173ec50f0ec2662a1524e0213588004a8ae6fdc45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03814e5de96ccd8492da439173ec50f0ec2662a1524e0213588004a8ae6fdc45", kill_on_drop: false }` [INFO] [stdout] 03814e5de96ccd8492da439173ec50f0ec2662a1524e0213588004a8ae6fdc45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a4b87d119b877ad5b9be7e94ec536d8fd5ddd8877da3ef74db3454ba9d13ee0 [INFO] running `Command { std: "docker" "start" "-a" "9a4b87d119b877ad5b9be7e94ec536d8fd5ddd8877da3ef74db3454ba9d13ee0", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ethcontract-mock v0.15.3 (/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] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.51/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.51/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/result.rs:853:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.51/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.15.4/src/source.rs:191:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.15.4/src/source.rs:159:36 [INFO] [stdout] 6: ethcontract_derive::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.15.4/src/lib.rs:254:16 [INFO] [stdout] 7: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.15.4/src/lib.rs:208:5 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 9: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 11: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 14: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/local.rs:399:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/local.rs:375:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 18: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 20: std::panicking::try::do_call [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 21: __rust_try [INFO] [stdout] 22: std::panicking::try [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 24: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 25: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:410:13 [INFO] [stdout] 26: proc_macro::bridge::server::run_server::, proc_macro::bridge::Marked, fn(proc_macro::TokenStream) -> proc_macro::TokenStream, proc_macro::bridge::server::SameThread> [INFO] [stdout] 27: proc_macro::TokenStream>>::run:: [INFO] [stdout] 28: ::expand [INFO] [stdout] 29: ::fully_expand_fragment [INFO] [stdout] 30: ::expand_crate [INFO] [stdout] 31: ::time::, rustc_interface::passes::configure_and_expand::{closure#1}> [INFO] [stdout] 32: rustc_interface::passes::configure_and_expand [INFO] [stdout] 33: ::expansion [INFO] [stdout] 34: ::enter::, rustc_errors::ErrorReported>> [INFO] [stdout] 35: rustc_span::with_source_map::, rustc_interface::interface::create_compiler_and_run, rustc_driver::run_compiler::{closure#1}>::{closure#1}> [INFO] [stdout] 36: >::set::, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> [INFO] [stdout] 38: <::spawn_unchecked, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 39: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: start_thread [INFO] [stdout] 43: 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] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.51/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.51/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/result.rs:853:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.51/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.15.4/src/source.rs:191:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.15.4/src/source.rs:159:36 [INFO] [stdout] 6: ethcontract_derive::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.15.4/src/lib.rs:254:16 [INFO] [stdout] 7: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.15.4/src/lib.rs:208:5 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 9: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 11: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 14: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/local.rs:399:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/local.rs:375:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 18: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 20: std::panicking::try::do_call [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 21: __rust_try [INFO] [stdout] 22: std::panicking::try [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 24: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 25: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/proc_macro/src/bridge/client.rs:410:13 [INFO] [stdout] 26: proc_macro::bridge::server::run_server::, proc_macro::bridge::Marked, fn(proc_macro::TokenStream) -> proc_macro::TokenStream, proc_macro::bridge::server::SameThread> [INFO] [stdout] 27: proc_macro::TokenStream>>::run:: [INFO] [stdout] 28: ::expand [INFO] [stdout] 29: ::fully_expand_fragment [INFO] [stdout] 30: ::expand_crate [INFO] [stdout] 31: ::time::, rustc_interface::passes::configure_and_expand::{closure#1}> [INFO] [stdout] 32: rustc_interface::passes::configure_and_expand [INFO] [stdout] 33: ::expansion [INFO] [stdout] 34: ::enter::, rustc_errors::ErrorReported>> [INFO] [stdout] 35: rustc_span::with_source_map::, rustc_interface::interface::create_compiler_and_run, rustc_driver::run_compiler::{closure#1}>::{closure#1}> [INFO] [stdout] 36: >::set::, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> [INFO] [stdout] 38: <::spawn_unchecked, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 39: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: start_thread [INFO] [stdout] 43: 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[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[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_block_number.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | 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:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | .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:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | 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:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | 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:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | 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[E0433]: failed to resolve: use of undeclared type `ERC20` [INFO] [stdout] --> src/test/eth_transaction_count.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | 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:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | 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:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | 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().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().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().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().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().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().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[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[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[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_estimate_gas.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | .estimate_gas(request.clone(), Some(BlockNumber::Number(2.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_estimate_gas.rs:100:67 [INFO] [stdout] | [INFO] [stdout] 100 | .estimate_gas(request.clone(), Some(BlockNumber::Number(1.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_transaction_count.rs:111:81 [INFO] [stdout] | [INFO] [stdout] 111 | .transaction_count(address_for("Alice"), Some(BlockNumber::Number(0.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/eth_transaction_count.rs:130:81 [INFO] [stdout] | [INFO] [stdout] 130 | .transaction_count(address_for("Alice"), Some(BlockNumber::Number(2.into()))) [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::web3::types::U64: From<{integer}>` found in the `ethereum_types` crate: [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] - impl From for ethcontract::web3::types::U64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | contract.expect(AbiTypes::signatures().get_u8()).returns(42); [INFO] [stdout] | ---------^^^^^^--------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `Expectation` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 44 | <() as ethcontract::tokens::Tokenize>::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 44 | <(A, B) as ethcontract::tokens::Tokenize>::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 44 | <(A, B, C) as ethcontract::tokens::Tokenize>::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 44 | <(A, B, C, D) as ethcontract::tokens::Tokenize>::expect(contract).returns(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 34 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:44:54 [INFO] [stdout] | [INFO] [stdout] 44 | contract.expect(AbiTypes::signatures().get_u8()).returns(42); [INFO] [stdout] | ------------------------------------------------ ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `Expectation` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 45 | / contract [INFO] [stdout] 46 | | .expect(AbiTypes::signatures().abiv_2_struct()) [INFO] [stdout] | |_______________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 47 | .returns((1, 2)); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 48 | / contract [INFO] [stdout] 49 | | .expect(AbiTypes::signatures().abiv_2_array_of_struct()) [INFO] [stdout] | |________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 50 | .returns(vec![(1, 2), (3, 4)]); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `Vec<({integer}, {integer})>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 51 | / contract [INFO] [stdout] 52 | | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | |__________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 53 | .returns((1, 2, 3)); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 54 | / contract [INFO] [stdout] 55 | | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | |_________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 56 | .returns(((1, 2), (3, 4))); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `(({integer}, {integer}), ({integer}, {integer}))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 86 | / contract [INFO] [stdout] 87 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |__________^^^^^^________________________________- this method call resolves to `Expectation` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 86 | <() as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] 86 | <(A, B) as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] 86 | <(A, B, C) as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] 86 | <(A, B, C, D) as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] and 34 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 86 | / contract [INFO] [stdout] 87 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 88 | .returns_fn(|_| Ok(42)); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 95 | / contract [INFO] [stdout] 96 | | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | |__________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 97 | .returns_fn(|_| Ok((1, 2, 3))); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 98 | / contract [INFO] [stdout] 99 | | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | |_________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 100 | .returns_fn(|_| Ok(((1, 2), (3, 4)))); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `(({integer}, {integer}), ({integer}, {integer}))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 130 | / contract [INFO] [stdout] 131 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |__________^^^^^^________________________________- this method call resolves to `Expectation` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 130 | <() as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] 130 | <(A, B) as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] 130 | <(A, B, C) as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] 130 | <(A, B, C, D) as ethcontract::tokens::Tokenize>::expect(contract) [INFO] [stdout] | [INFO] [stdout] and 34 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 130 | / contract [INFO] [stdout] 131 | | .expect(AbiTypes::signatures().get_u8()) [INFO] [stdout] | |________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 132 | .returns_fn_ctx(|_, _| Ok(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 139 | / contract [INFO] [stdout] 140 | | .expect(AbiTypes::signatures().multiple_results()) [INFO] [stdout] | |__________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 141 | .returns_fn_ctx(|_, _| Ok((1, 2, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/returns.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 142 | / contract [INFO] [stdout] 143 | | .expect(AbiTypes::signatures().multiple_results_struct()) [INFO] [stdout] | |_________________________________________________________________- this method call resolves to `Expectation` [INFO] [stdout] 144 | .returns_fn_ctx(|_, _| Ok(((1, 2), (3, 4)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ethcontract::tokens::Tokenize` found in the `ethcontract` crate: [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i128; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i16; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i32; [INFO] [stdout] - impl ethcontract::tokens::Tokenize for i64; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `({integer}, {integer})` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `ethcontract::tokens::Tokenize` for `(({integer}, {integer}), ({integer}, {integer}))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | .returns(U256::from(0)) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | .returns(U256::from(100)) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | .returns(U256::from(100000)); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/test/mod.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | .transfer(address_for("Bob"), U256::from(100)) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ethcontract::U256: From<{integer}>` found in the `primitive_types` crate: [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] - impl From for ethcontract::U256; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethcontract-mock` due to 81 previous errors [INFO] running `Command { std: "docker" "inspect" "9a4b87d119b877ad5b9be7e94ec536d8fd5ddd8877da3ef74db3454ba9d13ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4b87d119b877ad5b9be7e94ec536d8fd5ddd8877da3ef74db3454ba9d13ee0", kill_on_drop: false }` [INFO] [stdout] 9a4b87d119b877ad5b9be7e94ec536d8fd5ddd8877da3ef74db3454ba9d13ee0