Giter Site home page Giter Site logo

Comments (2)

smoelius avatar smoelius commented on August 16, 2024 3

This looks like a duplicate of #398.

  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.47/src/lib.rs:92:30
                                                                                    ^^^^^^

I think cargo update -p proc-macro2 may solve your problem.

from proc-macro2.

gftea avatar gftea commented on August 16, 2024

I have same issue in my project's CI run below, https://github.com/gftea/amqprs/actions/runs/5690927521/job/15426552955?pr=104

Run RUST_LOG=trace cargo llvm-cov --all-features --lcov --output-path ./lcov.info
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
 Downloading crates ...
  Downloaded uriparse v0.[6](https://github.com/gftea/amqprs/actions/runs/5690927521/job/15426552955?pr=104#step:6:7).4
  Downloaded fnv v1.0.7
  Downloaded tokio-rustls v0.23.4
  Downloaded webpki-roots v0.22.6
   Compiling libc v0.2.137
   Compiling proc-macro2 v1.0.47
   Compiling unicode-ident v1.0.5
   Compiling quote v1.0.21
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.47/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x[8](https://github.com/gftea/amqprs/actions/runs/5690927521/job/15426552955?pr=104#step:6:9)6_64-unknown-linux-gnu/bin/cargo test --tests --manifest-path /home/runner/work/amqprs/amqprs/Cargo.toml --target-dir /home/runner/work/amqprs/amqprs/target/llvm-cov-target --all-features` (exit status: [10](https://github.com/gftea/amqprs/actions/runs/5690927521/job/15426552955?pr=104#step:6:11)1)

from proc-macro2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.