Created
May 27, 2022 16:27
-
-
Save Genysys/9dbc2cc463099c148254310dcef5e786 to your computer and use it in GitHub Desktop.
local ethers test failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Finished test [unoptimized + debuginfo] target(s) in 0.84s | |
Running unittests (target/debug/deps/ethers_addressbook-1f8d784a768dcebc) | |
running 2 tests | |
test tests::test_tokens ... ok | |
test tests::test_addrs ... ok | |
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s | |
Running unittests (target/debug/deps/ethers_contract-b2ad9f47546827da) | |
running 2 tests | |
test base::tests::can_parse_events ... ok | |
test base::tests::can_parse_function_inputs ... ok | |
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s | |
Running tests/abigen.rs (target/debug/deps/abigen-cc4a00a0a13565ac) | |
running 24 tests | |
test can_gen_not_human_readable ... ok | |
test can_abigen_console_sol ... ok | |
test can_gen_reserved_word_field_names ... ok | |
test can_generate_internal_structs ... ok | |
test can_gen_human_readable_multiple ... ok | |
test can_gen_human_readable ... ok | |
test can_gen_structs_with_arrays_readable ... ok | |
test can_handle_duplicates_with_same_name ... ok | |
test can_handle_even_more_overloaded_functions ... ok | |
test can_handle_overloaded_events ... ok | |
test can_gen_structs_readable ... ok | |
test can_gen_multi_etherscan ... ok | |
test can_handle_different_calls ... ok | |
test can_generate_nested_types ... ok | |
test can_handle_case_sensitive_calls ... ok | |
test can_gen_human_readable_with_structs ... ok | |
test can_handle_underscore_numeric ... ok | |
test can_handle_unique_underscore_functions ... ok | |
test can_generate_internal_structs_multiple ... ok | |
test can_handle_overloaded_functions ... ok | |
test can_deploy_greeter ... ok | |
test can_abiencoderv2_output ... FAILED | |
test can_handle_underscore_functions ... FAILED | |
test can_send_struct_param ... ok | |
failures: | |
---- can_abiencoderv2_output stdout ---- | |
thread 'can_abiencoderv2_output' panicked at 'called `Option::unwrap()` on a `None` value', ethers-contract/tests/abigen.rs:516:49 | |
stack backtrace: | |
0: rust_begin_unwind | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 | |
1: core::panicking::panic_fmt | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 | |
2: core::panicking::panic | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:48:5 | |
3: core::option::Option<T>::unwrap | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/option.rs:752:21 | |
4: abigen::can_abiencoderv2_output::{{closure}} | |
at ./tests/abigen.rs:516:20 | |
5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/mod.rs:84:19 | |
6: <core::pin::Pin<P> as core::future::future::Future>::poll | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/future.rs:123:9 | |
7: tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:516:48 | |
8: tokio::coop::with_budget::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/coop.rs:102:9 | |
9: std::thread::local::LocalKey<T>::try_with | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/local.rs:413:16 | |
10: std::thread::local::LocalKey<T>::with | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/local.rs:389:9 | |
11: tokio::coop::with_budget | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/coop.rs:95:5 | |
12: tokio::coop::budget | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/coop.rs:72:5 | |
13: tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:516:25 | |
14: tokio::runtime::basic_scheduler::Context::enter | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:374:19 | |
15: tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:515:36 | |
16: tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:582:57 | |
17: tokio::macros::scoped_tls::ScopedKey<T>::set | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/macros/scoped_tls.rs:61:9 | |
18: tokio::runtime::basic_scheduler::CoreGuard::enter | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:582:27 | |
19: tokio::runtime::basic_scheduler::CoreGuard::block_on | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:506:9 | |
20: tokio::runtime::basic_scheduler::BasicScheduler::block_on | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:182:24 | |
21: tokio::runtime::Runtime::block_on | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/mod.rs:475:46 | |
22: abigen::can_abiencoderv2_output | |
at ./tests/abigen.rs:528:5 | |
23: abigen::can_abiencoderv2_output::{{closure}} | |
at ./tests/abigen.rs:503:7 | |
24: core::ops::function::FnOnce::call_once | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 | |
25: core::ops::function::FnOnce::call_once | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
---- can_handle_underscore_functions stdout ---- | |
thread 'can_handle_underscore_functions' panicked at 'called `Option::unwrap()` on a `None` value', ethers-contract/tests/abigen.rs:320:49 | |
stack backtrace: | |
0: rust_begin_unwind | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 | |
1: core::panicking::panic_fmt | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 | |
2: core::panicking::panic | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:48:5 | |
3: core::option::Option<T>::unwrap | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/option.rs:752:21 | |
4: abigen::can_handle_underscore_functions::{{closure}} | |
at ./tests/abigen.rs:320:20 | |
5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/mod.rs:84:19 | |
6: <core::pin::Pin<P> as core::future::future::Future>::poll | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/future/future.rs:123:9 | |
7: tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:516:48 | |
8: tokio::coop::with_budget::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/coop.rs:102:9 | |
9: std::thread::local::LocalKey<T>::try_with | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/local.rs:413:16 | |
10: std::thread::local::LocalKey<T>::with | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/local.rs:389:9 | |
11: tokio::coop::with_budget | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/coop.rs:95:5 | |
12: tokio::coop::budget | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/coop.rs:72:5 | |
13: tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:516:25 | |
14: tokio::runtime::basic_scheduler::Context::enter | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:374:19 | |
15: tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:515:36 | |
16: tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}} | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:582:57 | |
17: tokio::macros::scoped_tls::ScopedKey<T>::set | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/macros/scoped_tls.rs:61:9 | |
18: tokio::runtime::basic_scheduler::CoreGuard::enter | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:582:27 | |
19: tokio::runtime::basic_scheduler::CoreGuard::block_on | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:506:9 | |
20: tokio::runtime::basic_scheduler::BasicScheduler::block_on | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/basic_scheduler.rs:182:24 | |
21: tokio::runtime::Runtime::block_on | |
at /Users/samueldare/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.16.0/src/runtime/mod.rs:475:46 | |
22: abigen::can_handle_underscore_functions | |
at ./tests/abigen.rs:349:5 | |
23: abigen::can_handle_underscore_functions::{{closure}} | |
at ./tests/abigen.rs:297:7 | |
24: core::ops::function::FnOnce::call_once | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 | |
25: core::ops::function::FnOnce::call_once | |
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
failures: | |
can_abiencoderv2_output | |
can_handle_underscore_functions | |
test result: FAILED. 22 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.92s | |
error: test failed, to rerun pass '-p ethers-contract --test abigen' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment