[INFO] fetching crate ethcontract 0.7.2... [INFO] testing ethcontract-0.7.2 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate ethcontract 0.7.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ethcontract 0.7.2 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract 0.7.2 [INFO] finished tweaking crates.io crate ethcontract 0.7.2 [INFO] tweaked toml for crates.io crate ethcontract 0.7.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate ethcontract 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethcontract-derive v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", 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] a8fc1e78eda7ae6551b2d0a3304a0b551372fb66e676c11825a7dd0ea13b77ce [INFO] running `Command { std: "docker" "start" "-a" "a8fc1e78eda7ae6551b2d0a3304a0b551372fb66e676c11825a7dd0ea13b77ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8fc1e78eda7ae6551b2d0a3304a0b551372fb66e676c11825a7dd0ea13b77ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8fc1e78eda7ae6551b2d0a3304a0b551372fb66e676c11825a7dd0ea13b77ce", kill_on_drop: false }` [INFO] [stdout] a8fc1e78eda7ae6551b2d0a3304a0b551372fb66e676c11825a7dd0ea13b77ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 119d54c3046f688ff2d08c8ffab7dc032e8891f6aaa08963747a7173915cdb71 [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" "119d54c3046f688ff2d08c8ffab7dc032e8891f6aaa08963747a7173915cdb71", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket v0.21.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling ethbloom v0.8.1 [INFO] [stderr] Compiling ethbloom v0.9.1 [INFO] [stderr] Compiling jsonrpc-core v14.1.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.6.2 [INFO] [stderr] Compiling primitive-types v0.7.0 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling ethereum-types v0.9.1 [INFO] [stderr] Compiling ethabi v9.0.1 [INFO] [stderr] Compiling ethabi v12.0.0 [INFO] [stderr] Compiling web3 v0.10.0 [INFO] [stderr] Compiling ethcontract-common v0.7.2 [INFO] [stderr] Compiling ethcontract-generate v0.7.2 [INFO] [stderr] Compiling ethcontract-derive v0.7.2 [INFO] [stderr] Compiling ethcontract v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 33s [INFO] running `Command { std: "docker" "inspect" "119d54c3046f688ff2d08c8ffab7dc032e8891f6aaa08963747a7173915cdb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119d54c3046f688ff2d08c8ffab7dc032e8891f6aaa08963747a7173915cdb71", kill_on_drop: false }` [INFO] [stdout] 119d54c3046f688ff2d08c8ffab7dc032e8891f6aaa08963747a7173915cdb71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 859e41c332235a2938c4154517810c30410539aaef66ceb50ac1203a90012aff [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" "859e41c332235a2938c4154517810c30410539aaef66ceb50ac1203a90012aff", kill_on_drop: false }` [INFO] [stderr] Compiling ethcontract v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/async.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | ethcontract::contract!("examples/truffle/build/contracts/RustCoin.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWLProxy.json [INFO] [stdout] 1: [6] Couldn't resolve host name [INFO] [stdout] [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/util.rs:67 [INFO] [stdout] 2: ethcontract_generate::source::get_npm_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:199 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:126 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 27: proc_macro::bridge::server::run_server [INFO] [stdout] 28: ::expand [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 30: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 31: rustc_session::utils::::time [INFO] [stdout] 32: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 33: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 34: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand [INFO] [stdout] 36: rustc_interface::queries::Queries::expansion [INFO] [stdout] 37: rustc_interface::queries::::enter [INFO] [stdout] 38: rustc_span::with_source_map [INFO] [stdout] 39: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 40: scoped_tls::ScopedKey::set [INFO] [stdout] 41: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 42: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 43: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 44: start_thread [INFO] [stdout] 45: __clone [INFO] [stdout] --> examples/past_events.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWLProxy.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json [INFO] [stdout] 1: [6] Couldn't resolve host name [INFO] [stdout] [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/util.rs:67 [INFO] [stdout] 2: ethcontract_generate::source::get_npm_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:199 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:126 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 27: proc_macro::bridge::server::run_server [INFO] [stdout] 28: ::expand [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 30: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 31: rustc_session::utils::::time [INFO] [stdout] 32: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 33: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 34: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand [INFO] [stdout] 36: rustc_interface::queries::Queries::expansion [INFO] [stdout] 37: rustc_interface::queries::::enter [INFO] [stdout] 38: rustc_span::with_source_map [INFO] [stdout] 39: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 40: scoped_tls::ScopedKey::set [INFO] [stdout] 41: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 42: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 43: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 44: start_thread [INFO] [stdout] 45: __clone [INFO] [stdout] --> examples/past_events.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/events.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | ethcontract::contract!("examples/truffle/build/contracts/RustCoin.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/rinkeby.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | ethcontract::contract!("examples/truffle/build/contracts/DeployedContract.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stdout] --> examples/async.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustCoin` in this scope [INFO] [stdout] --> examples/async.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | async fn print_balance_of(instance: &RustCoin, account: Address) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `DeployedContract` [INFO] [stdout] --> examples/rinkeby.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let mut instance = DeployedContract::deployed(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `DeployedContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stdout] --> examples/events.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TokenOWLProxy` [INFO] [stdout] --> examples/past_events.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let owl_proxy = TokenOWLProxy::deployed(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `TokenOWLProxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TokenOWL` [INFO] [stdout] --> examples/past_events.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | TokenOWL::with_transaction(&web3, owl_proxy.address(), owl_proxy.transaction_hash()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `TokenOWL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 24 | | .gas(4_712_388.into()) [INFO] [stdout] 25 | | .deploy() [INFO] [stdout] 26 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | .transfer(accounts[1], 1_000_000.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / instance [INFO] [stdout] 32 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stdout] 33 | | .send() [INFO] [stdout] 34 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | .transfer(accounts[2], 500_000.into()) [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / instance [INFO] [stdout] 37 | | .transfer(accounts[2], 500_000.into()) [INFO] [stdout] 38 | | .from(Account::Local(accounts[1], None)) [INFO] [stdout] 39 | | .send() [INFO] [stdout] 40 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | .transfer(x, 1_000_000.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / instance [INFO] [stdout] 69 | | .transfer(x, 1_000_000.into()) [INFO] [stdout] 70 | | .send() [INFO] [stdout] 71 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | .transfer(accounts[4], 420.into()) [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / instance [INFO] [stdout] 74 | | .transfer(accounts[4], 420.into()) [INFO] [stdout] 75 | | .from(Account::Offline(key, None)) [INFO] [stdout] 76 | | .send() [INFO] [stdout] 77 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/linked.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | ethcontract::contract!("examples/truffle/build/contracts/SimpleLibrary.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/overloaded.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | "examples/truffle/build/contracts/OverloadedMethods.json", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/linked.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ethcontract::contract!("examples/truffle/build/contracts/LinkedContract.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/rinkeby.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | .confirmations(1) // wait for 1 block confirmation [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/rinkeby.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / instance [INFO] [stdout] 53 | | .increment() [INFO] [stdout] 54 | | .confirmations(1) // wait for 1 block confirmation [INFO] [stdout] 55 | | .send() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/events.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | .transfer(accounts[1], 1_000_000.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/events.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | / instance [INFO] [stdout] 38 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stdout] 39 | | .send() [INFO] [stdout] 40 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/events.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/events.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 25 | | .gas(4_712_388.into()) [INFO] [stdout] 26 | | .deploy() [INFO] [stdout] 27 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `OverloadedMethods` [INFO] [stdout] --> examples/overloaded.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let instance = OverloadedMethods::builder(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `OverloadedMethods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/events.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to retrieve ABI from Etherscan.io [INFO] [stdout] 1: [6] Couldn't resolve host name [INFO] [stdout] [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/util.rs:67 [INFO] [stdout] 2: ethcontract_generate::source::get_etherscan_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:183 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:125 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 27: proc_macro::bridge::server::run_server [INFO] [stdout] 28: ::expand [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 30: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 31: rustc_session::utils::::time [INFO] [stdout] 32: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 33: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 34: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand [INFO] [stdout] 36: rustc_interface::queries::Queries::expansion [INFO] [stdout] 37: rustc_interface::queries::::enter [INFO] [stdout] 38: rustc_span::with_source_map [INFO] [stdout] 39: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 40: scoped_tls::ScopedKey::set [INFO] [stdout] 41: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 42: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 43: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 44: start_thread [INFO] [stdout] 45: __clone [INFO] [stdout] --> examples/sources.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | "etherscan:0x60fbbd1fb0076971e8060631b5dd895f55ad5ab7", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json [INFO] [stdout] 1: [6] Couldn't resolve host name [INFO] [stdout] [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/util.rs:67 [INFO] [stdout] 2: ethcontract_generate::source::get_npm_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:199 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:126 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 27: proc_macro::bridge::server::run_server [INFO] [stdout] 28: ::expand [INFO] [stdout] 29: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 30: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 31: rustc_session::utils::::time [INFO] [stdout] 32: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 33: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 34: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand [INFO] [stdout] 36: rustc_interface::queries::Queries::expansion [INFO] [stdout] 37: rustc_interface::queries::::enter [INFO] [stdout] 38: rustc_span::with_source_map [INFO] [stdout] 39: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 40: scoped_tls::ScopedKey::set [INFO] [stdout] 41: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 42: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 43: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 44: start_thread [INFO] [stdout] 45: __clone [INFO] [stdout] --> examples/sources.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SimpleLibrary` [INFO] [stdout] --> examples/linked.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let library = SimpleLibrary::builder(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `SimpleLibrary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LinkedContract` [INFO] [stdout] --> examples/linked.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let instance = LinkedContract::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `LinkedContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `linked_contract` [INFO] [stdout] --> examples/linked.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | linked_contract::Libraries { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `linked_contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/deployments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | "examples/truffle/build/contracts/RustCoin.json", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ethcontract`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.28/src/backtrace.rs:26 [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.28/src/context.rs:50 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:612 [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.28/src/context.rs:50 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:156 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/source.rs:123 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:53 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/contract.rs:148 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.7.2/src/lib.rs:235 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:113 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.7.2/src/lib.rs:107 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:375 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:74 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/scoped_cell.rs:79 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:323 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:368 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:367 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libproc_macro/bridge/client.rs:407 [INFO] [stdout] 29: proc_macro::bridge::server::run_server [INFO] [stdout] 30: ::expand [INFO] [stdout] 31: rustc_expand::expand::MacroExpander::fully_expand_fragment [INFO] [stdout] 32: rustc_expand::expand::MacroExpander::expand_crate [INFO] [stdout] 33: rustc_session::utils::::time [INFO] [stdout] 34: rustc_interface::passes::configure_and_expand_inner [INFO] [stdout] 35: rustc_interface::passes::configure_and_expand::{{closure}} [INFO] [stdout] 36: rustc_data_structures::box_region::PinnedGenerator::new [INFO] [stdout] 37: rustc_interface::passes::configure_and_expand [INFO] [stdout] 38: rustc_interface::queries::Queries::expansion [INFO] [stdout] 39: rustc_interface::queries::::enter [INFO] [stdout] 40: rustc_span::with_source_map [INFO] [stdout] 41: rustc_interface::interface::create_compiler_and_run [INFO] [stdout] 42: scoped_tls::ScopedKey::set [INFO] [stdout] 43: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: __clone [INFO] [stdout] --> examples/abi.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ethcontract::contract!("examples/truffle/build/contracts/AbiTypes.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Owl` [INFO] [stdout] --> examples/sources.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let instance = Owl::deployed(&web3) [INFO] [stdout] | ^^^ use of undeclared type or module `Owl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TokenOWL` [INFO] [stdout] --> examples/sources.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let instance = TokenOWL::deployed(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `TokenOWL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/overloaded.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/overloaded.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let instance = OverloadedMethods::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | .gas(4_712_388.into()) [INFO] [stdout] 21 | | .deploy() [INFO] [stdout] 22 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/overloaded.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | .get_value(84.into()) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/overloaded.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / instance [INFO] [stdout] 29 | | .get_value(84.into()) [INFO] [stdout] 30 | | .call() [INFO] [stdout] 31 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/linked.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/linked.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let library = SimpleLibrary::builder(&web3) [INFO] [stdout] | ___________________^ [INFO] [stdout] 16 | | .gas(4_712_388.into()) [INFO] [stdout] 17 | | .deploy() [INFO] [stdout] 18 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/linked.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 1337.into(), [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/linked.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let instance = LinkedContract::builder( [INFO] [stdout] | ____________________^ [INFO] [stdout] 21 | | &web3, [INFO] [stdout] 22 | | linked_contract::Libraries { [INFO] [stdout] 23 | | simple_library: library.address(), [INFO] [stdout] ... | [INFO] [stdout] 28 | | .deploy() [INFO] [stdout] 29 | | .await [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/linked.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/linked.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let instance = LinkedContract::builder( [INFO] [stdout] | ____________________^ [INFO] [stdout] 21 | | &web3, [INFO] [stdout] 22 | | linked_contract::Libraries { [INFO] [stdout] 23 | | simple_library: library.address(), [INFO] [stdout] ... | [INFO] [stdout] 28 | | .deploy() [INFO] [stdout] 29 | | .await [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stdout] --> examples/deployments.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let instance = RustCoin::deployed(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AbiTypes` [INFO] [stdout] --> examples/abi.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let instance = AbiTypes::builder(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `abi_types` [INFO] [stdout] --> examples/abi.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | if let abi_types::Event::Values(data) = event.inner_data() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `abi_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AbiTypes` in this scope [INFO] [stdout] --> examples/abi.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | async fn calls(instance: &AbiTypes) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AbiTypes` in this scope [INFO] [stdout] --> examples/abi.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | async fn events(instance: &AbiTypes) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/abi.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/abi.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let instance = AbiTypes::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 16 | | .gas(4_712_388.into()) [INFO] [stdout] 17 | | .deploy() [INFO] [stdout] 18 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/abi.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | .gas(4_712_388.into()) [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/abi.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / instance [INFO] [stdout] 87 | | .emit_values() [INFO] [stdout] 88 | | // NOTE: Gas estimation seems to not work for this call. [INFO] [stdout] 89 | | .gas(4_712_388.into()) [INFO] [stdout] 90 | | .send() [INFO] [stdout] 91 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "859e41c332235a2938c4154517810c30410539aaef66ceb50ac1203a90012aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "859e41c332235a2938c4154517810c30410539aaef66ceb50ac1203a90012aff", kill_on_drop: false }` [INFO] [stdout] 859e41c332235a2938c4154517810c30410539aaef66ceb50ac1203a90012aff