the trait std::error::Error is not implemented for getrandom::error::Error | #64563
Labels
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
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
The text was updated successfully, but these errors were encountered: