[INFO] crate ethcontract 0.7.2 is already in cache [INFO] testing ethcontract-0.7.2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate ethcontract 0.7.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ethcontract 0.7.2 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ethcontract 0.7.2 [INFO] finished tweaking crates.io crate ethcontract 0.7.2 [INFO] tweaked toml for crates.io crate ethcontract 0.7.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate ethcontract 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 6dbdf5ca6a741a07b98630cae0cb7ac7aa6efb248657dd4d8be27faaa68dd2b4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6dbdf5ca6a741a07b98630cae0cb7ac7aa6efb248657dd4d8be27faaa68dd2b4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling rlp v0.4.5 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket v0.21.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling ethbloom v0.8.1 [INFO] [stderr] Compiling ethbloom v0.9.1 [INFO] [stderr] Compiling jsonrpc-core v14.1.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.6.2 [INFO] [stderr] Compiling primitive-types v0.7.0 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling ethereum-types v0.9.1 [INFO] [stderr] Compiling ethabi v9.0.1 [INFO] [stderr] Compiling ethabi v12.0.0 [INFO] [stderr] Compiling web3 v0.10.0 [INFO] [stderr] Compiling ethcontract-common v0.7.2 [INFO] [stderr] Compiling ethcontract-generate v0.7.2 [INFO] [stderr] Compiling ethcontract-derive v0.7.2 [INFO] [stderr] Compiling ethcontract v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 35s [INFO] running `"docker" "inspect" "6dbdf5ca6a741a07b98630cae0cb7ac7aa6efb248657dd4d8be27faaa68dd2b4"` [INFO] running `"docker" "rm" "-f" "6dbdf5ca6a741a07b98630cae0cb7ac7aa6efb248657dd4d8be27faaa68dd2b4"` [INFO] [stdout] 6dbdf5ca6a741a07b98630cae0cb7ac7aa6efb248657dd4d8be27faaa68dd2b4 [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a771b8995f66347c40d9ae6e9fa599f8232a9697898a8e16e2f5c437de5004f4 [INFO] running `"docker" "start" "-a" "a771b8995f66347c40d9ae6e9fa599f8232a9697898a8e16e2f5c437de5004f4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ethcontract v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/overloaded.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | "examples/truffle/build/contracts/OverloadedMethods.json", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OverloadedMethods` [INFO] [stderr] --> examples/overloaded.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let instance = OverloadedMethods::builder(&web3) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `OverloadedMethods` [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to retrieve ABI from Etherscan.io [INFO] [stderr] 1: [6] Couldn't resolve host name [INFO] [stderr] --> examples/sources.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | "etherscan:0x60fbbd1fb0076971e8060631b5dd895f55ad5ab7", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json [INFO] [stderr] 1: [6] Couldn't resolve host name [INFO] [stderr] --> examples/sources.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Owl` [INFO] [stderr] --> examples/sources.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | let instance = Owl::deployed(&web3) [INFO] [stderr] | ^^^ use of undeclared type or module `Owl` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TokenOWL` [INFO] [stderr] --> examples/sources.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | let instance = TokenOWL::deployed(&web3) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `TokenOWL` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [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] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/overloaded.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/overloaded.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let instance = OverloadedMethods::builder(&web3) [INFO] [stderr] | ____________________^ [INFO] [stderr] 20 | | .gas(4_712_388.into()) [INFO] [stderr] 21 | | .deploy() [INFO] [stderr] 22 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/overloaded.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | .get_value(84.into()) [INFO] [stderr] | ^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/overloaded.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | / instance [INFO] [stderr] 29 | | .get_value(84.into()) [INFO] [stderr] 30 | | .call() [INFO] [stderr] 31 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWLProxy.json [INFO] [stderr] 1: [6] Couldn't resolve host name [INFO] [stderr] --> examples/past_events.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWLProxy.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to retrieve JSON from for npm package @gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json [INFO] [stderr] 1: [6] Couldn't resolve host name [INFO] [stderr] --> examples/past_events.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | ethcontract::contract!("npm:@gnosis.pm/owl-token@3.1.0/build/contracts/TokenOWL.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TokenOWLProxy` [INFO] [stderr] --> examples/past_events.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | let owl_proxy = TokenOWLProxy::deployed(&web3) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `TokenOWLProxy` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TokenOWL` [INFO] [stderr] --> examples/past_events.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | TokenOWL::with_transaction(&web3, owl_proxy.address(), owl_proxy.transaction_hash()); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `TokenOWL` [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/deployments.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | "examples/truffle/build/contracts/RustCoin.json", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stderr] --> examples/deployments.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | let instance = RustCoin::deployed(&web3) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/events.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | ethcontract::contract!("examples/truffle/build/contracts/RustCoin.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stderr] --> examples/events.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | let instance = RustCoin::builder(&web3) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/linked.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | ethcontract::contract!("examples/truffle/build/contracts/SimpleLibrary.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/linked.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | ethcontract::contract!("examples/truffle/build/contracts/LinkedContract.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SimpleLibrary` [INFO] [stderr] --> examples/linked.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | let library = SimpleLibrary::builder(&web3) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `SimpleLibrary` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LinkedContract` [INFO] [stderr] --> examples/linked.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | let instance = LinkedContract::builder( [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `LinkedContract` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `linked_contract` [INFO] [stderr] --> examples/linked.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | linked_contract::Libraries { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `linked_contract` [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/abi.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | ethcontract::contract!("examples/truffle/build/contracts/AbiTypes.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AbiTypes` [INFO] [stderr] --> examples/abi.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | let instance = AbiTypes::builder(&web3) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `AbiTypes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `abi_types` [INFO] [stderr] --> examples/abi.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | if let abi_types::Event::Values(data) = event.inner_data() { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `abi_types` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AbiTypes` in this scope [INFO] [stderr] --> examples/abi.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | async fn calls(instance: &AbiTypes) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AbiTypes` in this scope [INFO] [stderr] --> examples/abi.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | async fn events(instance: &AbiTypes) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/rinkeby.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | ethcontract::contract!("examples/truffle/build/contracts/DeployedContract.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeployedContract` [INFO] [stderr] --> examples/rinkeby.rs:34:28 [INFO] [stderr] | [INFO] [stderr] 34 | let mut instance = DeployedContract::deployed(&web3) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `DeployedContract` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/linked.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/linked.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | let library = SimpleLibrary::builder(&web3) [INFO] [stderr] | ___________________^ [INFO] [stderr] 16 | | .gas(4_712_388.into()) [INFO] [stderr] 17 | | .deploy() [INFO] [stderr] 18 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/linked.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | 1337.into(), [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/linked.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | let instance = LinkedContract::builder( [INFO] [stderr] | ____________________^ [INFO] [stderr] 21 | | &web3, [INFO] [stderr] 22 | | linked_contract::Libraries { [INFO] [stderr] 23 | | simple_library: library.address(), [INFO] [stderr] ... | [INFO] [stderr] 28 | | .deploy() [INFO] [stderr] 29 | | .await [INFO] [stderr] | |__________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/linked.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/linked.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | let instance = LinkedContract::builder( [INFO] [stderr] | ____________________^ [INFO] [stderr] 21 | | &web3, [INFO] [stderr] 22 | | linked_contract::Libraries { [INFO] [stderr] 23 | | simple_library: library.address(), [INFO] [stderr] ... | [INFO] [stderr] 28 | | .deploy() [INFO] [stderr] 29 | | .await [INFO] [stderr] | |__________^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: failed to get artifact JSON [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] 0: failed to read artifact JSON file [INFO] [stderr] 1: No such file or directory (os error 2) [INFO] [stderr] --> examples/async.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | ethcontract::contract!("examples/truffle/build/contracts/RustCoin.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stderr] --> examples/async.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | let instance = RustCoin::builder(&web3) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RustCoin` in this scope [INFO] [stderr] --> examples/async.rs:94:38 [INFO] [stderr] | [INFO] [stderr] 94 | async fn print_balance_of(instance: &RustCoin, account: Address) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/abi.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/abi.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | let instance = AbiTypes::builder(&web3) [INFO] [stderr] | ____________________^ [INFO] [stderr] 16 | | .gas(4_712_388.into()) [INFO] [stderr] 17 | | .deploy() [INFO] [stderr] 18 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> examples/events.rs:38:40 [INFO] [stderr] | [INFO] [stderr] 38 | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/events.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | / instance [INFO] [stderr] 38 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] 39 | | .send() [INFO] [stderr] 40 | | .await [INFO] [stderr] | |______________________^ [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/events.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/events.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | let instance = RustCoin::builder(&web3) [INFO] [stderr] | ____________________^ [INFO] [stderr] 25 | | .gas(4_712_388.into()) [INFO] [stderr] 26 | | .deploy() [INFO] [stderr] 27 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::stream::StreamExt` [INFO] [stderr] --> examples/events.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::stream::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/abi.rs:89:14 [INFO] [stderr] | [INFO] [stderr] 89 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/abi.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / instance [INFO] [stderr] 87 | | .emit_values() [INFO] [stderr] 88 | | // NOTE: Gas estimation seems to not work for this call. [INFO] [stderr] 89 | | .gas(4_712_388.into()) [INFO] [stderr] 90 | | .send() [INFO] [stderr] 91 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/rinkeby.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | .confirmations(1) // wait for 1 block confirmation [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/rinkeby.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | / instance [INFO] [stderr] 53 | | .increment() [INFO] [stderr] 54 | | .confirmations(1) // wait for 1 block confirmation [INFO] [stderr] 55 | | .send() [INFO] [stderr] 56 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/async.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 24 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/async.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | let instance = RustCoin::builder(&web3) [INFO] [stderr] | ____________________^ [INFO] [stderr] 24 | | .gas(4_712_388.into()) [INFO] [stderr] 25 | | .deploy() [INFO] [stderr] 26 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/async.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/async.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / instance [INFO] [stderr] 32 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] 33 | | .send() [INFO] [stderr] 34 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/async.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | .transfer(accounts[2], 500_000.into()) [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/async.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / instance [INFO] [stderr] 37 | | .transfer(accounts[2], 500_000.into()) [INFO] [stderr] 38 | | .from(Account::Local(accounts[1], None)) [INFO] [stderr] 39 | | .send() [INFO] [stderr] 40 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/async.rs:69:22 [INFO] [stderr] | [INFO] [stderr] 69 | .transfer(x, 1_000_000.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/async.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | / instance [INFO] [stderr] 69 | | .transfer(x, 1_000_000.into()) [INFO] [stderr] 70 | | .send() [INFO] [stderr] 71 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/async.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | .transfer(accounts[4], 420.into()) [INFO] [stderr] | ^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> examples/async.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | / instance [INFO] [stderr] 74 | | .transfer(accounts[4], 420.into()) [INFO] [stderr] 75 | | .from(Account::Offline(key, None)) [INFO] [stderr] 76 | | .send() [INFO] [stderr] 77 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a771b8995f66347c40d9ae6e9fa599f8232a9697898a8e16e2f5c437de5004f4"` [INFO] running `"docker" "rm" "-f" "a771b8995f66347c40d9ae6e9fa599f8232a9697898a8e16e2f5c437de5004f4"` [INFO] [stdout] a771b8995f66347c40d9ae6e9fa599f8232a9697898a8e16e2f5c437de5004f4