[INFO] fetching crate ethers-core 0.4.1... [INFO] testing ethers-core-0.4.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate ethers-core 0.4.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ethers-core 0.4.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethers-core 0.4.1 [INFO] finished tweaking crates.io crate ethers-core 0.4.1 [INFO] tweaked toml for crates.io crate ethers-core 0.4.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded elliptic-curve v0.10.5 [INFO] [stderr] Downloaded crypto-bigint v0.2.2 [INFO] [stderr] Downloaded der v0.4.0 [INFO] [stderr] Downloaded ethabi v14.1.0 [INFO] [stderr] Downloaded k256 v0.9.6 [INFO] [stderr] Downloaded ecdsa v0.12.3 [INFO] [stderr] Downloaded ff v0.10.0 [INFO] [stderr] Downloaded group v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8761b54418878c89ae456f9a699b3bfd5a365b8b874b7409d2e0fef20906cd76 [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" "8761b54418878c89ae456f9a699b3bfd5a365b8b874b7409d2e0fef20906cd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8761b54418878c89ae456f9a699b3bfd5a365b8b874b7409d2e0fef20906cd76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8761b54418878c89ae456f9a699b3bfd5a365b8b874b7409d2e0fef20906cd76", kill_on_drop: false }` [INFO] [stdout] 8761b54418878c89ae456f9a699b3bfd5a365b8b874b7409d2e0fef20906cd76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 749ab2f771049f9334b80a9e1c73024610a1cd38a9475709b713f7db9ec97135 [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" "749ab2f771049f9334b80a9e1c73024610a1cd38a9475709b713f7db9ec97135", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling der v0.4.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha3 v0.9.1 [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 crypto-bigint v0.2.2 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling ecdsa v0.12.3 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [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 serde v1.0.127 [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 serde_json v1.0.66 [INFO] [stderr] Compiling rlp v0.5.1 [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.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "749ab2f771049f9334b80a9e1c73024610a1cd38a9475709b713f7db9ec97135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749ab2f771049f9334b80a9e1c73024610a1cd38a9475709b713f7db9ec97135", kill_on_drop: false }` [INFO] [stdout] 749ab2f771049f9334b80a9e1c73024610a1cd38a9475709b713f7db9ec97135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f301bbc8d95f2d1606e377873ae0ba648bcdbd825a26356ff18f0e268f5b84b [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" "8f301bbc8d95f2d1606e377873ae0ba648bcdbd825a26356ff18f0e268f5b84b", kill_on_drop: false }` [INFO] [stderr] Compiling hex-literal v0.3.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ethers-core v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.02s [INFO] running `Command { std: "docker" "inspect" "8f301bbc8d95f2d1606e377873ae0ba648bcdbd825a26356ff18f0e268f5b84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f301bbc8d95f2d1606e377873ae0ba648bcdbd825a26356ff18f0e268f5b84b", kill_on_drop: false }` [INFO] [stdout] 8f301bbc8d95f2d1606e377873ae0ba648bcdbd825a26356ff18f0e268f5b84b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8b14638d8ddff76debbbc9cf65b4a2f4e004560aa3e26f99ec17d60d154904e [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" "b8b14638d8ddff76debbbc9cf65b4a2f4e004560aa3e26f99ec17d60d154904e", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] running 89 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ethers_core-9e2763a523c3d576) [INFO] [stdout] test abi::human_readable::tests::can_parse_params ... ok [INFO] [stdout] test abi::human_readable::tests::parses_anonymous_event ... ok [INFO] [stdout] test abi::human_readable::tests::parse_event_input ... ok [INFO] [stdout] test abi::human_readable::tests::can_parse_functions ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_view ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_mapping_type ... ok [INFO] [stdout] test abi::struct_def::tests::can_detect_illegal_mappings_key_type ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_mappings ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_nested_mappings ... ok [INFO] [stdout] test abi::human_readable::tests::can_read_backslashes ... ok [INFO] [stdout] test abi::human_readable::tests::can_substitute_array_structs ... ok [INFO] [stdout] test abi::human_readable::tests::parses_unnamed_indexed_event ... ok [INFO] [stdout] test abi::human_readable::tests::can_substitute_nested_array_structs ... ok [INFO] [stdout] test abi::human_readable::tests::can_substitute_structs ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_payable ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_pure ... ok [INFO] [stdout] test abi::human_readable::tests::can_parse_structs_and_functions ... ok [INFO] [stdout] test abi::human_readable::tests::parses_unnamed_event ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_struct_projections ... ok [INFO] [stdout] test abi::human_readable::tests::parses_approve ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_arguments_return ... ok [INFO] [stdout] test abi::human_readable::tests::parses_event ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_simple_struct ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_struct ... ok [INFO] [stdout] test abi::human_readable::tests::parses_function_empty ... ok [INFO] [stdout] test abi::tokens::tests::should_be_able_to_compile ... ignored [INFO] [stdout] test types::ens::tests::rlp_address_serialized ... ok [INFO] [stdout] test types::ens::tests::rlp_name_not_serialized ... ok [INFO] [stdout] test types::block::tests::deserialize_blk_with_txs ... ok [INFO] [stdout] test abi::tokens::tests::should_sign_extend_negative_integers ... ok [INFO] [stdout] test abi::tokens::tests::should_detokenize ... ok [INFO] [stdout] test abi::tokens::tests::should_decode_array_of_fixed_bytes ... ok [INFO] [stdout] test abi::struct_def::tests::can_parse_structs ... ok [INFO] [stdout] test types::i256::tests::bits ... ok [INFO] [stdout] test types::i256::tests::division ... ok [INFO] [stdout] test types::i256::tests::abs ... ok [INFO] [stdout] test types::i256::tests::div_euclid ... ok [INFO] [stdout] test types::i256::tests::addition ... ok [INFO] [stdout] test abi::tests::format_function_signature ... ok [INFO] [stdout] test types::block::tests::deserialize_blk_no_txs ... 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::formatting ... ok [INFO] [stdout] test types::i256::tests::identities ... ok [INFO] [stdout] test types::i256::tests::iterators ... ok [INFO] [stdout] test types::i256::tests::rem_euclid ... ok [INFO] [stdout] test types::i256::tests::parse_hex_str ... ok [INFO] [stdout] test types::i256::tests::signs ... ok [INFO] [stdout] test types::i256::tests::remainder ... ok [INFO] [stdout] test types::i256::tests::std_num_conversion ... ok [INFO] [stdout] test types::i256::tests::subtraction ... ok [INFO] [stdout] test types::i256::tests::tokenization ... ok [INFO] [stdout] test types::i256::tests::multiplication ... ok [INFO] [stdout] test types::i256::tests::bit_shift ... ok [INFO] [stdout] test types::ens::tests::serde_address_serialized ... ok [INFO] [stdout] test types::ens::tests::serde_name_not_serialized ... ok [INFO] [stdout] test abi::struct_def::tests::can_strip_field_ident ... ok [INFO] [stdout] test abi::tests::format_event_signature ... ok [INFO] [stdout] test abi::tokens::tests::nested_tokenization ... ok [INFO] [stdout] test types::log::tests::filter_serialization_test ... ok [INFO] [stdout] test types::signature::tests::signature_from_str ... ok [INFO] [stdout] test types::trace::filter::tests::test_deserialize_trace ... ok [INFO] [stdout] test types::trace::tests::test_serialize_trace_type ... ok [INFO] [stdout] test types::transaction::tests::decode_transaction_response ... ok [INFO] [stdout] test utils::hash::tests::simple_function_signature ... ok [INFO] [stdout] test types::txpool::tests::serde_txpool_status ... ok [INFO] [stdout] test types::transaction::tests::decode_unsigned_transaction ... ok [INFO] [stdout] test types::i256::tests::neg ... ok [INFO] [stdout] test types::txpool::tests::serde_txpool_inspect ... ok [INFO] [stdout] test types::txpool::tests::serde_txpool_content ... ok [INFO] [stdout] test types::trace::tests::test_deserialize_blocktrace ... ok [INFO] [stdout] test types::trace::tests::test_deserialize_blocktraces ... ok [INFO] [stdout] test utils::hash::tests::revert_function_signature ... ok [INFO] [stdout] test utils::tests::contract_address ... ok [INFO] [stdout] test utils::tests::create2_address ... ok [INFO] [stdout] test types::signature::tests::recover_web3_signature ... ok [INFO] [stdout] test utils::hash::tests::test_hash_message ... ok [INFO] [stdout] test utils::tests::bytes32_string_formatting ... ok [INFO] [stdout] test utils::tests::bytes32_string_formatting_too_long ... ok [INFO] [stdout] test utils::tests::bytes32_string_parsing ... ok [INFO] [stdout] test utils::tests::wei_in_ether ... ok [INFO] [stdout] test utils::tests::test_format_units ... ok [INFO] [stdout] test utils::hash::tests::test_keccak256 ... ok [INFO] [stdout] test utils::tests::test_parse_units ... ok [INFO] [stdout] test utils::tests::addr_checksum ... 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] test types::i256::tests::division_by_zero - should panic ... ok [INFO] [stdout] test types::i256::tests::mod_by_zero - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 88 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests ethers-core [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/abi/human_readable.rs - abi::human_readable::AbiParser::parse (line 44) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 296) ... FAILED [INFO] [stdout] test src/utils/mod.rs - utils::parse_ether (line 67) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 287) ... FAILED [INFO] [stdout] test src/abi/struct_def.rs - abi::struct_def::SolStruct::parse (line 169) ... FAILED [INFO] [stdout] test src/abi/human_readable.rs - abi::human_readable::AbiParser::parse_str (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 305) ... FAILED [INFO] [stdout] test src/abi/human_readable.rs - abi::human_readable::parse (line 401) ... FAILED [INFO] [stdout] test src/utils/ganache.rs - utils::ganache::Ganache (line 66) - compile ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 268) ... FAILED [INFO] [stdout] test src/types/log.rs - types::log::Filter::select (line 258) ... FAILED [INFO] [stdout] test src/utils/geth.rs - utils::geth::Geth (line 62) - compile ... 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 277) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/utils/mod.rs - utils::parse_ether (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ethers` [INFO] [stdout] --> src/utils/mod.rs:68: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:70: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:70: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:71: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:72: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:73: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/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/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/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/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 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/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/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] ---- 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/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/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/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 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] [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 67) [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 5.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b8b14638d8ddff76debbbc9cf65b4a2f4e004560aa3e26f99ec17d60d154904e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8b14638d8ddff76debbbc9cf65b4a2f4e004560aa3e26f99ec17d60d154904e", kill_on_drop: false }` [INFO] [stdout] b8b14638d8ddff76debbbc9cf65b4a2f4e004560aa3e26f99ec17d60d154904e