[INFO] crate ethcontract 0.1.0 is already in cache [INFO] checking ethcontract-0.1.0 against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] extracting crate ethcontract 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ethcontract 0.1.0 on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ethcontract 0.1.0 [INFO] finished tweaking crates.io crate ethcontract 0.1.0 [INFO] tweaked toml for crates.io crate ethcontract 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate ethcontract 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07eae50e7564b741e455f0bf1ab6e9c26b0f14f8674c4a97a90d52549eff9d7f [INFO] running `"docker" "start" "-a" "07eae50e7564b741e455f0bf1ab6e9c26b0f14f8674c4a97a90d52549eff9d7f"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Checking subtle v2.2.1 [INFO] [stderr] Checking zeroize v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking rlp v0.4.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.19 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling uint v0.7.1 [INFO] [stderr] Compiling http v0.1.19 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking block-modes v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking secp256k1 v0.15.5 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking scrypt v0.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking parity-crypto v0.4.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking tokio-uds v0.1.7 [INFO] [stderr] Checking websocket v0.21.1 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling thiserror-impl v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.4 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking parity-codec v3.5.4 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking ethsign v0.7.3 [INFO] [stderr] Checking ethbloom v0.6.4 [INFO] [stderr] Checking impl-codec v0.2.0 [INFO] [stderr] Checking jsonrpc-core v11.0.0 [INFO] [stderr] Checking primitive-types v0.3.0 [INFO] [stderr] Checking ethereum-types v0.6.0 [INFO] [stderr] Checking ethabi v8.0.1 [INFO] [stderr] Checking web3 v0.8.0 [INFO] [stderr] Checking ethcontract-common v0.1.0 [INFO] [stderr] Compiling ethcontract-derive v0.1.0 [INFO] [stderr] Checking ethcontract v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to open contract artifact file: No such file or directory (os error 2) [INFO] [stderr] --> examples/async.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | ethcontract::contract!("examples/truffle/build/contracts/RustCoin.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RustCoin` [INFO] [stderr] --> examples/async.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | let instance = RustCoin::deploy(&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:12:42 [INFO] [stderr] | [INFO] [stderr] 12 | 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` block must be known in this context [INFO] [stderr] --> examples/async.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | .gas(4_712_388.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/async.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | let instance = RustCoin::deploy(&web3) [INFO] [stderr] | ________________________^ [INFO] [stderr] 29 | | .gas(4_712_388.into()) [INFO] [stderr] 30 | | .confirmations(0) [INFO] [stderr] 31 | | .deploy() [INFO] [stderr] 32 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> examples/async.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | .confirmations(0) [INFO] [stderr] | ^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/async.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | let instance = RustCoin::deploy(&web3) [INFO] [stderr] | ________________________^ [INFO] [stderr] 29 | | .gas(4_712_388.into()) [INFO] [stderr] 30 | | .confirmations(0) [INFO] [stderr] 31 | | .deploy() [INFO] [stderr] 32 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> examples/async.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/async.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | / instance [INFO] [stderr] 38 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] 39 | | .execute() [INFO] [stderr] 40 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> examples/async.rs:43:36 [INFO] [stderr] | [INFO] [stderr] 43 | .transfer(accounts[2], 500_000.into()) [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/async.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | / instance [INFO] [stderr] 43 | | .transfer(accounts[2], 500_000.into()) [INFO] [stderr] 44 | | .from(Account::Local(accounts[1], None)) [INFO] [stderr] 45 | | .execute() [INFO] [stderr] 46 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> examples/async.rs:78:26 [INFO] [stderr] | [INFO] [stderr] 78 | .transfer(x, 1_000_000.into()) [INFO] [stderr] | ^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/async.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / instance [INFO] [stderr] 78 | | .transfer(x, 1_000_000.into()) [INFO] [stderr] 79 | | .execute() [INFO] [stderr] 80 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> examples/async.rs:83:36 [INFO] [stderr] | [INFO] [stderr] 83 | .transfer(accounts[4], 420.into()) [INFO] [stderr] | ^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> examples/async.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | / instance [INFO] [stderr] 83 | | .transfer(accounts[4], 420.into()) [INFO] [stderr] 84 | | .from(Account::Offline(key, None)) [INFO] [stderr] 85 | | .execute() [INFO] [stderr] 86 | | .await [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 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: could not compile `ethcontract`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "07eae50e7564b741e455f0bf1ab6e9c26b0f14f8674c4a97a90d52549eff9d7f"` [INFO] running `"docker" "rm" "-f" "07eae50e7564b741e455f0bf1ab6e9c26b0f14f8674c4a97a90d52549eff9d7f"` [INFO] [stdout] 07eae50e7564b741e455f0bf1ab6e9c26b0f14f8674c4a97a90d52549eff9d7f