Fails with a Compilation Error
When trying to publish all of the crates in enso/rust-lib, cargo-publish-all
fails with a compilation error while compiling enso-macro-utils
that does not manifest during either cargo build
or cargo test
in the workspace.
The error I see is as follows, and it occurs during cargo-publish-all
and cargo-publish-all --dry-run
:
❯ cargo-publish-all --dry-run
Resolving workspace
Fetching crates.io versions
Verifying workspace
Verifying enso-macro-utils
error[E0463]: can't find crate for `proc_macro2`
--> src/lib.rs:7:5
|
7 | use proc_macro2::TokenStream;
| ^^^^^^^^^^^ can't find crate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
Jun 30 13:56:31.358 ERRO Error: Cargo error
caused by: Could not compile `enso-macro-utils`.