Skip to content

smoke_test_real_sysroot_cargo fails on rustc 1.86.0-beta.1 #19214

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

Closed
lnicola opened this issue Feb 24, 2025 · 3 comments · Fixed by #19241
Closed

smoke_test_real_sysroot_cargo fails on rustc 1.86.0-beta.1 #19214

lnicola opened this issue Feb 24, 2025 · 3 comments · Fixed by #19241
Assignees
Labels
Broken Window Bugs / technical debt to be addressed immediately C-bug Category: bug

Comments

@lnicola
Copy link
Member

lnicola commented Feb 24, 2025

test tests::smoke_test_real_sysroot_cargo ... FAILED

failures:

---- tests::smoke_test_real_sysroot_cargo stdout ----

thread 'tests::smoke_test_real_sysroot_cargo' panicked at crates/base-db/src/input.rs:531:74:
no entry found for key
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    tests::smoke_test_real_sysroot_cargo
@lnicola lnicola added the C-bug Category: bug label Feb 24, 2025
@Veykril
Copy link
Member

Veykril commented Feb 24, 2025

Probably #18806? That is not a good failure ...

That or the recent sysroot loading changes (we had a couple)

@Veykril Veykril added the Broken Window Bugs / technical debt to be addressed immediately label Feb 24, 2025
@Veykril Veykril mentioned this issue Feb 27, 2025
@Veykril Veykril self-assigned this Feb 27, 2025
@Veykril
Copy link
Member

Veykril commented Feb 27, 2025

Looks like something about the sysroot has changed

@Veykril
Copy link
Member

Veykril commented Feb 27, 2025

So the cause here is that alloc depends on rand which now depends on zerocopy which depends on zerocopy-derive. We don't build proc-macros the sysroot though so that fails to load. This is the first time the sysroot depends on a 3rd party proc-macro which is why we only saw this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Broken Window Bugs / technical debt to be addressed immediately C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants