Summary
cargo test currently records a future-incompatibility warning from an indirect dependency:
cang-jie
└── jieba-rs 0.9.0
└── include-flate 0.3.3
└── include-flate-codegen 0.3.3
└── proc-macro-error2 2.0.1
The warning is emitted when proc-macro-error2 is compiled:
warning[E0365]: extern crate `proc_macro` is private and cannot be re-exported
This is currently only a warning, but Rust marks it as future-incompatible, so a future compiler release may turn it into a hard error.
Current upstream status
As of now, proc-macro-error2 latest is still 2.0.1, so there is no released fix to pick up.
How to reproduce
Run a command that needs to compile the dependency chain, for example:
If the warning has already been recorded by Cargo, inspect it with:
cargo report future-incompatibilities --id 1
Follow-up
- Track the upstream
proc-macro-error2 fix.
- Once a fixed version is released, check whether a normal dependency refresh is enough for
cang-jie.
- If the warning becomes a hard error before then, consider a temporary workaround such as pinning the Rust toolchain or patching the dependency.
Summary
cargo testcurrently records a future-incompatibility warning from an indirect dependency:The warning is emitted when
proc-macro-error2is compiled:This is currently only a warning, but Rust marks it as future-incompatible, so a future compiler release may turn it into a hard error.
Current upstream status
pub_use_of_private_extern_craterust-lang/rust#127909proc-macro-error2issue: Crate emits future incompatibility warning GnomedDev/proc-macro-error-2#13proc-macro-error2fix PR: Fix future incompatibility GnomedDev/proc-macro-error-2#14As of now,
proc-macro-error2latest is still2.0.1, so there is no released fix to pick up.How to reproduce
Run a command that needs to compile the dependency chain, for example:
cargo test --workspaceIf the warning has already been recorded by Cargo, inspect it with:
cargo report future-incompatibilities --id 1Follow-up
proc-macro-error2fix.cang-jie.