[INFO] fetching crate ethcontract 0.9.0... [INFO] checking ethcontract-0.9.0 against beta for pr-78714 [INFO] extracting crate ethcontract 0.9.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ethcontract 0.9.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract 0.9.0 [INFO] finished tweaking crates.io crate ethcontract 0.9.0 [INFO] tweaked toml for crates.io crate ethcontract 0.9.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate ethcontract 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c1f8f0f635bb85cb237a30ff134b3164d8fedfbd3219aae5a3bb278fc1373de [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" "9c1f8f0f635bb85cb237a30ff134b3164d8fedfbd3219aae5a3bb278fc1373de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c1f8f0f635bb85cb237a30ff134b3164d8fedfbd3219aae5a3bb278fc1373de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1f8f0f635bb85cb237a30ff134b3164d8fedfbd3219aae5a3bb278fc1373de", kill_on_drop: false }` [INFO] [stdout] 9c1f8f0f635bb85cb237a30ff134b3164d8fedfbd3219aae5a3bb278fc1373de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 4d6d01f0907613ca3e264011d619e4965abe9974be4fce524b7cee0717445aff [INFO] running `Command { std: "docker" "start" "-a" "4d6d01f0907613ca3e264011d619e4965abe9974be4fce524b7cee0717445aff", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling libz-sys v1.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 concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Checking openssl v0.10.30 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Checking secp256k1 v0.19.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking jsonrpc-core v14.2.0 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking async-std v1.7.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking ethabi v12.0.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling parity-scale-codec v1.3.5 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.59 [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] Compiling impl-codec v0.4.2 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking web3 v0.13.0 [INFO] [stderr] Checking ethcontract-common v0.9.0 [INFO] [stderr] Compiling ethcontract-generate v0.9.0 [INFO] [stderr] Compiling ethcontract-derive v0.9.0 [INFO] [stderr] Checking ethcontract v0.9.0 (/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/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/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] --> 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[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: 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: 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: 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 `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: 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] [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 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[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[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: 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: 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] [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[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[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[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[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 `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[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/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[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: 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[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 `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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[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: aborting due to 2 previous errors [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] For more information about this error, try `rustc --explain E0433`. [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[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: 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[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] 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 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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4d6d01f0907613ca3e264011d619e4965abe9974be4fce524b7cee0717445aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6d01f0907613ca3e264011d619e4965abe9974be4fce524b7cee0717445aff", kill_on_drop: false }` [INFO] [stdout] 4d6d01f0907613ca3e264011d619e4965abe9974be4fce524b7cee0717445aff