[INFO] fetching crate ethers-contract 0.1.3... [INFO] testing ethers-contract-0.1.3 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate ethers-contract 0.1.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ethers-contract 0.1.3 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-contract 0.1.3 [INFO] finished tweaking crates.io crate ethers-contract 0.1.3 [INFO] tweaked toml for crates.io crate ethers-contract 0.1.3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethers-signers v0.1.3 [INFO] [stderr] Downloaded ethers-contract-derive v0.1.3 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77d515e20aeaa4da5910850a0f512e422d22635c4fc33b0aed55f65a210dd632 [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" "77d515e20aeaa4da5910850a0f512e422d22635c4fc33b0aed55f65a210dd632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77d515e20aeaa4da5910850a0f512e422d22635c4fc33b0aed55f65a210dd632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d515e20aeaa4da5910850a0f512e422d22635c4fc33b0aed55f65a210dd632", kill_on_drop: false }` [INFO] [stdout] 77d515e20aeaa4da5910850a0f512e422d22635c4fc33b0aed55f65a210dd632 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70e18613bab757199d0018de6f428b63ea5240c3c594e769fe5de3fa3d1c273f [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" "70e18613bab757199d0018de6f428b63ea5240c3c594e769fe5de3fa3d1c273f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling ring v0.16.18 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling parity-scale-codec v1.3.5 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ethbloom v0.9.2 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.7.3 [INFO] [stderr] Compiling ethereum-types v0.9.2 [INFO] [stderr] Compiling ethabi-next v12.0.1 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.9 [INFO] [stderr] Compiling ethers-core v0.1.3 [INFO] [stderr] Compiling ethers-providers v0.1.3 [INFO] [stderr] Compiling ethers-signers v0.1.3 [INFO] [stderr] Compiling ethers-contract v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 21s [INFO] running `Command { std: "docker" "inspect" "70e18613bab757199d0018de6f428b63ea5240c3c594e769fe5de3fa3d1c273f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e18613bab757199d0018de6f428b63ea5240c3c594e769fe5de3fa3d1c273f", kill_on_drop: false }` [INFO] [stdout] 70e18613bab757199d0018de6f428b63ea5240c3c594e769fe5de3fa3d1c273f [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1b2eb63bc221b9400ac00b8370d76b3a6258fea030746ef580c082eafa24c637 [INFO] running `Command { std: "docker" "start" "-a" "1b2eb63bc221b9400ac00b8370d76b3a6258fea030746ef580c082eafa24c637", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling serial_test v0.4.0 [INFO] [stderr] Compiling ethers-contract v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::{contract::ContractFactory, types::H256}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> tests/contract.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use ethers::{providers::StreamExt, types::Address, utils::Ganache}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> tests/contract.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let _ganache = Ganache::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Ganache; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContractFactory` [INFO] [stdout] --> tests/contract.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let factory = ContractFactory::new(abi, bytecode, &client); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::ContractFactory; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_contract::ContractFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let last_sender = contract.method::<_, Address>("lastSender", ()).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | .method::<_, H256>("setValue", "hi".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> tests/contract.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | .method::<_, Address>("lastSender", ()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address` [INFO] [stdout] --> tests/contract.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(init_address, Address::zero()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::abi::Address; [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | .method::<_, H256>("setValue", "hi".to_owned()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `H256` in this scope [INFO] [stdout] --> tests/contract.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | .method::<_, H256>("setValue", i.to_string()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for opaque type `impl Stream` in the current scope [INFO] [stdout] --> tests/contract.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | let log = stream.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^ method not found in `impl Stream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use std::iter::Iterator;` [INFO] [stdout] candidate #2: `use std::str::pattern::Searcher;` [INFO] [stdout] candidate #3: `use serde_json::read::Read;` [INFO] [stdout] candidate #4: `use tokio::stream::StreamExt;` [INFO] [stdout] candidate #5: `use ethers_providers::StreamExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethers-contract` [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: build failed [INFO] running `Command { std: "docker" "inspect" "1b2eb63bc221b9400ac00b8370d76b3a6258fea030746ef580c082eafa24c637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2eb63bc221b9400ac00b8370d76b3a6258fea030746ef580c082eafa24c637", kill_on_drop: false }` [INFO] [stdout] 1b2eb63bc221b9400ac00b8370d76b3a6258fea030746ef580c082eafa24c637