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
Failed with:
Compiling netease-cloud-music-api v1.5.0 (https://gitee.com/gmg137/netease-cloud-music-api.git?tag=1.5.0#2af41403)
error[E0599]: the method fill_bytes exists for struct OsRng, but its trait bounds were not satisfied
--> /home/xx/.cargo/git/checkouts/netease-cloud-music-api-d1b0b588743d8e2c/2af4140/src/encrypt.rs:43:15
|
43 | OsRng.fill_bytes(&mut data);
| ^^^^^^^^^^
|
::: /home/xx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.9.0/src/os.rs:47:1
|
47 | pub struct OsRng;
| ---------------- doesn't satisfy OsRng: DerefMut, OsRng: Deref or OsRng: RngCore
|
= note: the following trait bounds were not satisfied: OsRng: DerefMut
which is required by OsRng: RngCore OsRng: Deref
which is required by OsRng: RngCore
Expected behavior
Expected install successful
Screenshots
Desktop (please complete the following information):
Manjaro Linux 6.6.65
rustc 1.84.0 (9fc6b4312 2025-01-07)
cargo 1.84.0 (66221abde 2024-11-19)
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Install from aur failed
To Reproduce
Steps to reproduce the behavior:
yay -Sy netease-cloud-music-gtk4
Compiling netease-cloud-music-api v1.5.0 (https://gitee.com/gmg137/netease-cloud-music-api.git?tag=1.5.0#2af41403)
error[E0599]: the method
fill_bytes
exists for structOsRng
, but its trait bounds were not satisfied--> /home/xx/.cargo/git/checkouts/netease-cloud-music-api-d1b0b588743d8e2c/2af4140/src/encrypt.rs:43:15
|
43 | OsRng.fill_bytes(&mut data);
| ^^^^^^^^^^
|
::: /home/xx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.9.0/src/os.rs:47:1
|
47 | pub struct OsRng;
| ---------------- doesn't satisfy
OsRng: DerefMut
,OsRng: Deref
orOsRng: RngCore
|
= note: the following trait bounds were not satisfied:
OsRng: DerefMut
which is required by
OsRng: RngCore
OsRng: Deref
which is required by
OsRng: RngCore
Expected behavior
Expected install successful
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: