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

Uhm build fails? #1380

Closed
MrFaul opened this issue Jan 23, 2024 · 14 comments
Closed

Uhm build fails? #1380

MrFaul opened this issue Jan 23, 2024 · 14 comments

Comments

@MrFaul
Copy link

MrFaul commented Jan 23, 2024

Something is wrong, the lint doesn't compile, can somebody check that please?
It's not fun to see red failing badges.

@jtmoon79
Copy link
Contributor

I could not find failed builds here on github under the Actions tab. But I did find this build failure at docs.rs

...
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]     Checking rkyv v0.7.43
[INFO] [stderr] error: one of ["size_16", "size_32", or "size_64"] features must be enabled
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.43/src/macros.rs:114:1
[INFO] [stderr]     |
[INFO] [stderr] 114 | core::compile_error!(r#"one of ["size_16", "size_32", or "size_64"] features must be enabled"#);
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find macro `pick_size_type` in this scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.43/src/lib.rs:723:23
...

At first glance, this looks to be an rkyv oddity.
Tag #644 and @dovahcrow

@dovahcrow
Copy link
Contributor

dovahcrow commented Jan 23, 2024

I failed to reproduce locally. Here's what I ran:
cargo +nightly rustdoc --lib -Zrustdoc-map --features rkyv.
Rust version: v1.77.0-nightly

Seems to me --no-default-features is passed to rkyv somehow.

@pitdicker
Copy link
Collaborator

Fixed with 0.4.33 in #1383. Thank you for reporting, and @jtmoon79 for investigating.

@jtmoon79
Copy link
Contributor

Thanks @dovahcrow for following up too.

@MrFaul
Copy link
Author

MrFaul commented Jan 26, 2024

Thanks for fixing.

A small issue remains so:
Screenshot_20240126-080546
All tests and builds are still failing at least according to the badge...
But I think there is something wrong with job naming and not the testing it self.

Since chrono is a very popular crate I think this isn't something that should left that way.
Even removing the badge is a better option.

@djc
Copy link
Member

djc commented Jan 26, 2024

That's from the main branch, whereas we mostly release from the 0.4.x branch. The badge should fix itself when we do our next merge from 0.4.x to main. Perhaps we should rename main to 0.5.x and keep 0.4.x as main?

@MrFaul
Copy link
Author

MrFaul commented Jan 26, 2024

Would be better if the "landing page" is actually the current published version.
After all the same badges are also shown in the docs.

@pitdicker
Copy link
Collaborator

Perhaps we should rename main to 0.5.x and keep 0.4.x as main?

I'm all for it. We would have to change the target branch of all open PRs though.

@pitdicker
Copy link
Collaborator

pitdicker commented Jan 26, 2024

I can't find the reason why the badge is still red but made an attempt in #1388.

Edit: still red because the latest merge is still running on the CI 😄.

@pitdicker
Copy link
Collaborator

Perhaps we should rename main to 0.5.x and keep 0.4.x as main?

I'm all for it. We would have to change the target branch of all open PRs though.

@djc I don't have permission, but it may just work when you rename the branches via the GitHub interface.

@djc
Copy link
Member

djc commented Jan 26, 2024

Done -- let's use #1390 to coordinate any necessary changes in the repo contents.

@pitdicker
Copy link
Collaborator

Should we yank 0.4.32?

@djc
Copy link
Member

djc commented Jan 26, 2024

Nah, it doesn't seem bad enough for that.

@MrFaul
Copy link
Author

MrFaul commented Jan 26, 2024

Nice 👍🏼
Looooks way better this way.
Thx for fixing it.

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

5 participants