Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.
This repository was archived by the owner on May 17, 2026. It is now read-only.

Please upgrade the dependency 'rustls-platform-verifier' version, as it may not compile. #17

Description

@elsejj

rustls-platform-verifier 0.4 may break compile.
please upgrade to 0.5, thanks

error[E0277]: the trait bound `webpki::Error: std::error::Error` is not satisfied
   --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-platform-verifier-0.4.0/src/verification/others.rs:234:40
    |
234 |             other_err.0.downcast_ref::<webpki::Error>()
    |                         ------------   ^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `webpki::Error`
    |                         |
    |                         required by a bound introduced by this call
    |
note: required by a bound in `<(dyn std::error::Error + Send + Sync + 'static)>::downcast_ref`
   --> /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/error.rs:271:5

For more information about this error, try `rustc --explain E0277`.
error: could not compile `rustls-platform-verifier` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions