[INFO] fetching crate ethcontract-mock 0.15.1... [INFO] checking ethcontract-mock-0.15.1 against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] extracting crate ethcontract-mock 0.15.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate ethcontract-mock 0.15.1 on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract-mock 0.15.1 [INFO] finished tweaking crates.io crate ethcontract-mock 0.15.1 [INFO] tweaked toml for crates.io crate ethcontract-mock 0.15.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "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 ethcontract-common v0.15.1 [INFO] [stderr] Downloaded ethcontract v0.15.1 [INFO] [stderr] Downloaded web3 v0.17.0 [INFO] [stderr] Downloaded ethcontract-generate v0.15.1 [INFO] [stderr] Downloaded ethcontract-derive v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8857661439d8bcd8498b5d09df95e5ba6415f1de8f6226355c0cda8101edcbe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8857661439d8bcd8498b5d09df95e5ba6415f1de8f6226355c0cda8101edcbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8857661439d8bcd8498b5d09df95e5ba6415f1de8f6226355c0cda8101edcbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8857661439d8bcd8498b5d09df95e5ba6415f1de8f6226355c0cda8101edcbe", kill_on_drop: false }` [INFO] [stdout] f8857661439d8bcd8498b5d09df95e5ba6415f1de8f6226355c0cda8101edcbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1f158d0552a1917ffe31f53bc90861dfb5e87a1d9d72321e6a44ad5738b0680 [INFO] running `Command { std: "docker" "start" "-a" "b1f158d0552a1917ffe31f53bc90861dfb5e87a1d9d72321e6a44ad5738b0680", 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 proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.45+curl-7.78.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-macros v1.3.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.16 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking soketto v0.5.0 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking web3-async-native-tls v0.4.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking web3 v0.17.0 [INFO] [stderr] Compiling ethcontract-common v0.15.1 [INFO] [stderr] Compiling ethcontract-generate v0.15.1 [INFO] [stderr] Compiling ethcontract-derive v0.15.1 [INFO] [stderr] Checking ethcontract v0.15.1 [INFO] [stderr] Checking ethcontract-mock v0.15.1 (/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.43/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.43/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/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.43/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.1/src/source.rs:190: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.1/src/source.rs:158:36 [INFO] [stdout] 6: ethcontract_derive::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.15.1/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.1/src/lib.rs:208:5 [INFO] [stdout] 8: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/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/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 10: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 11: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 14: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/std/src/thread/local.rs:399:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/std/src/thread/local.rs:375:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 18: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 19: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 20: std::panicking::try::do_call [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/std/src/panicking.rs:403:40 [INFO] [stdout] 21: __rust_try [INFO] [stdout] 22: std::panicking::try [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/std/src/panicking.rs:367:19 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/std/src/panic.rs:129:14 [INFO] [stdout] 24: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/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/07fecb9cf34c4979a772ba38c99d6d9144768413/library/proc_macro/src/bridge/client.rs:410:13 [INFO] [stdout] 26: proc_macro::bridge::server::run_server [INFO] [stdout] 27: ::expand [INFO] [stdout] 28: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 30: rustc_session::utils::::time [INFO] [stdout] 31: rustc_interface::passes::configure_and_expand [INFO] [stdout] 32: rustc_interface::queries::Queries::expansion [INFO] [stdout] 33: rustc_interface::queries::::enter [INFO] [stdout] 34: rustc_span::with_source_map [INFO] [stdout] 35: scoped_tls::ScopedKey::set [INFO] [stdout] 36: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 37: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 38: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/07fecb9cf34c4979a772ba38c99d6d9144768413/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: start_thread [INFO] [stdout] 42: clone [INFO] [stdout] --> src/test/mod.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | 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 `ERC20` [INFO] [stdout] --> src/test/mod.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | 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:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | 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:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | .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:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | .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:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | .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:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | .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:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | 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:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | fn setup() -> (Mock, DynWeb3, Contract, ERC20) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethcontract-mock` due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "b1f158d0552a1917ffe31f53bc90861dfb5e87a1d9d72321e6a44ad5738b0680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f158d0552a1917ffe31f53bc90861dfb5e87a1d9d72321e6a44ad5738b0680", kill_on_drop: false }` [INFO] [stdout] b1f158d0552a1917ffe31f53bc90861dfb5e87a1d9d72321e6a44ad5738b0680