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
I am using Rust and Cargo 1.44.1. When installing mini-redis, I get a build error:
error[E0658]: use of unstable library feature 'renamed_spin_loop'
--> /Users/jahred-love/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.9.2/src/spinwait.rs:9:5
|
9 | use core::hint::spin_loop;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #55002 <https://github.com/rust-lang/rust/issues/55002> for more information
error[E0658]: use of unstable library feature 'renamed_spin_loop'
--> /Users/jahred-love/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.9.2/src/spinwait.rs:16:9
|
16 | spin_loop()
| ^^^^^^^^^
|
= note: see issue #55002 <https://github.com/rust-lang/rust/issues/55002> for more information
Compiling num_cpus v1.13.1
error[E0658]: `match` is not allowed in a `const fn`
--> /Users/jahred-love/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:165:9
|
165 | / match address {
166 | | SocketAddr::V4(_) => Domain::IPV4,
167 | | SocketAddr::V6(_) => Domain::IPV6,
168 | | }
| |_________^
|
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
Compiling atty v0.2.14
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `parking_lot_core`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `socket2`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `mini-redis v0.4.1`, intermediate artifacts can be found at `/var/folders/pz/g8nj0j791bzb4_7qn53833v80000gp/T/cargo-installG3dzIj`
Caused by:
build failed
The text was updated successfully, but these errors were encountered:
I am using Rust and Cargo
1.44.1
. When installingmini-redis
, I get a build error:The text was updated successfully, but these errors were encountered: