positron
positron copied to clipboard
ARK cannot be built with the nightly toolchain
Positron Version:
GitHub
Steps to reproduce the issue:
cd ark/
cargo +nightly build
What did you expect to happen?
I expect no error happens.
Were there any error messages in the output or Developer Tools console?
I see two problems on my local. IIRC, just updating the dependency crates will fix the issue.
- https://github.com/time-rs/time/issues/681
- https://github.com/tkaitchuck/aHash/issues/200
❯ cargo +nightly build
Compiling tokio-util v0.7.8
Compiling time v0.3.22
Compiling actix-rt v2.9.0
Compiling tokio-native-tls v0.3.1
Compiling ahash v0.8.3
Compiling local-channel v0.1.4
Compiling serde_urlencoded v0.7.1
Compiling phf v0.8.0
Compiling hmac v0.12.1
Compiling sha1 v0.10.5
Compiling rand v0.8.5
Compiling socket2 v0.5.4
Compiling c2rust-bitfields-derive v0.17.0
Compiling libloading v0.8.1
Compiling uuid v1.3.3
Compiling tree-sitter-r v0.20.1 (https://github.com/r-lib/tree-sitter-r?rev=de0d37623f918be0325e2c8ab746b0c1c9a624a6#de0d3762)
error[E0635]: unknown feature `stdsimd`
--> C:\Users\Yutani\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ahash-0.8.3\src/lib.rs:99:42
|
99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
| ^^^^^^^
Compiling language-tags v0.3.2
Compiling strum v0.24.1
For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error[E0282]: type annotations needed for `Box<_>`
--> C:\Users\Yutani\.cargo\registry\src\index.crates.io-6f17d22bba15001f\time-0.3.22\src\format_description\parse\mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
help: consider giving `items` an explicit type, where the placeholders `_` are specified
|
83 | let items: Box<_> = format_items
| ++++++++
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error