Repository navigation
Conversation
Since stable Rust moved to 1.100.0, rust-checks fails on every OS: the cargo test binary cannot load the libduckdb shared library that libduckdb-sys downloads. Cargo 1.100's new build-dir layout runs the test binary from a directory that neither libduckdb-sys's copy into <profile>/deps nor its rpath reaches (chunkhound#524). Pin dtolnay/rust-toolchain to 1.99.1 until there is a durable fix. A version-named toolchain installs with rustup's minimal profile, so rustfmt and clippy, which make rust-check needs, are listed as components. Fixes chunkhound#524. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
|
The failure is in the smoke tests that It looks like a slow runner:
🤖 Generated with Claude Code, reviewed by FStrasz |
9 tasks
Collaborator
Contributor
Author
|
#534 fixed rust-checks on @stable, so this pin is no longer needed. 🤖 Generated with Claude Code, reviewed by FStrasz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Since stable Rust moved to 1.100.0 (around 18:30 UTC on 2026-11-12),
rust-checksfails on all three OSes on every PR, including PRs that change nothing in Rust. Thecargo testbinary cannot load the downloaded libduckdb shared library.The logs and our reading of the cause are in #524. In short, Cargo 1.100's new build-dir layout (rust-lang/cargo#17354) runs the test binary from a directory that two things no longer reach:
<profile>/deps;rpath.Fix
Pin
dtolnay/rust-toolchainto 1.99.1 in.github/actions/setup-rust-toolchain/action.yml, withcomponents: rustfmt, clippy.The components are needed. A version-named toolchain installs with rustup's minimal profile.
@stablegot rustfmt and clippy from the runner image's preinstalled toolchain, andmake rust-checkneeds both.The pin also applies to the wheel builds that use this action (
build-rust-extension,build-native-wheel).This is a stopgap. A durable fix would point the test binary at the downloaded library under the new layout, so CI can return to
@stable. We have not verified one yet. Revert this pin when one lands.Verification
The same tree (main 24752d0 plus this change) ran upstream's CI workflow on our fork: https://github.com/fstrasz/chunkhound/actions/runs/43322047224
rust-checkspassed on ubuntu, macOS and Windows under rustc 1.99.1. Each job rancargo fmtandcargo clippyand passed its Rust tests: 140, 140 and 135 (some tests are platform-gated).This PR's own CI run checks the same thing upstream.
There is no
CHANGELOG.mdentry, because this changes CI only.Fixes #524.
🤖 Generated with Claude Code, reviewed by FStrasz