[From nobody Thu Oct 22 20:23:07 2026
Received: (at submit) by bugs.debian.org; 22 Oct 2026 17:03:24 +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=-119.9 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,MURPHY_FINANCE10,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,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, 59; hammy, 150; neutral, 223; spammy,
 0. spammytokens: hammytokens:0.000-+--HTo:N*Debian,
 0.000-+--forky, 
 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila, 0.000-+--H*r:sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:52532)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1xJwCL-00B447-1B
 for submit@bugs.debian.org; Thu, 22 Oct 2026 17:03:24 +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 mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1xJwCI-003Phs-30
 for submit@bugs.debian.org; Thu, 22 Oct 2026 17:03:23 +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=Ryh2HcAPyFMoc7wfDcj6j/BarXxMyJHfCvGJGIRDOTI=; b=QsjzAML0rPOWKxxwU9gz0AlCuI
 Jq6zn3WQ6r7tnBf8ReSThHg/gDhErzJOyuOvgGLJfIzLZrUKPbFufpiNd7+XmEgkwyiA3H8dSXPaQ
 FvNMRfksawoSjd9dwOPJ2z9j5n8DB3YBK2P14IrmI2PlsmIKDbZK3iNs9MNgYmMecKnqn1APq9pq9
 BIldf4BrX3R6GkJTsYWLD5S2BOoD4EgHxaAjf+P9LdVQ2Fo8NItC3R2U976V6mnh8gt1A2ah5DJhe
 6FpdMNHtdrNZMTxIisfsUelVjK0S8NBRqlbO/eKmU6cGkuMAYBPylOLTxhOqMvsONIjWIrgCbc8Tv
 ZQyG2v/A==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1xJwCH-00467E-16
 for submit@bugs.debian.org; Thu, 22 Oct 2026 17:03:21 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: rust-numbat-cli: FTBFS: error[E0308]: mismatched types
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1xJwCH-00467E-16@paradis.debian.org&gt;
Date: Thu, 22 Oct 2026 17:03:21 +0000
Delivered-To: submit@bugs.debian.org

Package: src:rust-numbat-cli
Version: 1.11.0-5
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/202610/

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-numbat-cli, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box&lt;NumbatError&gt;`, found `NumbatError`
    |
    = note: expected struct `Box&lt;NumbatError&gt;`
                 found enum `NumbatError`

error[E0308]: mismatched types
   --&gt; src/main.rs:525:17
    |
474 |         match result {
    |               ------ this expression has type `Result&lt;(Vec&lt;Statement&lt;'_&gt;&gt;, InterpreterResult), Box&lt;NumbatError&gt;&gt;`
...
525 |             Err(NumbatError::RuntimeError(e)) =&gt; {
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Box&lt;NumbatError&gt;`, found `NumbatError`
    |
    = note: expected struct `Box&lt;NumbatError&gt;`
                 found enum `NumbatError`

error[E0061]: this method takes 5 arguments but 4 arguments were supplied
   --&gt; src/main.rs:496:56
    |
496 |                   let result_markup = interpreter_result.to_markup(
    |  ________________________________________________________^^^^^^^^^-
497 | |                     statements.last(),
498 | |                     &amp;registry,
499 | |                     interactive || pretty_print,
500 | |                     interactive || pretty_print,
501 | |                 );
    | |_________________- argument #5 of type `&amp;FormatOptions` is missing
    |
note: method defined here
   --&gt; /usr/share/cargo/registry/numbat-1.24.0/src/interpreter/mod.rs:101:12
    |
101 |     pub fn to_markup(
    |            ^^^^^^^^^
help: provide the argument
    |
496 |                 let result_markup = interpreter_result.to_markup(
...
500 |                     interactive || pretty_print,
501 ~                     /* &amp;FormatOptions */,
502 ~                 );
    |

error[E0277]: the trait bound `numbat::RuntimeError: ErrorDiagnostic` is not satisfied
   --&gt; src/main.rs:526:39
    |
526 |                 self.print_diagnostic(e);
    |                      ---------------- ^ the trait `ErrorDiagnostic` is not implemented for `numbat::RuntimeError`
    |                      |
    |                      required by a bound introduced by this call
    |
    = help: the following other types implement trait `ErrorDiagnostic`:
              ResolverDiagnostic&lt;'_, CommandError&gt;
              ResolverDiagnostic&lt;'_, numbat::RuntimeError&gt;
              numbat::NameResolutionError
              numbat::ParseError
              numbat::TypeCheckError
              numbat::resolver::ResolverError
note: required by a bound in `Cli::print_diagnostic`
   --&gt; src/main.rs:532:48
    |
532 |     fn print_diagnostic(&amp;mut self, error: impl ErrorDiagnostic) {
    |                                                ^^^^^^^^^^^^^^^ required by this bound in `Cli::print_diagnostic`

error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --&gt; src/main.rs:533:38
    |
533 |         self.context.lock().unwrap().print_diagnostic(error)
    |                                      ^^^^^^^^^^^^^^^^------- argument #2 of type `bool` is missing
    |
note: method defined here
   --&gt; /usr/share/cargo/registry/numbat-1.24.0/src/lib.rs:838:12
    |
838 |     pub fn print_diagnostic(&amp;self, error: impl ErrorDiagnostic, colorize: bool) {
    |            ^^^^^^^^^^^^^^^^
help: provide the argument
    |
533 |         self.context.lock().unwrap().print_diagnostic(error, /* bool */)
    |                                                            ++++++++++++

error[E0716]: temporary value dropped while borrowed
   --&gt; src/completer.rs:126:26
    |
126 |           let candidates = self
    |  __________________________^
127 | |             .context
128 | |             .lock()
129 | |             .unwrap()
    | |_____________________^ creates a temporary value which is freed while still in use
130 |               .get_completions_for(word_part, add_paren);
    |                                                         - temporary value is freed at the end of this statement
...
134 |               candidates
    |               ---------- borrow later used here
    |
note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
   --&gt; src/completer.rs:126:26
    |
126 |           let candidates = self
    |  __________________________^
127 | |             .context
128 | |             .lock()
129 | |             .unwrap()
130 | |             .get_completions_for(word_part, add_paren);
    | |______________________________________________________^
help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use&lt;&gt;`
   --&gt; /usr/share/cargo/registry/numbat-1.24.0/src/lib.rs:268:10
    |
268 |     ) -&gt; impl Iterator&lt;Item = String&gt; {
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: consider using a `let` binding to create a longer lived value
    |
126 ~         let binding = self
127 +             .context
128 +             .lock()
129 +             .unwrap();
130 ~         let candidates = binding
    |

error[E0521]: borrowed data escapes outside of method
  --&gt; src/highlighter.rs:43:37
   |
34 |     fn highlight_candidate&lt;'c&gt;(
   |                            -- lifetime `'c` defined here
35 |         &amp;self,
36 |         candidate: &amp;'c str,
   |         --------- `candidate` is a reference that is only valid in the method body
...
43 |             Cow::Owned(ansi_format(&amp;markup::identifier(candidate), false))
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |                                     |
   |                                     `candidate` escapes the method body here
   |                                     argument requires that `'c` must outlive `'static`

Some errors have detailed explanations: E0053, E0061, E0277, E0308, E0432, E0521, E0624, E0716.
For more information about an error, try `rustc --explain E0053`.
error: could not compile `numbat-cli` (bin &quot;numbat&quot;) due to 17 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] e2aa596e9/out` (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
--------------------------------------------------------------------------------
]