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

docs.rs build of crate zalgo-codec fails due to an internal compiler error #2367

Closed
JSorngard opened this issue Dec 19, 2023 · 5 comments
Closed

Comments

@JSorngard
Copy link

Crate name

zalgo-codec

Build failure link

https://docs.rs/crate/zalgo-codec/0.9.6/builds/1066812

Additional details

I'm not quite sure what to make of it, all previous versions have built fine, and cargo doc --all-features works on my machine.
It looks like an internal compiler error related to wayland on the linux docker image used to make the docs?

@JSorngard
Copy link
Author

The related crates zalgo-codec-common and zalgo-codec-macro build without issue.

@JSorngard
Copy link
Author

It looks like a rebuild should work if done on windows?

@syphar
Copy link
Member

syphar commented Dec 20, 2023

Hi,
from the linked issue (-> rust-lang/rust#119126 ) it looks like this is a compiler bug.

While we could rebuild, docs.rs can only build on linux, and uses cross compilation for the other platforms.

You might be able to reproduce it using our crates-build-env, which is the docker image we're using the run the builds.

Generally we have the ability to "freeze" the nightly version that docs.rs uses, so I fixed it to 2023-12-18, which would be the last working version according to the bisect, and queued a rebuild of the release above.

I'll leave this issue open until the rustc bug is fixed, and I can unfreeze the nightly version

@JSorngard
Copy link
Author

It looks like a fix has been merged: rust-lang/rust/issues/119126.

@syphar
Copy link
Member

syphar commented Dec 22, 2023

yep, thanks!

I unfroze the toolchain.

@syphar syphar closed this as completed Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants