Skip to content

chore(ci): disable allocative in CI - #1183

Merged
DaniPopes merged 2 commits into
mainfrom
centaur/disable-allocative-nightly-1788277346
Sep 1, 2026
Merged

DaniPopes merged 2 commits into
mainfrom
centaur/disable-allocative-nightly-1788277346

Conversation

@decofe

@decofe decofe commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Current Rust nightly unifies Infallible with the never type, causing conflicting Allocative implementations in allocative 0.3.6. The feature should be excluded consistently from CI rather than only patched around the failing nightly jobs.

Solution

Disable the allocative dependency and its code paths with sed in every CI job that builds or checks the workspace: test, Miri, Wasm, feature checks, no-std, clippy, and docs.

Validated with RUSTFLAGS=-Dwarnings cargo +nightly clippy --workspace --all-targets --all-features; the initial workaround also passed all 31 checks on #1180.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Prompted by: @DaniPopes

@github-project-automation github-project-automation Bot moved this to Reviewed in Alloy Sep 1, 2026
@decofe decofe changed the title chore(ci): disable allocative on nightly chore(ci): disable allocative in CI Sep 1, 2026
@DaniPopes
DaniPopes enabled auto-merge (squash) September 1, 2026 15:44
@DaniPopes
DaniPopes merged commit 1243f70 into main Sep 1, 2026
31 checks passed
@DaniPopes
DaniPopes deleted the centaur/disable-allocative-nightly-1788277346 branch September 1, 2026 15:57
@github-project-automation github-project-automation Bot moved this from Reviewed to Done in Alloy Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants