[Pkg-rust-maintainers] Bug#1060866: librust-quote-dev: fails to build as transitive dependency of tailspin

Jonas Smedegaard dr at jones.dk
Mon Jan 15 20:36:48 GMT 2024


Package: librust-quote-dev
Version: 1.0.35-1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Attempting to build tailspin-2.4.0+dfsg fails like this:

   Compiling quote v1.0.35
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quote CARGO_MANIFEST_DIR=/build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Quasi-quoting macro quote'\!'(...)' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=quote CARGO_PKG_REPOSITORY='https://github.com/dtolnay/quote' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.35 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=35 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/build/tailspin-2.4.0+dfsg/target/release/deps:/usr/lib:/usr/lib/libeatmydata' /usr/bin/sccache rustc --crate-name quote --edition=2018 /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=7530c576d4e7ba0a -C extra-filename=-7530c576d4e7ba0a --out-dir /build/tailspin-2.4.0+dfsg/target/release/deps -L dependency=/build/tailspin-2.4.0+dfsg/target/release/deps --extern proc_macro2=/build/tailspin-2.4.0+dfsg/target/release/deps/libproc_macro2-a00577f3a9f545bb.rmeta --cap-lints warn`
error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
 --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/ext.rs:3:5
  |
3 | use proc_macro2::{TokenStream, TokenTree};
  |     ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
   --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/ext.rs:105:9
    |
105 |     use proc_macro2::TokenStream;
    |         ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
   --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/runtime.rs:192:9
    |
192 |     use proc_macro2::extra::DelimSpan;
    |         ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
   --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/runtime.rs:193:9
    |
193 |     use proc_macro2::Span;
    |         ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
 --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/spanned.rs:2:5
  |
2 | use proc_macro2::extra::DelimSpan;
  |     ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
 --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/spanned.rs:3:5
  |
3 | use proc_macro2::{Span, TokenStream};
  |     ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
  --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/spanned.rs:43:9
   |
43 |     use proc_macro2::extra::DelimSpan;
   |         ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
  --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/spanned.rs:44:9
   |
44 |     use proc_macro2::Span;
   |         ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
 --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/ident_fragment.rs:3:5
  |
3 | use proc_macro2::{Ident, Span};
  |     ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
 --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/to_tokens.rs:5:5
  |
5 | use proc_macro2::{Group, Ident, Literal, Punct, Span, TokenStream, TokenTree};
  |     ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
 --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/runtime.rs:6:5
  |
6 | use proc_macro2::{Group, Ident, Punct, Spacing, TokenTree};
  |     ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
  --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/runtime.rs:14:22
   |
14 | pub type Delimiter = proc_macro2::Delimiter;
   |                      ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
  --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/runtime.rs:16:17
   |
16 | pub type Span = proc_macro2::Span;
   |                 ^^^^^^^^^^^

error[E0519]: the current crate is indistinguishable from one of its dependencies: it has the same crate-name `proc_macro2` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
  --> /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/runtime.rs:18:24
   |
18 | pub type TokenStream = proc_macro2::TokenStream;
   |                        ^^^^^^^^^^^

warning: ignoring -C extra-filename flag due to -o flag

For more information about this error, try `rustc --explain E0519`.
warning: `quote` (lib) generated 1 warning
error: could not compile `quote` due to 14 previous errors; 1 warning emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quote CARGO_MANIFEST_DIR=/build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35 CARGO_PKG_AUTHORS='David Tolnay <dtolnay at gmail.com>' CARGO_PKG_DESCRIPTION='Quasi-quoting macro quote'\!'(...)' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=quote CARGO_PKG_REPOSITORY='https://github.com/dtolnay/quote' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.35 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=35 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/build/tailspin-2.4.0+dfsg/target/release/deps:/usr/lib:/usr/lib/libeatmydata' /usr/bin/sccache rustc --crate-name quote --edition=2018 /build/tailspin-2.4.0+dfsg/debian/cargo_registry/quote-1.0.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=7530c576d4e7ba0a -C extra-filename=-7530c576d4e7ba0a --out-dir /build/tailspin-2.4.0+dfsg/target/release/deps -L dependency=/build/tailspin-2.4.0+dfsg/target/release/deps --extern proc_macro2=/build/tailspin-2.4.0+dfsg/target/release/deps/libproc_macro2-a00577f3a9f545bb.rmeta --cap-lints warn` (exit status: 1)



This looks like a bug in rust-quote, or possibly rust-proc-macro2.

 - Jonas
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmWll1wACgkQLHwxRsGg
ASHMQQ//Zly352nefWEYUxvmiqvY5iurLAsdJPgQHo/2fC5iYIn91sUb0JePwubQ
DoBOPJCBYkJpTOFNTzxnsby/drHC2YbDTKrylQV1OpME6dSUi2k+aArFZTQkZgoh
iG+Cy1HQSfW9cd5/BoZ+iF/GdyChYvqxaebd0bv+9z7PWU5HQcmtvFCgOKLstXET
nFW4wYpfbHDk3zSuyOAeZLGvACDwppnVcehMtXd/IA7iDZQP2g8jdfofk4x1Bz9c
v0LjDTt72I6AmNu2RB6HjPDbiGA2j4XtoOHEV2a5rESByen3r48TrdMlsB2gaTXg
73ZIoBkzJd05nHcr6gxA9/0jw/qmYfeCiUy77KSQnEu6MmNudMtYP4jI+hIRbui1
VOo+Eha2Hyz9uROO3DAmK6jTzq5vx/BFWcoqpKqLSXVantMOSCNS3wMzkaSztZ02
2FolqKGiC+82O4CsOu1iDlTqxHylA04FbJlMwH9QozPINg6+uVUwSxeT4E26AyPy
nEXhIm71BxPn7MNrUOwx36mhlpXNRSART/bu3+Juh+JJmRYcZdYq45D+RNDsQj/N
g3fd8tuBFvbi7FJD3rNfuhkj/d2F9fr4+vXu1SyFyf8EmkM2SAu4KcQtcaJR58eq
oLJBlTdMfIxBOY7PVq6aAr2oZkLkQaN85CbggPjXS+MTjWAgaXw=
=c9TT
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list