Skip to content

fix: Pin dtolnay/rust-toolchain to the new allowed version - #577

Merged
Kriskras99 merged 4 commits into
mainfrom
fix/ci
Jul 6, 2026
Merged

Kriskras99 merged 4 commits into
mainfrom
fix/ci

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

No description provided.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@Kriskras99
Kriskras99 force-pushed the fix/ci branch 2 times, most recently from 333498a to 9470944 Compare July 6, 2026 14:35
@Kriskras99

Kriskras99 commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor Author

@martin-g I'm merging this without review as it fixes the broken main, and the cause of it. It also brings the Github Actions to the requirements of https://github.com/apache/infrastructure-actions, which should prevent this from happening again.

@Kriskras99
Kriskras99 merged commit fd14693 into main Jul 6, 2026
20 checks passed
@Kriskras99
Kriskras99 deleted the fix/ci branch July 6, 2026 14:44
@Kriskras99 Kriskras99 mentioned this pull request Jul 6, 2026
Comment thread avro/Cargo.toml
miniz_oxide = { default-features = false, version = "0.9.1", features = ["with-alloc"] }
log = { workspace = true }
num-bigint = { default-features = false, version = "0.5.0", features = ["std", "serde"] }
num-bigint = { default-features = false, version = "0.4.8", features = ["std", "serde"] }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading num-bigint (in #572) is what broke main, the bigdecimal dependency is still on 0.4.8 so the types were incompatible. We should probably use the re-export provided by bigdecimal (if we don't use the type somewhere else) so we don't have to manually keep upgrading it together with bigdecimal.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use num-bigint also for Decimal, so we shouldn't use the re-export from bigdecimal.

[dependencies]
better-panic = { default-features = false, version = "0.3.0" }
ctor = { default-features = false, version = "0.11.1", features = ["dtor", "proc_macro"] }
linktime = { default-features = false, version = "0.18.0", features = ["ctor", "dtor", "proc_macro"] }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should have been a separate PR. It is not related to the ASF rules.

Maybe we should disable the "link-section" since we do not use it ?!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should have been, sorry about that. I just noticed that it was very outdated and tried to upgrade it, the noticed that the dtor feature was gone and the crate had a new collection crate called linktime.

The link-section feature should be indeed disabled, I'll open up a PR to fix that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually the link-section feature is not enabled (default-features = false), it is in the Cargo.lock but that is because Cargo does put optional dependencies in the lockfile (see rust-lang/cargo#10801).

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.

3 participants