[Pkg-rust-maintainers] Bug#1075860: FTBFS: rustc 1.78

Reinhard Tartler siretart at debian.org
Sat Jul 6 19:13:51 BST 2024


Source: rust-parsec-interface
Version: 0.29.1-1
Severity: serious
Tags: upstream ftbfs
Justification: FTBFS
Forwarded: https://github.com/parallaxsecond/parsec-interface-rs/issues/152


I'm getting a bunch of "unnecessary qualification" issues:

@siretart ➜ /workspaces/parsec-interface-rs (main) $ cargo build
   Compiling prost v0.9.0
   Compiling parsec-interface v0.29.1 (/workspaces/parsec-interface-rs)
error: unnecessary qualification
  --> src/operations/psa_import_key.rs:25:15
   |
25 |     pub data: crate::secrecy::Secret<Vec<u8>>,
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> src/lib.rs:24:5
   |
24 |     unused_qualifications,
   |     ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
   |
25 -     pub data: crate::secrecy::Secret<Vec<u8>>,
25 +     pub data: secrecy::Secret<Vec<u8>>,
   |

error: unnecessary qualification
  --> src/operations/psa_raw_key_agreement.rs:32:24
   |
32 |     pub shared_secret: crate::secrecy::Secret<Vec<u8>>,
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: remove the unnecessary path segments
   |
32 -     pub shared_secret: crate::secrecy::Secret<Vec<u8>>,
32 +     pub shared_secret: secrecy::Secret<Vec<u8>>,
   |

error: could not compile `parsec-interface` (lib) due to 2 previous errors



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Pkg-rust-maintainers mailing list