Article View: linux.debian.bugs.rc
Article #3514Bug#1154395: nethsm-pkcs11: FTBFS: error[E0061]: this function takes 2 arguments but 1 argument was supplied
From: Santiago Vila
Date: Wed, 18 Nov 2026 19:00
Date: Wed, 18 Nov 2026 19:00
61 lines
4218 bytes
4218 bytes
Package: src:nethsm-pkcs11
Version: 2.0.0-3
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:nethsm-pkcs11, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
| +++++++
warning: `lazy_static` (lib) generated 1 warning
Compiling nethsm_pkcs11 v2.0.0 (/<<PKGBUILDDIR>>/pkcs11)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=nethsm_p [too-long-redacted] uild/ring-1a49158987da5799/out`
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> pkcs11/src/ureq/rustls_connector.rs:68:19
|
68 | sock: TransportAdapter::new(transport),
| ^^^^^^^^^^^^^^^^^^^^^----------- argument #2 of type `Arc<(dyn Fn() -> ureq::unversioned::transport::time::Instant + Send + Sync + 'static)>` is missing
|
note: associated function defined here
--> /usr/share/cargo/registry/ureq-3.5.1/src/unversioned/transport/io.rs:23:12
|
23 | pub fn new(
| ^^^
help: provide the argument
|
68 | sock: TransportAdapter::new(transport, /* Arc<(dyn Fn() -> ureq::unversioned::transport::time::Instant + Send + Sync + 'static)> */),
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
For more information about this error, try `rustc --explain E0061`.
error: could not compile `nethsm_pkcs11` (lib) due to 1 previous error
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] 987da5799/out` (exit status: 1)
make[1]: *** [debian/rules:30: override_dh_auto_build] Error 101
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<O0T2V-cJRm-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1154395: nethsm-pkcs11: FTBFS: error[E0061]: this function takes 2 arguments but 1 argument was supplied Date: Wed, 18 Nov 2026 20:00:01 +0100 Message-ID: <O0T2V-cJRm-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Wed Nov 18 18:55:41 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1154395@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 1154395 X-Debian-Pr-Package: src:nethsm-pkcs11 X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: nethsm-pkcs11 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838736 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 61 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 18 Nov 2026 18:53:15 +0000 X-Original-Message-ID: <E1xTkmR-00218L-1H@paradis.debian.org>