[INFO] fetching crate ethers-contract 0.1.3... [INFO] checking ethers-contract-0.1.3 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate ethers-contract 0.1.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ethers-contract 0.1.3 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethers-signers v0.1.3 [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded ethers-contract-derive v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a623b9e5b07af58874c451238baaba3257e2111b5dc61f7e73cd75973e5724cb [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" "a623b9e5b07af58874c451238baaba3257e2111b5dc61f7e73cd75973e5724cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a623b9e5b07af58874c451238baaba3257e2111b5dc61f7e73cd75973e5724cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a623b9e5b07af58874c451238baaba3257e2111b5dc61f7e73cd75973e5724cb", kill_on_drop: false }` [INFO] [stdout] a623b9e5b07af58874c451238baaba3257e2111b5dc61f7e73cd75973e5724cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 04442fba13c00bfbed41000b73f6f9bc4d678770e096ee8ee2d0af44b7666c75 [INFO] running `Command { std: "docker" "start" "-a" "04442fba13c00bfbed41000b73f6f9bc4d678770e096ee8ee2d0af44b7666c75", kill_on_drop: false }` [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.8 [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" "04442fba13c00bfbed41000b73f6f9bc4d678770e096ee8ee2d0af44b7666c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04442fba13c00bfbed41000b73f6f9bc4d678770e096ee8ee2d0af44b7666c75", kill_on_drop: false }` [INFO] [stdout] 04442fba13c00bfbed41000b73f6f9bc4d678770e096ee8ee2d0af44b7666c75