Skip to content

the trait std::error::Error is not implemented for getrandom::error::Error | #64563

Closed
@BaoshanPang

Description

@BaoshanPang

I am seeing this issue when building rust libstd unit test:

error[E0277]: the trait bound getrandom::error::Error: std::error::Error is not satisfied
--> /folk/prj-rust-dev/bpang/ala-diab-pb19l/fix_bugs/latest/.cargo/git/checkouts/rand-cc8f5b7ec2d3b6d9/64a4000/rand_core/src/er
ror.rs:150:28
|
150 | Error { inner: Box::new(error) }
| ^^^^^^^^^^^^^^^ the trait std::error::Error is not implemented for getrandom::error::Error
|
= note: required for the cast to the object type dyn std::error::Error + std::marker::Send + std::marker::Sync

error: aborting due to previous error

For more information about this error, try rustc --explain E0277.

Is anyone else seeing this issue?

Thanks,
Baoshan

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions