Skip to content
New issue

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

ARK cannot be built with the nightly toolchain #3911

Closed
yutannihilation opened this issue Jul 6, 2024 · 1 comment · Fixed by posit-dev/ark#426
Closed

ARK cannot be built with the nightly toolchain #3911

yutannihilation opened this issue Jul 6, 2024 · 1 comment · Fixed by posit-dev/ark#426
Labels
area: builds Issues related to Builds category. area: kernels Issues related to Jupyter kernels and LSP servers bug Something isn't working lang: r

Comments

@yutannihilation
Copy link

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.

❯ 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
@yutannihilation yutannihilation added the bug Something isn't working label Jul 6, 2024
@petetronic petetronic added lang: r rust area: kernels Issues related to Jupyter kernels and LSP servers area: builds Issues related to Builds category. labels Jul 7, 2024
@lionel-
Copy link
Contributor

lionel- commented Jul 8, 2024

I verified we can now build with nightly.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: builds Issues related to Builds category. area: kernels Issues related to Jupyter kernels and LSP servers bug Something isn't working lang: r
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants