[INFO] fetching crate ethers-core 0.4.0... [INFO] testing ethers-core-0.4.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate ethers-core 0.4.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate ethers-core 0.4.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-core 0.4.0 [INFO] finished tweaking crates.io crate ethers-core 0.4.0 [INFO] tweaked toml for crates.io crate ethers-core 0.4.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5238f3b51f3b3f3f48348f2fa697fc1d1f162f514ff1bc54d5fc194a722fb1f3 [INFO] running `Command { std: "docker" "start" "-a" "5238f3b51f3b3f3f48348f2fa697fc1d1f162f514ff1bc54d5fc194a722fb1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5238f3b51f3b3f3f48348f2fa697fc1d1f162f514ff1bc54d5fc194a722fb1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5238f3b51f3b3f3f48348f2fa697fc1d1f162f514ff1bc54d5fc194a722fb1f3", kill_on_drop: false }` [INFO] [stdout] 5238f3b51f3b3f3f48348f2fa697fc1d1f162f514ff1bc54d5fc194a722fb1f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42402418ac224e506c28e9b08aa7c8feb95f39fb00fa1ff9d106e411b2d36b48 [INFO] running `Command { std: "docker" "start" "-a" "42402418ac224e506c28e9b08aa7c8feb95f39fb00fa1ff9d106e411b2d36b48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling der v0.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.10.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.0 [INFO] [stderr] Compiling crypto-bigint v0.2.2 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling elliptic-curve v0.10.4 [INFO] [stderr] Compiling ecdsa v0.12.2 [INFO] [stderr] Compiling k256 v0.9.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling rlp v0.5.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling ethbloom v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling ethers-core v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.01s [INFO] running `Command { std: "docker" "inspect" "42402418ac224e506c28e9b08aa7c8feb95f39fb00fa1ff9d106e411b2d36b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42402418ac224e506c28e9b08aa7c8feb95f39fb00fa1ff9d106e411b2d36b48", kill_on_drop: false }` [INFO] [stdout] 42402418ac224e506c28e9b08aa7c8feb95f39fb00fa1ff9d106e411b2d36b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62e9519a88137b9ac028bc9e0f1dc9894fdff67ee4fd8e0389fc7973abe3e9d7 [INFO] running `Command { std: "docker" "start" "-a" "62e9519a88137b9ac028bc9e0f1dc9894fdff67ee4fd8e0389fc7973abe3e9d7", kill_on_drop: false }` [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ethers-core v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.23s [INFO] running `Command { std: "docker" "inspect" "62e9519a88137b9ac028bc9e0f1dc9894fdff67ee4fd8e0389fc7973abe3e9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e9519a88137b9ac028bc9e0f1dc9894fdff67ee4fd8e0389fc7973abe3e9d7", kill_on_drop: false }` [INFO] [stdout] 62e9519a88137b9ac028bc9e0f1dc9894fdff67ee4fd8e0389fc7973abe3e9d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd95941120696fa7606be7e83a65b7859fd2af8af4577d57885bee7d45c2ba85 [INFO] running `Command { std: "docker" "start" "-a" "dd95941120696fa7606be7e83a65b7859fd2af8af4577d57885bee7d45c2ba85", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ethers_core-860154648eb5b4cd) [INFO] [stdout] running 86 tests [INFO] [stdout] test abi::human_readable::tests::can_parse_params ... ok [INFO] [stdout] test abi::human_readable::tests::can_read_backslashes ... ok [INFO] [stdout] test abi::human_readable::tests::can_parse_functions ... ok [INFO] [stdout] test abi::human_readable::tests::parses_approve ... ok [INFO] [stdout] test abi::human_readable::tests::parses_event ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_empty ... ok [INFO] [stdout] test abi::human_readable::tests::can_substitute_array_structs ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_pure ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_nested_mappings ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_arguments_return ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_simple_struct ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_payable ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_mapping_type ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_struct_projections ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_struct ... ok [INFO] [stdout] test abi::tests::format_event_signature ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_structs ... ok [INFO] [stdout] test abi::struct_def::tests::can_strip_field_ident ... ok [INFO] [stdout] test abi::tests::format_function_signature ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_mappings ... ok [INFO] [stdout] test abi::human_readable::tests::parses_unnamed_event ... ok [INFO] [stdout] test abi::struct_def::tests::can_detect_illegal_mappings_key_type ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_view ... ok [INFO] [stdout] test abi::human_readable::tests::parses_unnamed_indexed_event ... ok [INFO] [stdout] test abi::human_readable::tests::parse_event_input ... ok [INFO] [stdout] test abi::human_readable::tests::can_substitute_structs ... ok [INFO] [stdout] test abi::human_readable::tests::parses_anonymous_event ... ok [INFO] [stdout] test abi::human_readable::tests::can_substitute_nested_array_structs ... ok [INFO] [stdout] test abi::human_readable::tests::can_parse_structs_and_functions ... ok [INFO] [stdout] test abi::tokens::tests::should_be_able_to_compile ... ignored [INFO] [stdout] test types::i256::tests::addition ... ok [INFO] [stdout] test types::i256::tests::bit_shift ... ok [INFO] [stdout] test types::i256::tests::abs ... ok [INFO] [stdout] test types::ens::tests::serde_address_serialized ... ok [INFO] [stdout] test types::i256::tests::div_euclid ... ok [INFO] [stdout] test types::i256::tests::bits ... ok [INFO] [stdout] test types::ens::tests::serde_name_not_serialized ... ok [INFO] [stdout] test abi::tokens::tests::nested_tokenization ... ok [INFO] [stdout] test types::block::tests::deserialize_blk_with_txs ... ok [INFO] [stdout] test types::i256::tests::formatting ... ok [INFO] [stdout] test types::ens::tests::rlp_name_not_serialized ... ok [INFO] [stdout] test types::i256::tests::exponentiation ... ok [INFO] [stdout] test types::i256::tests::parse_dec_str ... ok [INFO] [stdout] test types::i256::tests::rem_euclid ... ok [INFO] [stdout] test types::i256::tests::remainder ... ok [INFO] [stdout] test types::i256::tests::identities ... ok [INFO] [stdout] test types::i256::tests::signs ... ok [INFO] [stdout] test types::i256::tests::division ... ok [INFO] [stdout] test types::i256::tests::parse_hex_str ... ok [INFO] [stdout] test types::ens::tests::rlp_address_serialized ... ok [INFO] [stdout] test types::block::tests::deserialize_blk_no_txs ... ok [INFO] [stdout] test types::i256::tests::subtraction ... ok [INFO] [stdout] test types::i256::tests::tokenization ... ok [INFO] [stdout] test types::log::tests::filter_serialization_test ... ok [INFO] [stdout] test types::i256::tests::multiplication ... ok [INFO] [stdout] test types::trace::filter::tests::test_deserialize_trace ... ok [INFO] [stdout] test abi::tokens::tests::should_detokenize ... ok [INFO] [stdout] test types::signature::tests::recover_web3_signature ... ok [INFO] [stdout] test types::signature::tests::signature_from_str ... ok [INFO] [stdout] test abi::tokens::tests::should_sign_extend_negative_integers ... ok [INFO] [stdout] test types::i256::tests::iterators ... ok [INFO] [stdout] test types::trace::tests::test_serialize_trace_type ... ok [INFO] [stdout] test types::i256::tests::neg ... ok [INFO] [stdout] test abi::tokens::tests::should_decode_array_of_fixed_bytes ... ok [INFO] [stdout] test types::trace::tests::test_deserialize_blocktrace ... ok [INFO] [stdout] test types::transaction::tests::decode_transaction_response ... ok [INFO] [stdout] test types::trace::tests::test_deserialize_blocktraces ... ok [INFO] [stdout] test types::i256::tests::std_num_conversion ... ok [INFO] [stdout] test types::txpool::tests::serde_txpool_status ... ok [INFO] [stdout] test types::transaction::tests::decode_unsigned_transaction ... ok [INFO] [stdout] test utils::hash::tests::revert_function_signature ... ok [INFO] [stdout] test utils::hash::tests::test_hash_message ... ok [INFO] [stdout] test utils::hash::tests::test_keccak256 ... ok [INFO] [stdout] test utils::hash::tests::simple_function_signature ... ok [INFO] [stdout] test utils::tests::addr_checksum ... ok [INFO] [stdout] test utils::tests::contract_address ... ok [INFO] [stdout] test types::txpool::tests::serde_txpool_content ... ok [INFO] [stdout] test types::txpool::tests::serde_txpool_inspect ... ok [INFO] [stdout] test utils::tests::test_format_units ... ok [INFO] [stdout] test utils::tests::create2_address ... ok [INFO] [stdout] test utils::tests::test_parse_units ... ok [INFO] [stdout] test utils::tests::wei_in_ether ... ok [INFO] [stdout] test types::i256::tests::mod_by_zero - should panic ... ok [INFO] [stdout] test types::i256::tests::division_by_zero - should panic ... ok [INFO] [stdout] test types::i256::tests::div_euclid_overflow - should panic ... ok [INFO] [stdout] test types::i256::tests::div_euclid_by_zero - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 85 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests ethers-core [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/utils/mod.rs - utils::parse_ether (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 268) ... FAILED [INFO] [stdout] test src/abi/human_readable.rs - abi::human_readable::AbiParser::parse (line 44) ... FAILED [INFO] [stdout] test src/utils/geth.rs - utils::geth::Geth (line 62) - compile ... FAILED [INFO] [stdout] test src/abi/struct_def.rs - abi::struct_def::SolStruct::parse (line 169) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 296) ... FAILED [INFO] [stdout] test src/abi/human_readable.rs - abi::human_readable::parse (line 401) ... FAILED [INFO] [stdout] test src/utils/solc.rs - utils::solc::Solc (line 42) - compile ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 258) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 305) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 287) ... FAILED [INFO] [stdout] test src/abi/human_readable.rs - abi::human_readable::AbiParser::parse_str (line 23) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 277) ... FAILED [INFO] [stdout] test src/utils/ganache.rs - utils::ganache::Ganache (line 66) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils/mod.rs - utils::parse_ether (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/utils/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::{types::U256, utils::{parse_ether, WEI_IN_ETHER}}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256` [INFO] [stdout] --> src/utils/mod.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 5 | let eth = U256::from(WEI_IN_ETHER); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use elliptic_curve::consts::U256; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::U256; [INFO] [stdout] | [INFO] [stdout] 2 | use k256::U256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEI_IN_ETHER` in this scope [INFO] [stdout] --> src/utils/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 5 | let eth = U256::from(WEI_IN_ETHER); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::WEI_IN_ETHER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_ether` in this scope [INFO] [stdout] --> src/utils/mod.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(eth, parse_ether(1u8).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::parse_ether; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_ether` in this scope [INFO] [stdout] --> src/utils/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(eth, parse_ether(1usize).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::parse_ether; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_ether` in this scope [INFO] [stdout] --> src/utils/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(eth, parse_ether("1").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::parse_ether; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ethers::signers::{Signer, LocalWallet}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalWallet` [INFO] [stdout] --> src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 7 | let wallet = LocalWallet::new(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LocalWallet` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand` [INFO] [stdout] --> src/lib.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 7 | let wallet = LocalWallet::new(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/log.rs - types::log::Filter::select (line 268) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/types/log.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::{Filter, BlockNumber}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockNumber` [INFO] [stdout] --> src/types/log.rs:271:35 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(BlockNumber::Latest); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockNumber` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/types/log.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(BlockNumber::Latest); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/abi/human_readable.rs - abi::human_readable::AbiParser::parse (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/abi/human_readable.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::abi::AbiParser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiParser` [INFO] [stdout] --> src/abi/human_readable.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 5 | let abi = AbiParser::default().parse(&[ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::abi::AbiParser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/geth.rs - utils::geth::Geth (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/utils/geth.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::utils::Geth; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Geth` [INFO] [stdout] --> src/utils/geth.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 8 | let geth = Geth::new() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::Geth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/abi/struct_def.rs - abi::struct_def::SolStruct::parse (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/abi/struct_def.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::abi::SolStruct; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolStruct` [INFO] [stdout] --> src/abi/struct_def.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 4 | let s = SolStruct::parse("struct MyStruct { uint x; uint y;}").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::abi::SolStruct; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/log.rs - types::log::Filter::select (line 296) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/types/log.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::{Filter, H256}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/types/log.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(1337u64..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/abi/human_readable.rs - abi::human_readable::parse (line 401) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/abi/human_readable.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::abi::parse_abi; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_abi` in this scope [INFO] [stdout] --> src/abi/human_readable.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 5 | let abi = parse_abi(&[ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::abi::parse_abi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/solc.rs - utils::solc::Solc (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/utils/solc.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::utils::Solc; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Solc` [INFO] [stdout] --> src/utils/solc.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 6 | let contracts = Solc::new("./contracts/*") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::Solc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/log.rs - types::log::Filter::select (line 258) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/types/log.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::Filter; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/types/log.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(69u64); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/log.rs - types::log::Filter::select (line 305) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/types/log.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::{Filter, H256}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/types/log.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(..1337u64); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/log.rs - types::log::Filter::select (line 287) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/types/log.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::{Filter, H256}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/types/log.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(0u64..100u64); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/abi/human_readable.rs - abi::human_readable::AbiParser::parse_str (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/abi/human_readable.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::abi::AbiParser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiParser` [INFO] [stdout] --> src/abi/human_readable.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 4 | let abi = AbiParser::default().parse_str(r#"[ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::abi::AbiParser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/log.rs - types::log::Filter::select (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/types/log.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::{Filter, H256}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/types/log.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(H256::zero()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::Filter; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256` [INFO] [stdout] --> src/types/log.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 4 | let filter = Filter::new().select(H256::zero()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::types::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/ganache.rs - utils::ganache::Ganache (line 66) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/utils/ganache.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::utils::Ganache; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `ethers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ganache` [INFO] [stdout] --> src/utils/ganache.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 8 | let ganache = Ganache::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use ethers_core::utils::Ganache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/abi/human_readable.rs - abi::human_readable::AbiParser::parse (line 44) [INFO] [stdout] src/abi/human_readable.rs - abi::human_readable::AbiParser::parse_str (line 23) [INFO] [stdout] src/abi/human_readable.rs - abi::human_readable::parse (line 401) [INFO] [stdout] src/abi/struct_def.rs - abi::struct_def::SolStruct::parse (line 169) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/types/log.rs - types::log::Filter::select (line 258) [INFO] [stdout] src/types/log.rs - types::log::Filter::select (line 268) [INFO] [stdout] src/types/log.rs - types::log::Filter::select (line 277) [INFO] [stdout] src/types/log.rs - types::log::Filter::select (line 287) [INFO] [stdout] src/types/log.rs - types::log::Filter::select (line 296) [INFO] [stdout] src/types/log.rs - types::log::Filter::select (line 305) [INFO] [stdout] src/utils/ganache.rs - utils::ganache::Ganache (line 66) [INFO] [stdout] src/utils/geth.rs - utils::geth::Geth (line 62) [INFO] [stdout] src/utils/mod.rs - utils::parse_ether (line 60) [INFO] [stdout] src/utils/solc.rs - utils::solc::Solc (line 42) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "dd95941120696fa7606be7e83a65b7859fd2af8af4577d57885bee7d45c2ba85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd95941120696fa7606be7e83a65b7859fd2af8af4577d57885bee7d45c2ba85", kill_on_drop: false }` [INFO] [stdout] dd95941120696fa7606be7e83a65b7859fd2af8af4577d57885bee7d45c2ba85