Skip to content

rustls v0.23.24/25 break builds in linux/github-ci #2386

@Licenser

Description

@Licenser

Checklist

  • I've searched the issue tracker for similar bugs.

Describe the bug
With after the upgrade from rustls 0.23.23 to 0.23.24 and then 0.23.25 building cargo-lambda on linux (guthub CI) fails with an type error:

   Compiling rustls-platform-verifier v0.4.0
error[E0277]: the trait bound `webpki::Error: std::error::Error` is not satisfied
Error:    --> /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/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/error.rs:271:5

To Reproduce

  1. run cargo install cargo-lambda on in a github action (it might happen in other linux environments too I can not verify that)

Applicable Version(s)

0.23.24 and 0.23.25

Expected behavior

a patch version update does not break builds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions