[INFO] fetching crate ethcontract 0.9.1... [INFO] checking ethcontract-0.9.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate ethcontract 0.9.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate ethcontract 0.9.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract 0.9.1 [INFO] finished tweaking crates.io crate ethcontract 0.9.1 [INFO] tweaked toml for crates.io crate ethcontract 0.9.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate ethcontract 0.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 440c7868191ea0dff8170e88bc34ca76256bd4feb0d7e23aaed60cb9b28c9499 [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" "440c7868191ea0dff8170e88bc34ca76256bd4feb0d7e23aaed60cb9b28c9499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "440c7868191ea0dff8170e88bc34ca76256bd4feb0d7e23aaed60cb9b28c9499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440c7868191ea0dff8170e88bc34ca76256bd4feb0d7e23aaed60cb9b28c9499", kill_on_drop: false }` [INFO] [stdout] 440c7868191ea0dff8170e88bc34ca76256bd4feb0d7e23aaed60cb9b28c9499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ef888d3eb7ff68829177b0d57eace78c1ca45c7a1597d37b887f057ba670418 [INFO] running `Command { std: "docker" "start" "-a" "5ef888d3eb7ff68829177b0d57eace78c1ca45c7a1597d37b887f057ba670418", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling async-executor v1.3.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling async-io v1.1.10 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking async-std v1.7.0 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking jsonrpc-core v14.2.0 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking ethabi v12.0.0 [INFO] [stderr] Checking web3 v0.13.0 [INFO] [stderr] Checking ethcontract-common v0.9.1 [INFO] [stderr] Compiling ethcontract-generate v0.9.1 [INFO] [stderr] Compiling ethcontract-derive v0.9.1 [INFO] [stderr] Checking ethcontract v0.9.1 (/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] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: clone [INFO] [stdout] --> examples/deployments.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | "examples/truffle/build/contracts/RustCoin.json", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustCoin` [INFO] [stdout] --> examples/deployments.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let instance = RustCoin::deployed(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RustCoin` [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] [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 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 (Could not resolve host: unpkg.io) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/error.rs:464:25 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/util.rs:67:27 [INFO] [stdout] 2: ethcontract_generate::source::get_npm_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:199:16 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:126:37 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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/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 read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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: 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] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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 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 (Could not resolve host: unpkg.io) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/error.rs:464:25 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/util.rs:67:27 [INFO] [stdout] 2: ethcontract_generate::source::get_npm_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:199:16 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:126:37 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 44: start_thread [INFO] [stdout] 45: clone [INFO] [stdout] --> examples/past_events.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiTypes` [INFO] [stdout] --> examples/abi.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let instance = AbiTypes::builder(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `abi_types` [INFO] [stdout] --> examples/abi.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | if let abi_types::Event::Values(data) = event.data { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `abi_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AbiTypes` in this scope [INFO] [stdout] --> examples/abi.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | 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:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | async fn events(instance: &AbiTypes) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OverloadedMethods` [INFO] [stdout] --> examples/overloaded.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let instance = OverloadedMethods::builder(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `OverloadedMethods` [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 (Could not resolve host: api.etherscan.io) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/error.rs:464:25 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/util.rs:67:27 [INFO] [stdout] 2: ethcontract_generate::source::get_etherscan_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:183:15 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:125:43 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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 read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/overloaded.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` block because of this `await` [INFO] [stdout] --> examples/overloaded.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let instance = OverloadedMethods::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: 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] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: clone [INFO] [stdout] --> examples/events.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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/overloaded.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | .get_value(84.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/overloaded.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / instance [INFO] [stdout] 25 | | .get_value(84.into()) [INFO] [stdout] 26 | | .call() [INFO] [stdout] 27 | | .await [INFO] [stdout] | |__________________^ [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: 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] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 46: start_thread [INFO] [stdout] 47: clone [INFO] [stdout] --> examples/async.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | 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] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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[E0433]: failed to resolve: use of undeclared type `TokenOWLProxy` [INFO] [stdout] --> examples/past_events.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let owl_proxy = TokenOWLProxy::deployed(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TokenOWLProxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/abi.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | .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:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / instance [INFO] [stdout] 83 | | .emit_values() [INFO] [stdout] 84 | | // NOTE: Gas estimation seems to not work for this call. [INFO] [stdout] 85 | | .gas(4_712_388.into()) [INFO] [stdout] 86 | | .send() [INFO] [stdout] 87 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/abi.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | .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` block because of this `await` [INFO] [stdout] --> examples/abi.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let instance = AbiTypes::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 12 | | .gas(4_712_388.into()) [INFO] [stdout] 13 | | .deploy() [INFO] [stdout] 14 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenOWL` [INFO] [stdout] --> examples/past_events.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | TokenOWL::with_transaction(&web3, owl_proxy.address(), owl_proxy.transaction_hash()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TokenOWL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustCoin` [INFO] [stdout] --> examples/events.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RustCoin` [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeployedContract` [INFO] [stdout] --> examples/rinkeby.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let mut instance = DeployedContract::deployed(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DeployedContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustCoin` [INFO] [stdout] --> examples/async.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RustCoin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> examples/past_events.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/events.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | .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:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / instance [INFO] [stdout] 29 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stdout] 30 | | .send() [INFO] [stdout] 31 | | .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` block must be known in this context [INFO] [stdout] --> examples/events.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | .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` block because of this `await` [INFO] [stdout] --> examples/events.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 15 | | .gas(4_712_388.into()) [INFO] [stdout] 16 | | .deploy() [INFO] [stdout] 17 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/events.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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 (Could not resolve host: unpkg.io) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/error.rs:464:25 [INFO] [stdout] 1: ethcontract_generate::util::http_get [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/util.rs:67:27 [INFO] [stdout] 2: ethcontract_generate::source::get_npm_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:199:16 [INFO] [stdout] 3: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:126:37 [INFO] [stdout] 4: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 5: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 6: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 7: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 8: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 10: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 11: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 12: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 13: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 15: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 16: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 17: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 18: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 19: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 20: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 21: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 22: __rust_try [INFO] [stdout] 23: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 26: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustCoin` in this scope [INFO] [stdout] --> examples/async.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | async fn print_balance_of(instance: &RustCoin, account: Address) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/rinkeby.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | .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` block because of this `await` [INFO] [stdout] --> examples/rinkeby.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / instance [INFO] [stdout] 49 | | .increment() [INFO] [stdout] 50 | | .confirmations(1) // wait for 1 block confirmation [INFO] [stdout] 51 | | .send() [INFO] [stdout] 52 | | .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] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:27:29 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::context::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:30 [INFO] [stdout] 2: core::result::Result::map_err [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/result.rs:595:27 [INFO] [stdout] 3: anyhow::context:: for core::result::Result>::context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.34/src/context.rs:50:9 [INFO] [stdout] 4: ethcontract_generate::source::get_local_contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:156:16 [INFO] [stdout] 5: ethcontract_generate::source::Source::artifact_json [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/source.rs:123:36 [INFO] [stdout] 6: ethcontract_generate::contract::Context::from_args [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:53:33 [INFO] [stdout] 7: ethcontract_generate::contract::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/contract.rs:148:14 [INFO] [stdout] 8: ethcontract_generate::Builder::generate [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-generate-0.9.1/src/lib.rs:235:22 [INFO] [stdout] 9: ethcontract_derive::expand [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:113:8 [INFO] [stdout] 10: ethcontract_derive::contract [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethcontract-derive-0.9.1/src/lib.rs:107:5 [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 12: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:40 [INFO] [stdout] 13: proc_macro::bridge::client::run_client::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:377:26 [INFO] [stdout] 14: proc_macro::bridge::scoped_cell::ScopedCell::set::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:33 [INFO] [stdout] 15: proc_macro::bridge::scoped_cell::ScopedCell::replace [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:75:9 [INFO] [stdout] 16: proc_macro::bridge::scoped_cell::ScopedCell::set [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/scoped_cell.rs:80:9 [INFO] [stdout] 17: proc_macro::bridge::client::::enter::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:35 [INFO] [stdout] 18: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:272:16 [INFO] [stdout] 19: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/thread/local.rs:248:9 [INFO] [stdout] 20: proc_macro::bridge::client::::enter [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:325:9 [INFO] [stdout] 21: proc_macro::bridge::client::run_client::{{closure}} [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:370:9 [INFO] [stdout] 22: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: std::panicking::try::do_call [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: __rust_try [INFO] [stdout] 25: std::panicking::try [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: std::panic::catch_unwind [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: proc_macro::bridge::client::run_client [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:369:5 [INFO] [stdout] 28: proc_macro::bridge::client::Client proc_macro::TokenStream>::expand1::run [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/proc_macro/src/bridge/client.rs:410:13 [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: rustc_span::with_session_globals [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/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/alloc/src/boxed.rs:1482:9 [INFO] [stdout] std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/a609fb45efad59dfd459c76e50899be9f0583b5a/library/std/src/sys/unix/thread.rs:71:17 [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: 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] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/async.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | .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` block because of this `await` [INFO] [stdout] --> examples/async.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let instance = RustCoin::builder(&web3) [INFO] [stdout] | ____________________^ [INFO] [stdout] 14 | | .gas(4_712_388.into()) [INFO] [stdout] 15 | | .deploy() [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/async.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | .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/async.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / instance [INFO] [stdout] 22 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stdout] 23 | | .send() [INFO] [stdout] 24 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/async.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | .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` block because of this `await` [INFO] [stdout] --> examples/async.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / instance [INFO] [stdout] 27 | | .transfer(accounts[2], 500_000.into()) [INFO] [stdout] 28 | | .from(Account::Local(accounts[1], None)) [INFO] [stdout] 29 | | .send() [INFO] [stdout] 30 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/async.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | .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` block because of this `await` [INFO] [stdout] --> examples/async.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / instance [INFO] [stdout] 58 | | .transfer(x, 1_000_000.into()) [INFO] [stdout] 59 | | .send() [INFO] [stdout] 60 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/async.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | .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` block because of this `await` [INFO] [stdout] --> examples/async.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / instance [INFO] [stdout] 63 | | .transfer(accounts[4], 420.into()) [INFO] [stdout] 64 | | .from(Account::Offline(key, None)) [INFO] [stdout] 65 | | .send() [INFO] [stdout] 66 | | .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] error[E0433]: failed to resolve: use of undeclared type `SimpleLibrary` [INFO] [stdout] --> examples/linked.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let library = SimpleLibrary::builder(&web3) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SimpleLibrary` [INFO] [stdout] [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 `LinkedContract` [INFO] [stdout] --> examples/linked.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = LinkedContract::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `LinkedContract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linked_contract` [INFO] [stdout] --> examples/linked.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | linked_contract::Libraries { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `linked_contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Owl` [INFO] [stdout] --> examples/sources.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let instance = Owl::deployed(&web3) [INFO] [stdout] | ^^^ use of undeclared type `Owl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenOWL` [INFO] [stdout] --> examples/sources.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let instance = TokenOWL::deployed(&web3) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TokenOWL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/linked.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | .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` block because of this `await` [INFO] [stdout] --> examples/linked.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let library = SimpleLibrary::builder(&web3) [INFO] [stdout] | ___________________^ [INFO] [stdout] 12 | | .gas(4_712_388.into()) [INFO] [stdout] 13 | | .deploy() [INFO] [stdout] 14 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/linked.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 1337.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/linked.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = LinkedContract::builder( [INFO] [stdout] | ____________________^ [INFO] [stdout] 17 | | &web3, [INFO] [stdout] 18 | | linked_contract::Libraries { [INFO] [stdout] 19 | | simple_library: library.address(), [INFO] [stdout] ... | [INFO] [stdout] 24 | | .deploy() [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/linked.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | .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` block because of this `await` [INFO] [stdout] --> examples/linked.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let instance = LinkedContract::builder( [INFO] [stdout] | ____________________^ [INFO] [stdout] 17 | | &web3, [INFO] [stdout] 18 | | linked_contract::Libraries { [INFO] [stdout] 19 | | simple_library: library.address(), [INFO] [stdout] ... | [INFO] [stdout] 24 | | .deploy() [INFO] [stdout] 25 | | .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: E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5ef888d3eb7ff68829177b0d57eace78c1ca45c7a1597d37b887f057ba670418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef888d3eb7ff68829177b0d57eace78c1ca45c7a1597d37b887f057ba670418", kill_on_drop: false }` [INFO] [stdout] 5ef888d3eb7ff68829177b0d57eace78c1ca45c7a1597d37b887f057ba670418