You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Trying to test Virtual Card but getting following error while doing make ci
error[E0433]: failed to resolve: use of undeclared crate or module `trussed_staging`
--> src/virt.rs:17:9
|
17 | use trussed_staging::{streaming::ChunkedExtension, StagingBackend, StagingContext};
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `trussed_staging`
error[E0432]: unresolved import `trussed_staging`
--> src/virt.rs:17:9
|
17 | use trussed_staging::{streaming::ChunkedExtension, StagingBackend, StagingContext};
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `trussed_staging`
error[E0599]: the method `respond` exists for struct `Authenticator<ClientImplementation<Service<Platform<Ram>, Dispatch>, Dispatch>>`, but its trait bounds were not satisfied
--> src/vpicc.rs:40:64
|
40 | ... .handle(&command, |c, b| self.card.respond(c, b))
| ^^^^^^^ method cannot be called due to unsatisfied trait bounds
|
::: src/virt.rs:65:5
|
65 | pub struct Dispatch {
| ------------------- doesn't satisfy `_: ExtensionId<ChunkedExtension>`
|
::: /app/.cache/cargo/git/checkouts/trussed-34d232ec9a779a47/686aa70/src/client.rs:145:1
|
145 | pub struct ClientImplementation<S, D = CoreOnly> {
| ------------------------------------------------ doesn't satisfy `_: Client`
|
::: src/lib.rs:90:1
|
90 | pub struct Authenticator<T> {
| --------------------------- method `respond` not found for this struct
|
= note: the following trait bounds were not satisfied:
`{type error}: Sized`
which is required by `ClientImplementation<Service<trussed::virt::Platform<Ram>, virt::dispatch::Dispatch>, virt::dispatch::Dispatch>: Client`
`virt::dispatch::Dispatch: ExtensionId<ChunkedExtension>`
which is required by `ClientImplementation<Service<trussed::virt::Platform<Ram>, virt::dispatch::Dispatch>, virt::dispatch::Dispatch>: Client`
note: the trait `ExtensionId` must be implemented
--> /app/.cache/cargo/git/checkouts/trussed-34d232ec9a779a47/686aa70/src/serde_extensions.rs:135:1
|
135 | pub trait ExtensionId<E> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: the method `deselect` exists for struct `Authenticator<ClientImplementation<Service<Platform<Ram>, Dispatch>, Dispatch>>`, but its trait bounds were not satisfied
--> src/vpicc.rs:52:19
|
52 | self.card.deselect();
| ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
|
::: src/virt.rs:65:5
|
65 | pub struct Dispatch {
| ------------------- doesn't satisfy `_: ExtensionId<ChunkedExtension>`
|
::: /app/.cache/cargo/git/checkouts/trussed-34d232ec9a779a47/686aa70/src/client.rs:145:1
|
145 | pub struct ClientImplementation<S, D = CoreOnly> {
| ------------------------------------------------ doesn't satisfy `_: Client`
|
::: src/lib.rs:90:1
|
90 | pub struct Authenticator<T> {
| --------------------------- method `deselect` not found for this struct
|
= note: the following trait bounds were not satisfied:
`{type error}: Sized`
which is required by `ClientImplementation<Service<trussed::virt::Platform<Ram>, virt::dispatch::Dispatch>, virt::dispatch::Dispatch>: Client`
`virt::dispatch::Dispatch: ExtensionId<ChunkedExtension>`
which is required by `ClientImplementation<Service<trussed::virt::Platform<Ram>, virt::dispatch::Dispatch>, virt::dispatch::Dispatch>: Client`
note: the trait `ExtensionId` must be implemented
--> /app/.cache/cargo/git/checkouts/trussed-34d232ec9a779a47/686aa70/src/serde_extensions.rs:135:1
|
135 | pub trait ExtensionId<E> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `deselect`, perhaps you need to implement it:
candidate #1: `apdu_dispatch::App`
error[E0599]: the method `deselect` exists for struct `Authenticator<ClientImplementation<Service<Platform<Ram>, Dispatch>, Dispatch>>`, but its trait bounds were not satisfied
--> src/vpicc.rs:56:19
|
56 | self.card.deselect();
| ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
|
::: src/virt.rs:65:5
|
65 | pub struct Dispatch {
| ------------------- doesn't satisfy `_: ExtensionId<ChunkedExtension>`
|
::: /app/.cache/cargo/git/checkouts/trussed-34d232ec9a779a47/686aa70/src/client.rs:145:1
|
145 | pub struct ClientImplementation<S, D = CoreOnly> {
| ------------------------------------------------ doesn't satisfy `_: Client`
|
::: src/lib.rs:90:1
|
90 | pub struct Authenticator<T> {
| --------------------------- method `deselect` not found for this struct
|
= note: the following trait bounds were not satisfied:
`{type error}: Sized`
which is required by `ClientImplementation<Service<trussed::virt::Platform<Ram>, virt::dispatch::Dispatch>, virt::dispatch::Dispatch>: Client`
`virt::dispatch::Dispatch: ExtensionId<ChunkedExtension>`
which is required by `ClientImplementation<Service<trussed::virt::Platform<Ram>, virt::dispatch::Dispatch>, virt::dispatch::Dispatch>: Client`
note: the trait `ExtensionId` must be implemented
--> /app/.cache/cargo/git/checkouts/trussed-34d232ec9a779a47/686aa70/src/serde_extensions.rs:135:1
|
135 | pub trait ExtensionId<E> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `deselect`, perhaps you need to implement it:
candidate #1: `apdu_dispatch::App`
Some errors have detailed explanations: E0432, E0433, E0599.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `piv-authenticator` (lib) due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `piv-authenticator` (lib test) due to 5 previous errors
make: *** [Makefile:21: lint] Error 101
The text was updated successfully, but these errors were encountered:
Hi,
Trying to test Virtual Card but getting following error while doing
make ci
The text was updated successfully, but these errors were encountered: