[INFO] fetching crate ethers-contract 0.1.3... [INFO] checking ethers-contract-0.1.3 against beta for pr-78714 [INFO] extracting crate ethers-contract 0.1.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate ethers-contract 0.1.3 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 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] e220469e8dce2bb6e83644961e6d59e6ec1add63a2a117b702ce5b5d26f73964 [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" "e220469e8dce2bb6e83644961e6d59e6ec1add63a2a117b702ce5b5d26f73964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e220469e8dce2bb6e83644961e6d59e6ec1add63a2a117b702ce5b5d26f73964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e220469e8dce2bb6e83644961e6d59e6ec1add63a2a117b702ce5b5d26f73964", kill_on_drop: false }` [INFO] [stdout] e220469e8dce2bb6e83644961e6d59e6ec1add63a2a117b702ce5b5d26f73964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] bbcf543d097bbb18e06a67aeb363f2328049e13731c218fc7384689b3cf401fb [INFO] running `Command { std: "docker" "start" "-a" "bbcf543d097bbb18e06a67aeb363f2328049e13731c218fc7384689b3cf401fb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking ethabi-next v12.0.1 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking ethers-core v0.1.3 [INFO] [stderr] Checking ethers-providers v0.1.3 [INFO] [stderr] Checking ethers-signers v0.1.3 [INFO] [stderr] Checking 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] running `Command { std: "docker" "inspect" "bbcf543d097bbb18e06a67aeb363f2328049e13731c218fc7384689b3cf401fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcf543d097bbb18e06a67aeb363f2328049e13731c218fc7384689b3cf401fb", kill_on_drop: false }` [INFO] [stdout] bbcf543d097bbb18e06a67aeb363f2328049e13731c218fc7384689b3cf401fb