We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching to stable releases fixes this problem
➜ world git:(master) ✗ make check cargo check Compiling starchart v0.1.0 (/home/aravinth/code/forgedfed/world) Finished dev [unoptimized + debuginfo] target(s) in 0.54s cd db/db-sqlx-sqlite &&\ DATABASE_URL=sqlite:///home/aravinth/code/forgedfed/world/db/db-sqlx-sqlite/tmp/admin.db\ cargo check Compiling lock_api v0.4.7 Checking futures-executor v0.3.21 Compiling hashbrown v0.11.2 Compiling rustls v0.19.1 Compiling webpki-roots v0.21.1 Compiling async-trait v0.1.53 Compiling sha2 v0.9.9 Checking url v2.2.2 Compiling serde v1.0.136 Compiling pin-project v1.0.10 error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable --> /home/aravinth/.cargo/registry/src/github.com-1ecc6299db9ec823/lock_api-0.4.7/src/mutex.rs:150:6 | 150 | impl<R: RawMutex, T> Mutex<R, T> { | ^ ... 154 | pub const fn new(val: T) -> Mutex<R, T> { | --------------------------------------- function declared as const here | = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706> for more information = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable --> /home/aravinth/.cargo/registry/src/github.com-1ecc6299db9ec823/lock_api-0.4.7/src/remutex.rs:231:6 | 231 | impl<R: RawMutex, G: GetThreadId, T> ReentrantMutex<R, G, T> { | ^ ... 235 | pub const fn new(val: T) -> ReentrantMutex<R, G, T> { | --------------------------------------------------- function declared as const here | = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706> for more information = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable --> /home/aravinth/.cargo/registry/src/github.com-1ecc6299db9ec823/lock_api-0.4.7/src/remutex.rs:231:19 | 231 | impl<R: RawMutex, G: GetThreadId, T> ReentrantMutex<R, G, T> { | ^ ... 235 | pub const fn new(val: T) -> ReentrantMutex<R, G, T> { | --------------------------------------------------- function declared as const here | = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706> for more information = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable --> /home/aravinth/.cargo/registry/src/github.com-1ecc6299db9ec823/lock_api-0.4.7/src/rwlock.rs:367:6 | 367 | impl<R: RawRwLock, T> RwLock<R, T> { | ^ ... 371 | pub const fn new(val: T) -> RwLock<R, T> { | ---------------------------------------- function declared as const here | = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706> for more information = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable For more information about this error, try `rustc --explain E0658`. error: could not compile `lock_api` due to 4 previous errors warning: build failed, waiting for other jobs to finish... error: build failed make: *** [Makefile:16: check] Error 101 ➜ world git:(master) ✗ rustc --version rustc 1.61.0-nightly (68369a041 2022-02-22)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Switching to stable releases fixes this problem
Error compilation logs
See logs
The text was updated successfully, but these errors were encountered: