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

Warning when compiling master #9061

Closed
daggy1234 opened this issue May 30, 2021 · 1 comment · Fixed by #9062
Closed

Warning when compiling master #9061

daggy1234 opened this issue May 30, 2021 · 1 comment · Fixed by #9062
Labels
S-actionable Someone could pick this issue up and work on it right now

Comments

@daggy1234
Copy link

daggy1234 commented May 30, 2021

So I use rust-analyzer with ST4, and build rust-analyzer from master. When performing the routine pull and install, I got a wraning. Works fine but just thought I would report

$ cargo xtask install --server
    Finished dev [unoptimized] target(s) in 0.11s
     Running `target\debug\xtask.exe install --server`
$ cargo install --path crates/rust-analyzer --locked --force --features force-always-assert
  Installing rust-analyzer v0.0.0 (C:\Users\<name>\rust-analyzer\crates\rust-analyzer)
    Updating crates.io index
warning: package `crossbeam-epoch v0.9.4` in Cargo.lock is yanked in registry `crates.io`, consider running without --locked
    Finished release [optimized] target(s) in 0.74s
   Replacing C:\Users\<name>l\.cargo\bin\rust-analyzer.exe
    Replaced package `rust-analyzer v0.0.0 (C:\Users\<name>\rust-analyzer\crates\rust-analyzer)` with `rust-analyzer v0.0.0 (C:\Users\<name>l\rust-analyzer\crates\rust-analyzer)` (executable `rust-analyzer.exe`)

The warning is:
warning: package crossbeam-epoch v0.9.4 in Cargo.lock is yanked in registry crates.io, consider running without --locked

Anyway thanks!

@bjorn3
Copy link
Member

bjorn3 commented May 30, 2021

crossbeam-epoch 0.9.5 fixed a case of UB: crossbeam-rs/crossbeam#694 Older versions in the 0.9.x branch were probably yanked for this reason.

@bjorn3 bjorn3 added the S-actionable Someone could pick this issue up and work on it right now label May 30, 2021
@bors bors bot closed this as completed in f41b686 May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants