Article View: linux.debian.bugs.dist
Article #5475Bug#1154800: rust-wholesym: FTBFS: error[E0308]: mismatched types
From: Santiago Vila
Date: Sun, 22 Nov 2026 12:00
Date: Sun, 22 Nov 2026 12:00
65 lines
4453 bytes
4453 bytes
Package: src:rust-wholesym
Version: 0.8.1-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202611/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-wholesym, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
--> /usr/share/cargo/registry/samply-symbols-0.24.1/src/symbol_map_object.rs:164:29
|
164 | (export.address() - base_address) as u32,
| ^^^^^^^ method not found in `Result<object::Export<'_>, object::Error>`
error[E0308]: mismatched types
--> /usr/share/cargo/registry/samply-symbols-0.24.1/src/symbol_map_object.rs:165:49
|
165 | FullSymbolListEntry::Export(export),
| --------------------------- ^^^^^^ expected `Export<'_>`, found `Result<Export<'_>, Error>`
| |
| arguments to this enum variant are incorrect
|
= note: expected struct `object::Export<'_>`
found enum `Result<object::Export<'_>, object::Error>`
note: tuple variant defined here
--> /usr/share/cargo/registry/samply-symbols-0.24.1/src/symbol_map_object.rs:34:5
|
34 | Export(object::Export<'a>),
| ^^^^^^
help: consider using `Result::expect` to unwrap the `Result<object::Export<'_>, object::Error>` value, panicking if the value is a `Result::Err`
|
165 | FullSymbolListEntry::Export(export.expect("REASON")),
| +++++++++++++++++
Some errors have detailed explanations: E0027, E0277, E0308, E0599.
For more information about an error, try `rustc --explain E0027`.
error: could not compile `samply-symbols` (lib) due to 51 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] _64-linux-gnu` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<O2eoF-dsNe-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!nntp.comgw.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!nntp.comgw.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154800: rust-wholesym: FTBFS: error[E0308]: mismatched types Date: Sun, 22 Nov 2026 13:00:01 +0100 Message-ID: <O2eoF-dsNe-15@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 22 11:58:11 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1154800@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, pkg-rust-maintainers@alioth-lists.debian.net X-Debian-Pr-Message: report 1154800 X-Debian-Pr-Package: src:rust-wholesym X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: rust-wholesym X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004092 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 65 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 22 Nov 2026 11:54:56 +0000 X-Original-Message-ID: <E1xV69o-005hX9-1e@paradis.debian.org>