[INFO] crate ethcontract 0.4.2 is already in cache [INFO] checking ethcontract-0.4.2 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate ethcontract 0.4.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ethcontract 0.4.2 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ethcontract 0.4.2 [INFO] finished tweaking crates.io crate ethcontract 0.4.2 [INFO] tweaked toml for crates.io crate ethcontract 0.4.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate ethcontract 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 171bb8b3d2540ef3b978a93c0f0108ed45e61e6932ab3971a0fbf940cad137b3 [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" "171bb8b3d2540ef3b978a93c0f0108ed45e61e6932ab3971a0fbf940cad137b3"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling hex v0.4.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Checking rlp v0.4.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Checking uint v0.8.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking fixed-hash v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Checking parity-scale-codec v1.1.2 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking impl-serde v0.3.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Checking ethbloom v0.8.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking jsonrpc-core v14.0.5 [INFO] [stderr] Checking secp256k1 v0.17.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.6.2 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking tokio-uds v0.1.7 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking ethereum-types v0.8.0 [INFO] [stderr] Checking ethabi v9.0.1 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Checking websocket v0.21.1 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking web3 v0.10.0 [INFO] [stderr] Checking ethcontract-common v0.4.2 [INFO] [stderr] Compiling ethcontract-generate v0.4.2 [INFO] [stderr] Compiling ethcontract-derive v0.4.2 [INFO] [stderr] Checking ethcontract v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] error: unable to open file from working dir /opt/rustwide/workdir with path examples/truffle/build/contracts/DeployedContract.json [INFO] [stderr] --> examples/rinkeby.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | 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:35:28 [INFO] [stderr] | [INFO] [stderr] 35 | let mut instance = DeployedContract::deployed(&web3) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `DeployedContract` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/rinkeby.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | .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:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | / instance [INFO] [stderr] 48 | | .increment() [INFO] [stderr] 49 | | .confirmations(1) // wait for 1 block confirmation [INFO] [stderr] 50 | | .send() [INFO] [stderr] 51 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [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: 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: unable to open file from working dir /opt/rustwide/workdir with path examples/truffle/build/contracts/RustCoin.json [INFO] [stderr] --> examples/deployments.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | "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:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | let instance = RustCoin::deployed(&web3) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `RustCoin` [INFO] [stderr] [INFO] [stderr] error: unable to open file from working dir /opt/rustwide/workdir with path examples/truffle/build/contracts/SimpleLibrary.json [INFO] [stderr] --> examples/linked.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | ethcontract::contract!("examples/truffle/build/contracts/SimpleLibrary.json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: unable to open file from working dir /opt/rustwide/workdir with path examples/truffle/build/contracts/LinkedContract.json [INFO] [stderr] --> examples/linked.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | 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:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | 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:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let instance = LinkedContract::builder(&web3, library.address(), 1337.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `LinkedContract` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> examples/linked.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | .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:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | let library = SimpleLibrary::builder(&web3) [INFO] [stderr] | ___________________^ [INFO] [stderr] 17 | | .gas(4_712_388.into()) [INFO] [stderr] 18 | | .deploy() [INFO] [stderr] 19 | | .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:21:70 [INFO] [stderr] | [INFO] [stderr] 21 | let instance = LinkedContract::builder(&web3, library.address(), 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:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let instance = LinkedContract::builder(&web3, library.address(), 1337.into()) [INFO] [stderr] | ____________________^ [INFO] [stderr] 22 | | .gas(4_712_388.into()) [INFO] [stderr] 23 | | .deploy() [INFO] [stderr] 24 | | .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:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | .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:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let instance = LinkedContract::builder(&web3, library.address(), 1337.into()) [INFO] [stderr] | ____________________^ [INFO] [stderr] 22 | | .gas(4_712_388.into()) [INFO] [stderr] 23 | | .deploy() [INFO] [stderr] 24 | | .await [INFO] [stderr] | |______________^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 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: aborting due to 2 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: 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: unable to open file from working dir /opt/rustwide/workdir with path examples/truffle/build/contracts/RustCoin.json [INFO] [stderr] --> examples/async.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | 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:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | 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:86:38 [INFO] [stderr] | [INFO] [stderr] 86 | 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/async.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | .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:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | let instance = RustCoin::builder(&web3) [INFO] [stderr] | ____________________^ [INFO] [stderr] 26 | | .gas(4_712_388.into()) [INFO] [stderr] 27 | | .deploy() [INFO] [stderr] 28 | | .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:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | .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:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | / instance [INFO] [stderr] 34 | | .transfer(accounts[1], 1_000_000.into()) [INFO] [stderr] 35 | | .send() [INFO] [stderr] 36 | | .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:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | .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:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | / instance [INFO] [stderr] 39 | | .transfer(accounts[2], 500_000.into()) [INFO] [stderr] 40 | | .from(Account::Local(accounts[1], None)) [INFO] [stderr] 41 | | .send() [INFO] [stderr] 42 | | .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:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | .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:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | / instance [INFO] [stderr] 71 | | .transfer(x, 1_000_000.into()) [INFO] [stderr] 72 | | .send() [INFO] [stderr] 73 | | .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:76:32 [INFO] [stderr] | [INFO] [stderr] 76 | .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:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | / instance [INFO] [stderr] 76 | | .transfer(accounts[4], 420.into()) [INFO] [stderr] 77 | | .from(Account::Offline(key, None)) [INFO] [stderr] 78 | | .send() [INFO] [stderr] 79 | | .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: could not compile `ethcontract`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "171bb8b3d2540ef3b978a93c0f0108ed45e61e6932ab3971a0fbf940cad137b3"` [INFO] running `"docker" "rm" "-f" "171bb8b3d2540ef3b978a93c0f0108ed45e61e6932ab3971a0fbf940cad137b3"` [INFO] [stdout] 171bb8b3d2540ef3b978a93c0f0108ed45e61e6932ab3971a0fbf940cad137b3