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

rid_build breaks with latest nightly #60

Open
SecondFlight opened this issue Dec 10, 2021 · 2 comments
Open

rid_build breaks with latest nightly #60

SecondFlight opened this issue Dec 10, 2021 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@SecondFlight
Copy link
Collaborator

SecondFlight commented Dec 10, 2021

rid_build is currently broken. The error message indicates a bug within the Rust tooling:

   ...
   Compiling rid_macro_impl v0.1.0 (https://github.com/thlorenz/rid.git#00126f05)
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/0b42deaccc2cbe17a68067aa5fdb76104369e1fd\compiler\rustc_serialize\src\opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (0b42deacc 2021-12-09) running on x86_64-pc-windows-msvc

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type lib

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
error: could not compile `rid_macro_impl`
warning: build failed, waiting for other jobs to finish...
error: build failed


', rid_build.rs:41:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\rid_build.exe rid_build` (exit code: 101)

This breaks my dev environment in a way that can't be fixed without digging into rid, if only to lock the nightly version.

Is there a workaround for issues with nightly, aside from cloning the repo and locally locking the nightly version? If not, is it possible to move rid away from nightly in the future?

@SecondFlight SecondFlight added bug Something isn't working question Further information is requested labels Dec 10, 2021
@SecondFlight
Copy link
Collaborator Author

Looks related to rust-lang/rust#91663

@SecondFlight
Copy link
Collaborator Author

This appears to be fixed as of the 2021-12-12 nightly version. I'm still interested in any insights you have on the questions above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant