tor-hsclient test failure
Summary
Continuing with running tests after #843 (closed), I discovered another test failure.
Steps to reproduce:
cargo test -p tor-hsclient
What is the current bug behavior?
Test fails
What is the expected behavior?
Test should pass
Environment
- Version: 3725939a
- Operating system: Gentoo
- Install method: Running from git
Relevant logs and/or screenshots:
~/git/arti $ cargo test -p tor-hsclient
warning: unused import: `SelfSigned`
--> crates/tor-netdoc/src/doc/hsdesc.rs:26:21
|
26 | use tor_checkable::{SelfSigned, Timebound};
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `Timebound`
--> crates/tor-netdoc/src/doc/hsdesc.rs:26:33
|
26 | use tor_checkable::{SelfSigned, Timebound};
| ^^^^^^^^^
warning: `tor-netdoc` (lib) generated 2 warnings
Compiling tor-hsclient v0.2.0 (/home/jake/git/arti/crates/tor-hsclient)
error[E0599]: no function or associated item named `parse_decrypt_validate` found for struct `HsDesc` in the current scope
--> crates/tor-hsclient/src/connect.rs:333:30
|
333 | let hsdesc = HsDesc::parse_decrypt_validate(
| ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `HsDesc`
error[E0599]: no function or associated item named `parse_decrypt_validate` found for struct `tor_netdoc::doc::hsdesc::HsDesc` in the current scope
--> crates/tor-hsclient/src/connect.rs:333:30
|
333 | let hsdesc = HsDesc::parse_decrypt_validate(
| ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `HsDesc`
error[E0599]: no variant or associated item named `BadTimeBound` found for enum `ParseErrorKind` in the current scope
--> crates/tor-hsclient/src/err.rs:151:22
|
151 | PEK::BadTimeBound | PEK::BadSignature => EK::OnionServiceDescriptorValidationFailed,
| ^^^^^^^^^^^^ variant or associated item not found in `ParseErrorKind`
error[E0599]: no function or associated item named `parse_decrypt_validate` found for struct `tor_netdoc::doc::hsdesc::HsDesc` in the current scope
--> crates/tor-hsclient/src/connect.rs:598:30
|
598 | let hsdesc = HsDesc::parse_decrypt_validate(
| ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `HsDesc`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `tor-hsclient` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `tor-hsclient` due to 3 previous errors