arti-0.3 test failure
Summary
I see a test failure when building arti git on NetBSD/amd64 with rust-1.59.
Steps to reproduce:
Run 'cargo test' on NetBSD 9.99.96/amd64.
What is the current bug behavior?
Running unittests (target/debug/deps/tor_error-7826d9254d37f788)
running 7 tests
test retriable::test::abs_comparison ... ok
test report::test::test ... ok
test retriable::test::comparison ... ok
test retriable::test::earliest_absolute ... ok
test retriable::test::abs_from_sum ... ok
test internal::test::source ... ok
test internal::test::internal_macro_test ... FAILED
failures:
---- internal::test::internal_macro_test stdout ----
thread 'internal::test::internal_macro_test' panicked at 'assertion failed: s.contains(\"internal_macro_test\")', crates/tor-error/src/internal.rs:268:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I don't get more information with this:
RUST_BACKTRACE=full LD_LIBRARY_PATH=/usr/pkg/lib cargo test -p tor-error --lib
Finished test [unoptimized + debuginfo] target(s) in 0.25s
Running unittests (target/debug/deps/tor_error-cdc9d9a48837b720)
running 7 tests
test report::test::test ... ok
test retriable::test::abs_from_sum ... ok
test retriable::test::comparison ... ok
test retriable::test::earliest_absolute ... ok
test retriable::test::abs_comparison ... ok
test internal::test::internal_macro_test ... FAILED
test internal::test::source ... ok
failures:
---- internal::test::internal_macro_test stdout ----
thread 'internal::test::internal_macro_test' panicked at 'assertion failed: s.contains(\"internal_macro_test\")', crates/tor-error/src/internal.rs:268:9
stack backtrace:
0: 0x18d715e6 - <unknown>
1: 0x18d9adac - <unknown>
2: 0x18d5ef65 - <unknown>
3: 0x18d69971 - <unknown>
4: 0x18d695b1 - <unknown>
5: 0x18d69ec1 - <unknown>
6: 0x18d71b52 - <unknown>
7: 0x18d71714 - <unknown>
8: 0x18d69a52 - <unknown>
9: 0x18c2fdb1 - <unknown>
10: 0x18c2fcfd - <unknown>
11: 0x18c363c4 - <unknown>
12: 0x18c35efa - <unknown>
13: 0x18c3540e - <unknown>
14: 0x18c45bc3 - <unknown>
15: 0x18c45d82 - <unknown>
16: 0x18c690cc - <unknown>
17: 0x18c617af - <unknown>
18: 0x18d623a3 - <unknown>
19: 0x74f48f40c87f - <unknown>
20: 0x74f48fc9b780 - <unknown>
failures:
internal::test::internal_macro_test
test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
error: test failed, to rerun pass '-p tor-error --lib'
What is the expected behavior?
No error.
Environment
- Version: git head 3a0da9e8
- Operating system: NetBSD 9.99.96/amd64
- Install method: git checkout
Relevant logs and/or screenshots:
See above.
Possible fixes:
No idea.