Skip to content

kube-custom-resources-rs failed to build #2624

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
sebhoss opened this issue Oct 2, 2024 · 4 comments
Closed

kube-custom-resources-rs failed to build #2624

sebhoss opened this issue Oct 2, 2024 · 4 comments

Comments

@sebhoss
Copy link

sebhoss commented Oct 2, 2024

Crate name

kube-custom-resources-rs

Build failure link

https://docs.rs/crate/kube-custom-resources-rs/2024.10.1/builds/1375891

Additional details

The build outputs says that the crate depends on yanked dependencies but I checked all dependencies and could not find anything that was yanked. Would it be possible to enrich the error reporting here?

@syphar
Copy link
Member

syphar commented Oct 2, 2024

currently the logs for these errors are limited, sorry about that, it's on my todo list (but some work).

from our logs, after trying a rebuild:

[stderr] error: failed to select a version for the requirement `k8s-openapi = "^2024.10.1"`
[stderr] candidate versions found which didn't match: 0.23.0, 0.22.0, 0.21.1, ...

@sebhoss
Copy link
Author

sebhoss commented Oct 2, 2024

Ok ok - thanks for the logs! This is actually helped me figure out the problem: I overwrite the version of the crate in a GitHub action using a sed call which worked fine in previous versions, however I recently changed how dependency versions are declared and thus sed now changes too much.

Sorry for the noise & thanks again for the help!

@sebhoss sebhoss closed this as completed Oct 2, 2024
@syphar
Copy link
Member

syphar commented Oct 2, 2024

@sebhoss

Sorry for the noise & thanks again for the help!

no worries, docs.rs should also be better here.

small tipp:
you can use cargo +nightly docs-rs in our CI (probably after the sed call) to test if generating docs works.

It's not 100% complete, but very near to the actual commands we run on our build server

@sebhoss
Copy link
Author

sebhoss commented Oct 2, 2024

ok ok will do!

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