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

CI fix #1665

Merged
merged 2 commits into from
Apr 16, 2024
Merged

CI fix #1665

merged 2 commits into from
Apr 16, 2024

Conversation

lalitb
Copy link
Member

@lalitb lalitb commented Apr 16, 2024

Changes

CI is failing with error -

   Installed package `cargo-check-external-types v0.1.11` (executable `cargo-check-external-types`)
Running rustdoc to produce json doc output...
[/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-check-external-types-0.1.11/src/main.rs:105:30] err = Error {
    context: "error at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-check-external-types-0.1.11/src/main.rs:175:14",
    source: "The version of rustdoc being used produces JSON format version 29, but this tool requires format version 28. This can happen if the locally installed version of rustdoc doesn't match the rustdoc JSON types from the `rustdoc-types` crate.\n\nIf this occurs with the latest Rust nightly and the latest version of this tool, then this is a bug, and the tool needs to be upgraded to the latest format version.\n\nOtherwise, you'll need to determine a Rust nightly version that matches this tool's supported format version (or vice versa).",

Using the rust nightly release which uses the compatible rustdoc version as used by the rustdoc-type crate. It seems #1655 has somehow overwritten the default nightly version to latest.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@lalitb lalitb requested a review from a team April 16, 2024 17:56
@cijothomas cijothomas merged commit 2286378 into open-telemetry:main Apr 16, 2024
14 of 15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants