🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Santiago Vila Wed, 18 Nov 2026 19:00
Bug#1154406: rust-samply: FTBFS: error[E0308]: mismatched types
#3524
Author: Santiago Vila
Date: Wed, 18 Nov 2026 19:00
68 lines
4553 bytes
Package: src:rust-samply
Version: 0.13.1-2
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-samply, 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)
warning: build failed, waiting for other jobs to finish...
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Bug#1154406: marked as done (rust-samply: FTBFS: error[E0308]: mismatched types)
#4237
Author: Debian Bug Tracking System
Date: Wed, 25 Nov 2026 21:30
275 lines
14211 bytes
This is a multi-part message in MIME format...

------------=_1795641904-3539266-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 25 Nov 2026 21:47:17 +0100
with message-id <awdJVTiXYogBjp93@ramacher.at>
and subject line Re: Bug#1154406: rust-samply: FTBFS: error[E0308]: mismatc=
hed types
has caused the Debian Bug report #1154406,
regarding rust-samply: FTBFS: error[E0308]: mismatched types
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1154406: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1154406
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795641904-3539266-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 18 Nov 2026 18:53:39 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
	USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 105; spammy,
	0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
	0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
	0.000-+--H*F:U*sanvila
Return-path: <sanvila@debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:41368)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xTkmq-003OIS-27
	for submit@bugs.debian.org;
	Wed, 18 Nov 2026 18:53:39 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xTkmr-0022NJ-08
	for submit@bugs.debian.org;
	Wed, 18 Nov 2026 18:53:39 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
	MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=yn3G+B2qonziI2TAOXdtRpYSXAmqTQt+/d27gx4/6KM=; b=ZuazuRl5UVGLVK6Hq5fUb4kdog
	DtFt/Z2MktcqkcUaccTE8UxrA7+F2TjhwnO/qWOFQaBhJUycJQlNYtzF7d1EQzAXM+w1RUbwsQ56h
	nVnrER4ai0vqUU8ahmZ30IKks/H/fiQVeYd7YFH1hz0U1L5/5kk1ymO+4SaZeVR2yy6zqjRmG5fo4
	xpR42vVkFyaCBaEYG/UpquXWcG9zG6FjS3UT4PcNCQiwNyQgHwjenBsb/slJx3jXKqptoeWE4kuaH
	rjpNqetzrFA0zOQ1Bzsc2Md0sEgowGZJCjgJ/viEC0IEl2gQeIybhoIFQGfJx3a/Y1/au6l6+R/a9
	/j6MJ9bw==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xTkmp-00219d-1x
	for submit@bugs.debian.org;
	Wed, 18 Nov 2026 18:53:39 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: rust-samply: FTBFS: error[E0308]: mismatched types
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1xTkmp-00219d-1x@paradis.debian.org>
Date: Wed, 18 Nov 2026 18:53:39 +0000
Delivered-To: submit@bugs.debian.org

Package: src:rust-samply
Version: 0.13.1-2
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-samply, 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)
warning: build failed, waiting for other jobs to finish...
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

------------=_1795641904-3539266-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1154406-done) by bugs.debian.org; 25 Nov 2026 21:23:50 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.8 required=4.0 tests=BAYES_00,DKIM_INVALID,
	DKIM_SIGNED,HAS_BUG_NUMBER,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 151; spammy,
	0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
	0.000-+--PKGBUILDDIR, 0.000-+--forky, 0.000-+--sk:buildd.,
	0.000-+--UD:buildd.debian.org
Return-path: <sebastian@ramacher.at>
Received: from alphacentauri.ramacher.at ([2a01:4f8:1c1c:13a0::2]:53243)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sebastian@ramacher.at>)
	id 1xWKT1-00EqPJ-0K
	for 1154406-done@bugs.debian.org;
	Wed, 25 Nov 2026 21:23:50 +0000
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ramacher.at; s=eddsa1; h=In-Reply-To:Content-Type:MIME-Version:References:
	Message-ID:Subject:To:From:Date:Cc;
	bh=wbbea/aRZfyowx8kCPOzucsYoW/9iPYdN6ScvLYRIHg=; t=1795641830; x=1796505830; 
	b=/SSsKGacEAGvB2ej9WBugBr8JXWohZinC28K3TY7fcVpB3ZW4X5/posbNd4t3MwNmWnRyF3L3Ra
	cPAmSVH8AAQ==;
Date: Wed, 25 Nov 2026 21:47:17 +0100
From: Sebastian Ramacher <sebastian@ramacher.at>
To: Santiago Vila <sanvila@debian.org>, 1154406-done@bugs.debian.org
Subject: Re: Bug#1154406: rust-samply: FTBFS: error[E0308]: mismatched types
Message-ID: <awdJVTiXYogBjp93@ramacher.at>
References: <E1xTkmp-00219d-1x@paradis.debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1xTkmp-00219d-1x@paradis.debian.org>
X-Greylist: delayed 2189 seconds by postgrey-1.37 at buxtehude; Wed, 25 Nov 2026 21:23:50 UTC

On 2026-11-18 18:53:39 +0000, Santiago Vila wrote:
> Package: src:rust-samply
> Version: 0.13.1-2
> 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-samply, 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)
> warning: build failed, waiting for other jobs to finish...
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
> make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:3: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
> --------------------------------------------------------------------------------

This issues was temporary and it builds again:
https://buildd.debian.org/status/fetch.php?pkg=rust-samply&arch=amd64&ver=0.13.1-2&stamp=1795559999&raw=0

Cheers
-- 
Sebastian Ramacher
------------=_1795641904-3539266-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads