[INFO] fetching crate ethcontract 0.9.1... [INFO] testing ethcontract-0.9.1 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate ethcontract 0.9.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ethcontract 0.9.1 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-14/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethcontract-derive v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9a93aea750feac06f5af961bac74dcc56d580042dbf2172b47cd32d410ce7b8 [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" "b9a93aea750feac06f5af961bac74dcc56d580042dbf2172b47cd32d410ce7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9a93aea750feac06f5af961bac74dcc56d580042dbf2172b47cd32d410ce7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a93aea750feac06f5af961bac74dcc56d580042dbf2172b47cd32d410ce7b8", kill_on_drop: false }` [INFO] [stdout] b9a93aea750feac06f5af961bac74dcc56d580042dbf2172b47cd32d410ce7b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64acd01a85acbeaa342c8ccb114a05cf943834ecb84b9e444730d23260136280 [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" "64acd01a85acbeaa342c8ccb114a05cf943834ecb84b9e444730d23260136280", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling async-executor v1.3.0 [INFO] [stderr] Compiling async-io v1.1.10 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling async-std v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling secp256k1 v0.19.0 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling futures-executor v0.3.7 [INFO] [stderr] Compiling futures v0.3.7 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling parity-scale-codec v1.3.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling ethbloom v0.9.2 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.7.3 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling ethereum-types v0.9.2 [INFO] [stderr] Compiling ethabi v12.0.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling web3 v0.13.0 [INFO] [stderr] Compiling ethcontract-common v0.9.1 [INFO] [stderr] Compiling ethcontract-generate v0.9.1 [INFO] [stderr] Compiling ethcontract-derive v0.9.1 [INFO] [stderr] Compiling ethcontract v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "64acd01a85acbeaa342c8ccb114a05cf943834ecb84b9e444730d23260136280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64acd01a85acbeaa342c8ccb114a05cf943834ecb84b9e444730d23260136280", kill_on_drop: false }` [INFO] [stdout] 64acd01a85acbeaa342c8ccb114a05cf943834ecb84b9e444730d23260136280 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--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] 0e601ae10d2f9cca65e6cd539060b865cb8beca40739cc5838737b0e82524c77 [INFO] running `Command { std: "docker" "start" "-a" "0e601ae10d2f9cca65e6cd539060b865cb8beca40739cc5838737b0e82524c77", kill_on_drop: false }` [INFO] [stderr] Compiling 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] --> 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[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[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 ABI from Etherscan.io [INFO] [stdout] 1: [6] Couldn't resolve host name (Could not resolve host: api.etherscan.io) [INFO] [stdout] --> examples/sources.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | "etherscan:0x60fbbd1fb0076971e8060631b5dd895f55ad5ab7", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json [INFO] [stdout] 1: [6] Couldn't resolve host name (Could not resolve host: unpkg.io) [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] [stderr] error: could not compile `ethcontract` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] --> 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 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] --> 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 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] --> 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 `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] 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[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[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[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: 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] --> 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[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] 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] For more information about this 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] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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: 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] --> 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: 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] --> examples/linked.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | ethcontract::contract!("examples/truffle/build/contracts/SimpleLibrary.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to get artifact JSON [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: failed to read artifact JSON file [INFO] [stdout] 1: No such file or directory (os error 2) [INFO] [stdout] --> 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: 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] --> 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[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] 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 `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[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] 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] 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/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[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: 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] --> 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: 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[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[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[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[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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0e601ae10d2f9cca65e6cd539060b865cb8beca40739cc5838737b0e82524c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e601ae10d2f9cca65e6cd539060b865cb8beca40739cc5838737b0e82524c77", kill_on_drop: false }` [INFO] [stdout] 0e601ae10d2f9cca65e6cd539060b865cb8beca40739cc5838737b0e82524c77