Compiling thirtyfour v0.34.0
error[E0658]: associated type bounds are unstable
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\common\types.rs:317:34
|
317 | fn wrap<F: ElementQueryFn<T, Fut: 'static>>(
| ^^^^^^^^^^^^
|
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
error[E0658]: associated type bounds are unstable
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\common\types.rs:324:39
|
324 | pub fn boxed<F: ElementQueryFn<T, Fut: 'static> + 'static>(fun: F) -> Box<Self> {
| ^^^^^^^^^^^^
|
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
error[E0658]: associated type bounds are unstable
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\common\types.rs:329:37
|
329 | pub fn arc<F: ElementQueryFn<T, Fut: 'static> + 'static>(fun: F) -> Arc<Self> {
| ^^^^^^^^^^^^
|
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\support.rs:7:5
|
7 | use std::sync::LazyLock;
| ^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\support.rs:34:23
|
34 | static GLOBAL_RT: LazyLock<tokio::runtime::Handle> = LazyLock::new(|| {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\support.rs:34:58
|
34 | static GLOBAL_RT: LazyLock<tokio::runtime::Handle> = LazyLock::new(|| {
| ^^^^^^^^
|
= note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
error[E0658]: use of unstable library feature 'lazy_cell'
--> C:\Users\xxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\thirtyfour-0.34.0\src\support.rs:34:58
|
34 | static GLOBAL_RT: LazyLock<tokio::runtime::Handle> = LazyLock::new(|| {
| ^^^^^^^^^^^^^
|
= note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information
For more information about this error, try `rustc --explain E0658`.
Got this message while trying to compile