Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • C cargo-publish-all
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Thomas Schaller
  • cargo-publish-all
  • Issues
  • #3
Closed
Open
Issue created Jun 30, 2020 by Ara Adkins@iamrecursion

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`.
Edited Jun 30, 2020 by Ara Adkins
Assignee
Assign to
Time tracking