[INFO] fetching crate ethers-contract 0.1.3... [INFO] testing ethers-contract-0.1.3 against 1.49.0 for beta-1.50-1 [INFO] extracting crate ethers-contract 0.1.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ethers-contract 0.1.3 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", 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] 392f94c3554a3a1fc96776cb68cc2a1543cdd41a3236b7a4c25803f950c28138 [INFO] running `Command { std: "docker" "start" "-a" "392f94c3554a3a1fc96776cb68cc2a1543cdd41a3236b7a4c25803f950c28138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "392f94c3554a3a1fc96776cb68cc2a1543cdd41a3236b7a4c25803f950c28138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392f94c3554a3a1fc96776cb68cc2a1543cdd41a3236b7a4c25803f950c28138", kill_on_drop: false }` [INFO] [stdout] 392f94c3554a3a1fc96776cb68cc2a1543cdd41a3236b7a4c25803f950c28138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 737b6c7f16ba7d4e6aafe44b64225093eec0ddf92b8923a5971ed397b6d51815 [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" "737b6c7f16ba7d4e6aafe44b64225093eec0ddf92b8923a5971ed397b6d51815", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling webpki v0.21.4 [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 tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor 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 tokio-rustls v0.14.1 [INFO] [stderr] Compiling ethbloom v0.9.2 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.7.3 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling ethereum-types v0.9.2 [INFO] [stderr] Compiling ethabi-next v12.0.1 [INFO] [stderr] Compiling ethers-core v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [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 1m 51s [INFO] running `Command { std: "docker" "inspect" "737b6c7f16ba7d4e6aafe44b64225093eec0ddf92b8923a5971ed397b6d51815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "737b6c7f16ba7d4e6aafe44b64225093eec0ddf92b8923a5971ed397b6d51815", kill_on_drop: false }` [INFO] [stdout] 737b6c7f16ba7d4e6aafe44b64225093eec0ddf92b8923a5971ed397b6d51815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] 2102c5cab940edd9165229490c47bcb24b0b40d3fbe36c2299d9646d3b5a3566 [INFO] running `Command { std: "docker" "start" "-a" "2102c5cab940edd9165229490c47bcb24b0b40d3fbe36c2299d9646d3b5a3566", kill_on_drop: false }` [INFO] [stderr] Compiling serial_test_derive v0.4.0 [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" "2102c5cab940edd9165229490c47bcb24b0b40d3fbe36c2299d9646d3b5a3566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2102c5cab940edd9165229490c47bcb24b0b40d3fbe36c2299d9646d3b5a3566", kill_on_drop: false }` [INFO] [stdout] 2102c5cab940edd9165229490c47bcb24b0b40d3fbe36c2299d9646d3b5a3566