Subject: Tealdeer build fails

From: "Daniel Sockwell" <[email-masked]>
Date: Sat, 17 Sep 2022 11:55:01 +0000

I have also run into this build failure.

The relevant error message from the build log appears to be:

       Compiling openssl-macros v0.1.0
    error[E0659]: `parse_quote_spanned` is ambiguous (`macro_rules` vs non-`macro_rules` from other module)
       --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/pin_project/derive.rs:859:67
        |
    859 |                 proj_generics.make_where_clause().predicates.push(parse_quote_spanned! { span =>
        |                                                                   ^^^^^^^^^^^^^^^^^^^ ambiguous name
        |
    note: `parse_quote_spanned` could refer to the macro defined here
       --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/utils.rs:22:1
        |
    22  | / macro_rules! parse_quote_spanned {
    23  | |     ($span:expr => $($tt:tt)*) => {
    24  | |         syn::parse2(quote::quote_spanned!($span => $($tt)*)).unwrap_or_else(|e| panic!("{}", e))
    25  | |     };
    26  | | }
        | |_^
    note: `parse_quote_spanned` could also refer to the macro imported here
       --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/pin_project/derive.rs:7:5
        |
    7   |     *,
        |     ^
        = help: use `self::parse_quote_spanned` to refer to this macro unambiguously