Skip to content

Drop proc-macro-error2 from the vendored crates - #12

Merged
TroyHernandez merged 4 commits into
mainfrom
fix-future-incompat-crate
Nov 10, 2026
Merged

TroyHernandez merged 4 commits into
mainfrom
fix-future-incompat-crate

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

CRAN's Fedora clang, Fedora gcc, and M1mac checks report an installation WARNING for 0.3.0:

warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1

Fix

proc-macro-error2 came in through vodozemac -> matrix-pickle -> matrix-pickle-derive 0.2.2. matrix-pickle-derive 0.2.3 no longer depends on it, and vodozemac 0.10 accepts matrix-pickle ^0.2.1.

  • Update matrix-pickle and matrix-pickle-derive to 0.2.3 in Cargo.lock and re-vendor. proc-macro-error2 and proc-macro-error-attr2 leave vendor.tar.xz; no other crate changes.
  • vodozemac stays at 0.10.0 and the minimum rustc stays at 1.85.
  • No R code or API changes.

CI

Stock R CMD check does not match that cargo line, so every pre-release check reported OK while printing it. The r-ci job also pinned rustc 1.85, which does not emit it.

  • ci.yaml now runs macOS and Ubuntu on stable rustc, which is what CRAN's machines track, and keeps one Ubuntu leg on 1.85 to prove the SystemRequirements floor.
  • .github/check-results.R fails the job on any warning line in 00install.out. Run against the 0.3.0 install log it fails and names the line above.

Checks

Local R CMD check --as-cran on 0.3.0.1 (Ubuntu 24.04, R 4.6.1, rustc 1.97.1, a version that printed the warning for 0.3.0): 161 tests pass, and the install, check, and build logs contain no warning line. Status: 2 NOTEs: the rustc compile flag and "Days since last update: 0".

@TroyHernandez
TroyHernandez merged commit 3bf1681 into main Nov 10, 2026
20 checks passed
@TroyHernandez
TroyHernandez deleted the fix-future-incompat-crate branch November 10, 2026 15:45
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.

1 participant