Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure #69

Open
tadeohepperle opened this issue Jan 10, 2024 · 2 comments
Open

Build Failure #69

tadeohepperle opened this issue Jan 10, 2024 · 2 comments

Comments

@tadeohepperle
Copy link

I tried to build cargo nono, but got these errors (target: x86_64-unknown-linux-gnu):

error[E0433]: failed to resolve: could not find `quote` in `__private`
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check.rs:24:40
   |
24 |         let cfg_attr_path: syn::Path = syn::parse_quote!(cfg_attr);
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
   |
note: found an item that was configured out
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
   |
11 | pub extern crate quote;
   |                  ^^^^^
   = note: the item is gated behind the `printing` feature
   = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check.rs:52:37
   |
52 |         let not_ident: syn::Ident = syn::parse_quote!(not);
   |                                     ^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
   |
note: found an item that was configured out
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
   |
11 | pub extern crate quote;
   |                  ^^^^^
   = note: the item is gated behind the `printing` feature
   = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check.rs:53:41
   |
53 |         let feature_ident: syn::Ident = syn::parse_quote!(feature);
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
   |
note: found an item that was configured out
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
   |
11 | pub extern crate quote;
   |                  ^^^^^
   = note: the item is gated behind the `printing` feature
   = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check.rs:54:47
   |
54 |         let equal_punct: proc_macro2::Punct = syn::parse_quote!(=);
   |                                               ^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
   |
note: found an item that was configured out
  --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
   |
11 | pub extern crate quote;
   |                  ^^^^^
   = note: the item is gated behind the `printing` feature
   = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check_source.rs:180:44
    |
180 |             let no_std_ident: syn::Ident = syn::parse_quote!(no_std);
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
    |
note: found an item that was configured out
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
    |
11  | pub extern crate quote;
    |                  ^^^^^
    = note: the item is gated behind the `printing` feature
    = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check_source.rs:202:33
    |
202 |     let std_ident: syn::Ident = syn::parse_quote!(std);
    |                                 ^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
    |
note: found an item that was configured out
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
    |
11  | pub extern crate quote;
    |                  ^^^^^
    = note: the item is gated behind the `printing` feature
    = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check_source.rs:222:45
    |
222 |         let always_no_std: syn::Attribute = syn::parse_quote!(#![no_std]);
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
    |
note: found an item that was configured out
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
    |
11  | pub extern crate quote;
    |                  ^^^^^
    = note: the item is gated behind the `printing` feature
    = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0433]: failed to resolve: could not find `quote` in `__private`
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check_source.rs:225:51
    |
225 |             let not_test_no_std: syn::Attribute = syn::parse_quote!(#![cfg_attr(not(test), no_std)]);
    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `quote` in `__private`
    |
note: found an item that was configured out
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/export.rs:11:18
    |
11  | pub extern crate quote;
    |                  ^^^^^
    = note: the item is gated behind the `printing` feature
    = note: this error originates in the macro `syn::parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `clone` found for enum `UseTree` in the current scope
   --> /home/tadeo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-nono-0.1.9/src/check_source.rs:210:55
    |
210 |                         item_tree: use_statement.tree.clone(),
    |                                                       ^^^^^ method not found in `UseTree`

@h4n0
Copy link

h4n0 commented Aug 24, 2024

ran into the same issue, any workarounds?

@h4n0
Copy link

h4n0 commented Aug 24, 2024

workaround:

cargo install cargo-nono --locked

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

No branches or pull requests

2 participants