==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_76f73e5c-2136-40da-b549-2c0fa457ac09]...done
==> Making package: nethsm-pkcs11 3.0.1-1.1 (Thu Oct 22 04:25:26 2026)
==> Retrieving sources...
  -> Downloading nethsm-pkcs11-3.0.1.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0100 141.1k   0 141.1k   0      0 205.7k      0                              0100 141.1k   0 141.1k   0      0 205.7k      0                              0100 141.1k   0 141.1k   0      0 205.7k      0                              0
==> Validating source files with sha512sums...
    nethsm-pkcs11-3.0.1.tar.gz ... Passed
==> Validating source files with b2sums...
    nethsm-pkcs11-3.0.1.tar.gz ... Passed
Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.
==> Making package: nethsm-pkcs11 3.0.1-1.1 (Thu Oct 22 02:25:30 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (7)        New Version     Net Change

extra/compiler-rt  23.1.3-4         56.19 MiB
core/libedit       20260512_3.1-1    0.27 MiB
extra/libgit2      1:1.9.7-1         3.16 MiB
extra/lld          23.1.3-4          7.58 MiB
extra/llhttp       9.3.1-1           0.11 MiB
extra/llvm-libs    23.1.3-4        164.87 MiB
extra/rust         1:1.99.1-1      309.14 MiB

Total Installed Size:  541.32 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing compiler-rt...
installing llhttp...
installing libgit2...
installing libedit...
installing llvm-libs...
installing lld...
installing rust...
Optional dependencies for rust
    gdb: rust-gdb script [installed]
    lldb: rust-lldb script
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found nethsm-pkcs11-3.0.1.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting nethsm-pkcs11-3.0.1.tar.gz with bsdtar
==> Starting prepare()...
    Updating crates.io index
 Downloading crates ...
  Downloaded subtle v2.6.1
  Downloaded untrusted v0.9.0
  Downloaded merge_derive v0.2.0
  Downloaded cfg-if v1.0.5
  Downloaded zerofrom v0.1.8
  Downloaded form_urlencoded v1.2.2
  Downloaded idna_adapter v1.2.2
  Downloaded pem-rfc7468 v1.0.0
  Downloaded hash32 v0.3.1
  Downloaded stable_deref_trait v1.2.1
  Downloaded byteorder v1.5.0
  Downloaded zmij v1.0.23
  Downloaded time-core v0.1.9
  Downloaded num_threads v0.1.8
  Downloaded num-conv v0.2.2
  Downloaded percent-encoding v2.3.2
  Downloaded zerofrom-derive v0.1.8
  Downloaded utf8parse v0.2.2
  Downloaded yoke-derive v0.8.4
  Downloaded is_terminal_polyfill v1.70.2
  Downloaded powerfmt v0.2.1
  Downloaded utf8-zero v0.8.1
  Downloaded equivalent v1.0.3
  Downloaded matchers v0.2.0
  Downloaded zeroize v1.9.1
  Downloaded defmt-parser v1.1.0
  Downloaded env_filter v2.0.0
  Downloaded anstyle-query v1.1.5
  Downloaded itoa v1.0.18
  Downloaded colorchoice v1.0.5
  Downloaded test-log-core v0.2.21
  Downloaded utf8_iter v1.0.4
  Downloaded sha1 v0.11.0
  Downloaded mime v0.3.17
  Downloaded test-log v0.2.21
  Downloaded test-log-macros v0.2.21
  Downloaded openssl-probe v0.2.1
  Downloaded potential_utf v0.1.6
  Downloaded crypto-common v0.2.2
  Downloaded cpufeatures v0.3.1
  Downloaded version_check v0.9.5
  Downloaded hex-literal v1.1.0
  Downloaded errno v0.3.14
  Downloaded proc-macro-error-attr2 v2.0.0
  Downloaded secrecy v0.10.3
  Downloaded match_cfg v0.1.0
  Downloaded rand_chacha v0.3.1
  Downloaded deranged v0.5.9
  Downloaded document-features v0.2.12
  Downloaded displaydoc v0.2.7
  Downloaded block-buffer v0.12.1
  Downloaded hex v0.4.3
  Downloaded hostname v0.3.1
  Downloaded thread_local v1.1.10
  Downloaded tracing-log v0.2.0
  Downloaded lazy_static v1.5.1
  Downloaded env_logger v0.11.11
  Downloaded merge v0.2.0
  Downloaded nu-ansi-term v0.50.3
  Downloaded quote v1.0.47
  Downloaded base64ct v1.8.3
  Downloaded anstyle v1.0.14
  Downloaded anstream v1.0.0
  Downloaded tinystr v0.8.4
  Downloaded zerovec-derive v0.11.6
  Downloaded either v1.19.0
  Downloaded thiserror-impl v2.0.21
  Downloaded thiserror v2.0.21
  Downloaded defmt-macros v1.2.0
  Downloaded fastrand v2.5.0
  Downloaded rustls-native-certs v0.8.5
  Downloaded autocfg v1.5.1
  Downloaded rand_core v0.6.4
  Downloaded libloading v0.8.9
  Downloaded rustversion v1.0.23
  Downloaded digest v0.11.3
  Downloaded memchr v2.8.3
  Downloaded once_cell v1.21.4
  Downloaded proc-macro-error2 v2.0.1
  Downloaded pin-project-lite v0.2.17
  Downloaded spki v0.8.1
  Downloaded flagset v0.4.7
  Downloaded sha2 v0.11.1
  Downloaded mime_guess v2.0.5
  Downloaded md-5 v0.11.0
  Downloaded getrandom v0.2.17
  Downloaded cookie_store v0.22.1
  Downloaded litemap v0.8.3
  Downloaded find-msvc-tools v0.1.15
  Downloaded crossbeam-deque v0.8.8
  Downloaded ppv-lite86 v0.2.21
  Downloaded yoke v0.8.3
  Downloaded writeable v0.6.4
  Downloaded bitflags v1.3.2
  Downloaded anstyle-parse v1.0.0
  Downloaded smallvec v1.16.3
  Downloaded defmt v1.2.0
  Downloaded shlex v2.0.1
  Downloaded time-macros v0.2.32
  Downloaded cookie v0.18.2
  Downloaded der_derive v0.8.0
  Downloaded synstructure v0.14.0
  Downloaded rustls-pki-types v1.15.1
  Downloaded httparse v1.10.1
  Downloaded crossbeam-utils v0.8.23
  Downloaded socket2 v0.6.5
  Downloaded crossbeam-epoch v0.9.21
  Downloaded unicode-ident v1.0.27
  Downloaded hybrid-array v0.4.15
  Downloaded libloading v0.5.2
  Downloaded serde_derive v1.0.229
  Downloaded tracing-core v0.1.36
  Downloaded proc-macro2 v1.0.107
  Downloaded unicase v2.10.0
  Downloaded icu_provider v2.3.1
  Downloaded litrs v1.0.1
  Downloaded unsafe-libyaml v0.2.11
  Downloaded serde_core v1.0.229
  Downloaded error-chain v0.12.4
  Downloaded pkcs11 v0.5.0
  Downloaded icu_normalizer_data v2.3.0
  Downloaded serde_yaml v0.9.34+deprecated
  Downloaded ryu v1.0.23
  Downloaded const-oid v0.10.2
  Downloaded der v0.8.2
  Downloaded tempfile v3.27.0
  Downloaded num-integer v0.1.47
  Downloaded bytes v1.12.1
  Downloaded log v0.4.34
  Downloaded bitflags v2.13.2
  Downloaded num-traits v0.2.19
  Downloaded multipart v0.18.0
  Downloaded getrandom v0.4.3
  Downloaded rustls-webpki v0.103.16
  Downloaded ureq-proto v0.6.5
  Downloaded base64 v0.23.1
  Downloaded url v2.5.8
  Downloaded icu_collections v2.3.0
  Downloaded icu_locale_core v2.3.0
  Downloaded sharded-slab v0.1.7
  Downloaded zerotrie v0.2.5
  Downloaded rand v0.8.8
  Downloaded arc-swap v1.9.3
  Downloaded icu_properties v2.3.0
  Downloaded serde v1.0.229
  Downloaded indexmap v2.14.2
  Downloaded base64 v0.21.7
  Downloaded mio v1.2.4
  Downloaded num-bigint v0.2.6
  Downloaded rayon-core v1.13.0
  Downloaded zerovec v0.11.8
  Downloaded http v1.5.0
  Downloaded jiff-core v0.1.1
  Downloaded typenum v1.20.1
  Downloaded serde_json v1.0.154
  Downloaded cc v1.9.0
  Downloaded cryptoki v0.12.1
  Downloaded x509-cert v0.3.0
  Downloaded heapless v0.9.3
  Downloaded idna v1.1.0
  Downloaded hashbrown v0.17.1
  Downloaded syslog v6.1.1
  Downloaded ureq v3.4.2
  Downloaded regex v1.13.1
  Downloaded icu_properties_data v2.3.0
  Downloaded aho-corasick v1.1.5
  Downloaded rayon v1.12.0
  Downloaded tracing-subscriber v0.3.23
  Downloaded webpki-roots v1.0.10
  Downloaded nethsm-sdk-rs v4.0.0
  Downloaded zerocopy v0.8.63
  Downloaded time v0.3.55
  Downloaded cryptoki-sys v0.5.0
  Downloaded rustix v1.1.5
  Downloaded rustls v0.23.46
  Downloaded syn v3.0.9
  Downloaded syn v2.0.119
  Downloaded regex-syntax v0.8.11
  Downloaded tracing v0.1.44
  Downloaded icu_normalizer v2.3.0
  Downloaded jiff v0.2.38
  Downloaded regex-automata v0.4.18
  Downloaded libc v0.2.191
  Downloaded tokio v1.54.0
  Downloaded ring v0.17.14
  Downloaded linux-raw-sys v0.12.1
==> Starting build()...
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.27
   Compiling libc v0.2.191
   Compiling stable_deref_trait v1.2.1
   Compiling cfg-if v1.0.5
   Compiling zeroize v1.9.1
   Compiling find-msvc-tools v0.1.15
   Compiling log v0.4.34
   Compiling shlex v2.0.1
   Compiling writeable v0.6.4
   Compiling litemap v0.8.3
   Compiling serde_core v1.0.229
   Compiling icu_normalizer_data v2.3.0
   Compiling utf8_iter v1.0.4
   Compiling icu_properties_data v2.3.0
   Compiling itoa v1.0.18
   Compiling const-oid v0.10.2
   Compiling typenum v1.20.1
   Compiling zerocopy v0.8.63
   Compiling crossbeam-utils v0.8.23
   Compiling serde v1.0.229
   Compiling crossbeam-epoch v0.9.21
   Compiling untrusted v0.9.0
   Compiling getrandom v0.4.3
   Compiling byteorder v1.5.0
   Compiling rustix v1.1.5
   Compiling cc v1.9.0
   Compiling rustls-pki-types v1.15.1
   Compiling smallvec v1.16.3
   Compiling once_cell v1.21.4
   Compiling heapless v0.9.3
   Compiling httparse v1.10.1
   Compiling unicase v2.10.0
   Compiling zmij v1.0.23
   Compiling hash32 v0.3.1
   Compiling serde_json v1.0.154
   Compiling bitflags v2.13.2
   Compiling percent-encoding v2.3.2
   Compiling linux-raw-sys v0.12.1
   Compiling hybrid-array v0.4.15
   Compiling crossbeam-deque v0.8.8
   Compiling version_check v0.9.5
   Compiling bytes v1.12.1
   Compiling base64ct v1.8.3
   Compiling rustls v0.23.46
   Compiling rayon-core v1.13.0
   Compiling utf8parse v0.2.2
   Compiling rustversion v1.0.23
   Compiling base64 v0.23.1
   Compiling hashbrown v0.17.1
   Compiling equivalent v1.0.3
   Compiling mime_guess v2.0.5
   Compiling mime v0.3.17
   Compiling flagset v0.4.7
   Compiling fastrand v2.5.0
   Compiling memchr v2.8.3
   Compiling subtle v2.6.1
   Compiling getrandom v0.2.17
   Compiling block-buffer v0.12.1
   Compiling crypto-common v0.2.2
   Compiling pem-rfc7468 v1.0.0
   Compiling thiserror v2.0.21
   Compiling rand_core v0.6.4
   Compiling anstyle-parse v1.0.0
   Compiling form_urlencoded v1.2.2
   Compiling webpki-roots v1.0.10
   Compiling jiff-core v0.1.1
   Compiling http v1.5.0
   Compiling match_cfg v0.1.0
   Compiling powerfmt v0.2.1
   Compiling time-core v0.1.9
   Compiling syn v3.0.9
   Compiling syn v2.0.119
   Compiling num_threads v0.1.8
   Compiling ryu v1.0.23
   Compiling num-conv v0.2.2
   Compiling digest v0.11.3
   Compiling indexmap v2.14.2
   Compiling deranged v0.5.9
   Compiling error-chain v0.12.4
   Compiling is_terminal_polyfill v1.70.2
   Compiling cryptoki-sys v0.5.0
   Compiling colorchoice v1.0.5
   Compiling anstyle-query v1.1.5
   Compiling unsafe-libyaml v0.2.11
   Compiling utf8-zero v0.8.1
   Compiling cpufeatures v0.3.1
   Compiling anstyle v1.0.14
   Compiling hostname v0.3.1
   Compiling env_filter v2.0.0
   Compiling libloading v0.8.9
   Compiling jiff v0.2.38
   Compiling ureq-proto v0.6.5
   Compiling either v1.19.0
   Compiling anstream v1.0.0
   Compiling openssl-probe v0.2.1
   Compiling nethsm_pkcs11 v3.0.1 (/startdir/src/nethsm-pkcs11-3.0.1/pkcs11)
   Compiling base64 v0.21.7
   Compiling hex v0.4.3
   Compiling rustls-native-certs v0.8.5
   Compiling time v0.3.55
   Compiling sha2 v0.11.1
   Compiling ppv-lite86 v0.2.21
   Compiling rayon v1.12.0
   Compiling sha1 v0.11.0
   Compiling md-5 v0.11.0
   Compiling tempfile v3.27.0
   Compiling socket2 v0.6.5
   Compiling hex-literal v1.1.0
   Compiling proc-macro-error-attr2 v2.0.0
   Compiling rand_chacha v0.3.1
   Compiling synstructure v0.14.0
   Compiling rand v0.8.8
   Compiling multipart v0.18.0
   Compiling arc-swap v1.9.3
   Compiling syslog v6.1.1
   Compiling proc-macro-error2 v2.0.1
   Compiling env_logger v0.11.11
   Compiling ring v0.17.14
   Compiling der_derive v0.8.0
   Compiling merge_derive v0.2.0
   Compiling zerofrom-derive v0.1.8
   Compiling yoke-derive v0.8.4
   Compiling zerovec-derive v0.11.6
   Compiling displaydoc v0.2.7
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.21
   Compiling merge v0.2.0
   Compiling rustls-webpki v0.103.16
   Compiling der v0.8.2
   Compiling zerofrom v0.1.8
   Compiling spki v0.8.1
   Compiling yoke v0.8.3
   Compiling zerovec v0.11.8
   Compiling zerotrie v0.2.5
   Compiling x509-cert v0.3.0
   Compiling tinystr v0.8.4
   Compiling potential_utf v0.1.6
   Compiling icu_collections v2.3.0
   Compiling icu_locale_core v2.3.0
   Compiling icu_provider v2.3.1
   Compiling icu_normalizer v2.3.0
   Compiling icu_properties v2.3.0
   Compiling idna_adapter v1.2.2
   Compiling idna v1.1.0
   Compiling url v2.5.8
   Compiling serde_yaml v0.9.34+deprecated
   Compiling ureq v3.4.2
   Compiling config_file v0.1.0 (/startdir/src/nethsm-pkcs11-3.0.1/pkcs11/config_file)
   Compiling nethsm-sdk-rs v4.0.0
    Finished `release` profile [optimized] target(s) in 1m 57s
warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
==> Starting check()...
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.27
   Compiling libc v0.2.191
   Compiling cfg-if v1.0.5
   Compiling stable_deref_trait v1.2.1
   Compiling find-msvc-tools v0.1.15
   Compiling shlex v2.0.1
   Compiling log v0.4.34
   Compiling zeroize v1.9.1
   Compiling serde_core v1.0.229
   Compiling itoa v1.0.18
   Compiling serde v1.0.229
   Compiling autocfg v1.5.1
   Compiling writeable v0.6.4
   Compiling litemap v0.8.3
   Compiling utf8_iter v1.0.4
   Compiling icu_properties_data v2.3.0
   Compiling typenum v1.20.1
   Compiling const-oid v0.10.2
   Compiling zerocopy v0.8.63
   Compiling icu_normalizer_data v2.3.0
   Compiling crossbeam-utils v0.8.23
   Compiling bytes v1.12.1
   Compiling rustix v1.1.5
   Compiling heapless v0.9.3
   Compiling getrandom v0.4.3
   Compiling cc v1.9.0
   Compiling rustls-pki-types v1.15.1
   Compiling thiserror v2.0.21
   Compiling crossbeam-epoch v0.9.21
   Compiling untrusted v0.9.0
   Compiling httparse v1.10.1
   Compiling unicase v2.10.0
   Compiling hashbrown v0.17.1
   Compiling byteorder v1.5.0
   Compiling smallvec v1.16.3
   Compiling equivalent v1.0.3
   Compiling zmij v1.0.23
   Compiling once_cell v1.21.4
   Compiling bitflags v2.13.2
   Compiling hash32 v0.3.1
   Compiling crossbeam-deque v0.8.8
   Compiling percent-encoding v2.3.2
   Compiling linux-raw-sys v0.12.1
   Compiling mime_guess v2.0.5
   Compiling base64ct v1.8.3
   Compiling unsafe-libyaml v0.2.11
   Compiling utf8parse v0.2.2
   Compiling hybrid-array v0.4.15
   Compiling serde_json v1.0.154
   Compiling indexmap v2.14.2
   Compiling version_check v0.9.5
   Compiling rustls v0.23.46
   Compiling ryu v1.0.23
   Compiling block-buffer v0.12.1
   Compiling crypto-common v0.2.2
   Compiling num-traits v0.2.19
   Compiling num-bigint v0.2.6
   Compiling pem-rfc7468 v1.0.0
   Compiling anstyle-parse v1.0.0
   Compiling syn v3.0.9
   Compiling syn v2.0.119
   Compiling http v1.5.0
   Compiling rustversion v1.0.23
   Compiling jiff-core v0.1.1
   Compiling cryptoki-sys v0.5.0
   Compiling fastrand v2.5.0
   Compiling base64 v0.23.1
   Compiling is_terminal_polyfill v1.70.2
   Compiling colorchoice v1.0.5
   Compiling digest v0.11.3
   Compiling rayon-core v1.13.0
   Compiling subtle v2.6.1
   Compiling memchr v2.8.3
   Compiling anstyle v1.0.14
   Compiling flagset v0.4.7
   Compiling error-chain v0.12.4
   Compiling anstyle-query v1.1.5
   Compiling getrandom v0.2.17
   Compiling hex v0.4.3
   Compiling mime v0.3.17
   Compiling rand_core v0.6.4
   Compiling anstream v1.0.0
   Compiling ureq-proto v0.6.5
   Compiling jiff v0.2.38
   Compiling num-integer v0.1.47
   Compiling tempfile v3.27.0
   Compiling form_urlencoded v1.2.2
   Compiling webpki-roots v1.0.10
   Compiling env_filter v2.0.0
   Compiling libloading v0.8.9
   Compiling time-core v0.1.9
   Compiling num_threads v0.1.8
   Compiling proc-macro-error-attr2 v2.0.0
   Compiling hex-literal v1.1.0
   Compiling deranged v0.5.9
   Compiling match_cfg v0.1.0
   Compiling utf8-zero v0.8.1
   Compiling powerfmt v0.2.1
   Compiling synstructure v0.14.0
   Compiling num-conv v0.2.2
   Compiling cpufeatures v0.3.1
   Compiling test-log-core v0.2.21
   Compiling hostname v0.3.1
   Compiling proc-macro-error2 v2.0.1
   Compiling ppv-lite86 v0.2.21
   Compiling env_logger v0.11.11
   Compiling socket2 v0.6.5
   Compiling time v0.3.55
   Compiling mio v1.2.4
   Compiling secrecy v0.10.3
   Compiling openssl-probe v0.2.1
   Compiling nethsm_pkcs11 v3.0.1 (/startdir/src/nethsm-pkcs11-3.0.1/pkcs11)
   Compiling rand_chacha v0.3.1
   Compiling pin-project-lite v0.2.17
   Compiling rand v0.8.8
   Compiling base64 v0.21.7
   Compiling either v1.19.0
   Compiling arc-swap v1.9.3
   Compiling cryptoki v0.12.1
   Compiling rustls-native-certs v0.8.5
   Compiling sha2 v0.11.1
   Compiling ring v0.17.14
   Compiling libloading v0.5.2
   Compiling syslog v6.1.1
   Compiling tokio v1.54.0
   Compiling sha1 v0.11.0
   Compiling md-5 v0.11.0
   Compiling rayon v1.12.0
   Compiling multipart v0.18.0
   Compiling zerofrom-derive v0.1.8
   Compiling yoke-derive v0.8.4
   Compiling zerovec-derive v0.11.6
   Compiling displaydoc v0.2.7
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.21
   Compiling pkcs11 v0.5.0
   Compiling zerofrom v0.1.8
   Compiling yoke v0.8.3
   Compiling zerovec v0.11.8
   Compiling zerotrie v0.2.5
   Compiling tinystr v0.8.4
   Compiling potential_utf v0.1.6
   Compiling icu_collections v2.3.0
   Compiling icu_locale_core v2.3.0
   Compiling icu_provider v2.3.1
   Compiling icu_normalizer v2.3.0
   Compiling icu_properties v2.3.0
   Compiling idna_adapter v1.2.2
   Compiling idna v1.1.0
   Compiling url v2.5.8
   Compiling rustls-webpki v0.103.16
   Compiling merge_derive v0.2.0
   Compiling der_derive v0.8.0
   Compiling test-log-macros v0.2.21
   Compiling test-log v0.2.21
   Compiling merge v0.2.0
   Compiling serde_yaml v0.9.34+deprecated
   Compiling ureq v3.4.2
   Compiling der v0.8.2
   Compiling nethsm-sdk-rs v4.0.0
   Compiling config_file v0.1.0 (/startdir/src/nethsm-pkcs11-3.0.1/pkcs11/config_file)
   Compiling spki v0.8.1
   Compiling x509-cert v0.3.0
    Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 09s
warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running unittests src/lib.rs (target/debug/deps/config_file-0495bc3fb7d0234f)

running 8 tests
test tests::test_read_config_no_file ... ignored
test tests::test_read_home_config ... ignored
test tests::test_deserialize_password_env_unset ... ok
test tests::test_deserialize_password_empty ... ok
test tests::test_deserialize_password_env ... ok
test tests::test_deserialize_full_example_config ... ok
test tests::test_deserialize_password_none ... ok
test tests::test_deserialize_password ... ok

test result: ok. 6 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running unittests src/lib.rs (target/debug/deps/nethsm_pkcs11-1750abac1b9ea4d4)

running 167 tests
test api::decrypt::tests::test_decrypt_null_data ... ok
test api::decrypt::tests::test_decrypt_null_data_len ... ok
test api::decrypt::tests::test_decrypt_null_encrypted_data ... ok
test api::encrypt::tests::test_encrypt_final_operation_not_initialized ... ok
test api::decrypt::tests::test_decrypt_update_invalid_session ... ok
test api::decrypt::tests::test_decrypt_update_null_encrypted_part ... ok
test api::decrypt::tests::test_decrypt_update_null_part_len ... ok
test api::decrypt::tests::test_decrypt_update_operation_not_initialized ... ok
test api::decrypt::tests::test_decrypt_verify_update ... ok
test api::digest::tests::test_decrypt_digest_update ... ok
test api::digest::tests::test_digest ... ok
test api::digest::tests::test_digest_encrypt_update ... ok
test api::digest::tests::test_digest_final ... ok
test api::digest::tests::test_digest_init ... ok
test api::digest::tests::test_digest_key ... ok
test api::digest::tests::test_digest_update ... ok
test api::encrypt::tests::test_encrypt_final_invalid_session ... ok
test api::encrypt::tests::test_encrypt_final_null_encrypted_part ... ok
test api::decrypt::tests::test_decrypt_final_invalid_session ... ok
test api::encrypt::tests::test_encrypt_invalid_session ... ok
test api::decrypt::tests::test_decrypt_final_operation_not_initialized ... ok
test api::encrypt::tests::test_encrypt_null_encrypted_data_len ... ok
test api::encrypt::tests::test_encrypt_init_invalid_session ... ok
test api::encrypt::tests::test_encrypt_null_data ... ok
test api::encrypt::tests::test_encrypt_operation_not_initialized ... ok
test api::decrypt::tests::test_decrypt_init_null_mech ... ok
test api::encrypt::tests::test_encrypt_update_null_encrypted_part ... ok
test api::decrypt::tests::test_decrypt_init_invalid_session ... ok
test api::encrypt::tests::test_encrypt_update_null_encrypted_part_len ... ok
test api::decrypt::tests::test_decrypt_final_null_last_part_len ... ok
test api::encrypt::tests::test_encrypt_update_operation_not_initialized ... ok
test api::decrypt::tests::test_decrypt_invalid_session ... ok
test api::generation::tests::test_derive_key ... ok
test api::generation::tests::test_generate_key_null_mech ... ok
test api::decrypt::tests::test_decrypt_init_unknown_mech ... ok
test api::encrypt::tests::test_encrypt_init_null_mechanism ... ok
test api::encrypt::tests::test_encrypt_init_invalid_mechanism ... ok
test api::encrypt::tests::test_encrypt_update_null_part ... ok
test api::encrypt::tests::test_encrypt_null_encrypted_data ... ok
test api::generation::tests::test_generate_key_pair_null_mech ... ok
test api::generation::tests::test_generate_key_pair_null_ph_private_key ... ok
test api::generation::tests::test_generate_key_pair_null_public_template ... ok
test api::generation::tests::test_generate_key_pair_null_ph_public_key ... ok
test api::encrypt::tests::test_encrypt_update_invalid_session ... ok
test api::generation::tests::test_generate_key_pair_unknown_mech ... ok
test api::generation::tests::test_generate_random_invalid_length ... ok
test api::generation::tests::test_generate_random_null_data ... ok
test api::encrypt::tests::test_encrypt_final_null_encrypted_part_len ... ok
test api::object::tests::test_destroy_object_invalid_session ... ok
test api::generation::tests::test_generate_key_null_phkey ... ok
test api::generation::tests::test_seed_random ... ok
test api::generation::tests::test_unwrap_key ... ok
test api::generation::tests::test_generate_key_pair_null_private_template ... ok
test api::generation::tests::test_wrap_key ... ok
test api::generation::tests::test_generate_key_null_template ... ok
test api::object::tests::test_find_objects_final_invalid_session ... ok
test api::object::tests::test_copy_object ... ok
test api::object::tests::test_find_objects_init_bad_arguments ... ok
test api::object::tests::test_create_object_invalid_session ... ok
test api::object::tests::test_create_object_null_object ... ok
test api::object::tests::test_create_object_null_template ... ok
test api::object::tests::test_find_objects_invalid_session ... ok
test api::object::tests::test_find_objects_null_object ... ok
test api::object::tests::test_find_objects_null_object_count ... ok
test api::object::tests::test_get_attribute_value_invalid_object ... ok
test api::object::tests::test_get_attribute_value_invalid_session ... ok
test api::object::tests::test_get_attribute_value_null_template ... ok
test api::object::tests::test_get_object_size ... ok
test api::encrypt::tests::test_encrypt_update_buffer_too_small ... ok
test api::generation::tests::test_generate_random_zero_length ... ok
test api::object::tests::test_set_attribute_null_template ... ok
test api::pin::tests::test_init_pin ... ok
test api::pin::tests::test_set_pin_invalid_session ... ok
test api::pin::tests::test_set_pin_no_user ... ok
test api::pin::tests::test_set_pin_no_utf8_new_pin ... ok
test api::pin::tests::test_set_pin_no_utf8_old_pin ... ok
test api::pin::tests::test_set_pin_null_new_pin ... ok
test api::pin::tests::test_set_pin_null_old_pin ... ok
test api::session::tests::test_cancel_function ... ok
test api::session::tests::test_close_all_sessions ... ok
test api::session::tests::test_close_all_sessions_invalid_slot ... ok
test api::session::tests::test_delete_session_invalid ... ok
test api::session::tests::test_get_function_status ... ok
test api::session::tests::test_get_operation_state ... ok
test api::session::tests::test_get_session_info_invalid_session ... ok
test api::session::tests::test_get_session_info_null_info ... ok
test api::session::tests::test_open_session_null_session ... ok
test api::session::tests::test_open_session_parallel ... ok
test api::session::tests::test_set_operation_state ... ok
test api::sign::tests::test_sign_encrypt_update ... ok
test api::object::tests::test_get_object_size_invalid_session ... ok
test api::object::tests::test_get_object_size_invalid_object ... ok
test api::object::tests::test_get_object_size_null_size ... ok
test api::sign::tests::test_sign_update_operation_not_initialized ... ok
test api::sign::tests::test_sign_final_invalid_session ... ok
test api::generation::tests::test_generate_key_unknown_mech ... ok
test api::sign::tests::test_sign_final_null_signature_len ... ok
test api::sign::tests::test_sign_final_operation_not_initialized ... ok
test api::test::test_init_args_bad_callbacks ... ok
test api::test::test_get_function_list_null_ptr ... ok
test api::sign::tests::test_sign_init_invalid_mechanism ... ok
test api::sign::tests::test_sign_init_invalid_session ... ok
test api::sign::tests::test_sign_init_null_mechanism ... ok
test api::sign::tests::test_sign_invalid_session ... ok
test api::sign::tests::test_sign_null_data ... ok
test api::sign::tests::test_sign_null_signature_len ... ok
test api::test::test_get_function_list ... ok
test api::test::test_get_info_null_ptr ... ok
test api::test::test_init_twice ... ok
test api::token::tests::test_get_mechanism_info_null_info ... ok
test api::token::tests::test_get_mechanism_list_null_list ... ok
test api::test::test_init_finalize ... ok
test api::token::tests::test_get_mechanism_info_invalid_mechanism ... ok
test api::token::tests::test_get_mechanism_info_invalid_slot ... ok
test api::token::tests::test_get_mechanism_list_invalid_slot ... ok
test api::token::tests::test_get_mechanism_list_null_count ... ok
test api::sign::tests::test_sign_operation_not_initialized ... ok
test api::token::tests::test_get_token_info_invalid_slot ... ok
test api::sign::tests::test_sign_recover ... ok
test api::token::tests::test_get_token_info_null_info ... ok
test api::sign::tests::test_sign_recover_init ... ok
test api::token::tests::test_login_non_utf8_pin ... ok
test api::sign::tests::test_sign_update_invalid_session ... ok
test api::token::tests::test_login_null_pin ... ok
test api::token::tests::test_logout ... ok
test api::token::tests::test_login_invalid_session ... ok
test api::sign::tests::test_sign_update_null_data ... ok
test api::token::tests::test_logout_invalid_session ... ok
test api::token::tests::test_wait_for_slot_event_blocking_finalize ... ignored
test api::token::tests::test_wait_for_slot_event_blocking_one_event ... ignored
test api::token::tests::test_wait_for_slot_event_no_event ... ignored
test api::token::tests::test_wait_for_slot_event_one_event ... ignored
test api::test::test_finalize ... ok
test backend::db::tests::test_adding_same_object ... ok
test backend::key::tests::test_nethsm_id_invalid ... ok
test backend::key::tests::test_nethsm_id_valid ... ok
test backend::key::tests::test_pkcs11_id_invalid ... ok
test backend::login::test::test_user_is_valid ... ok
test backend::object::tests::test_parse_key_requirements_label ... ok
test backend::object::tests::test_parse_key_requirements_non_utf8_id ... ok
test backend::session::test::parrallel_fetch_all_keys ... ignored
test backend::session::test::parrallel_fetch_all_keys_fail ... ignored
test backend::object::tests::test_parse_key_requirements_none_template ... ok
test defs::tests::version_parsing ... ok
test config::initialization::tests::test_config_loading ... ok
test api::test::test_finalize_args has been running for over 60 seconds
test api::test::test_finalize_twice has been running for over 60 seconds
test api::test::test_init_args_case_1 has been running for over 60 seconds
test api::test::test_init_args_case_2 has been running for over 60 seconds
test api::test::test_init_args_case_3 has been running for over 60 seconds
test api::test::test_init_args_case_4 has been running for over 60 seconds
test api::test::test_init_args_no_threads has been running for over 60 seconds
test api::test::test_init_args_reserved has been running for over 60 seconds
test api::token::tests::test_get_mechanism_list_small_buffer has been running for over 60 seconds
test api::token::tests::test_get_slot_info_invalid_slot has been running for over 60 seconds
[2026-10-22T02:31:15Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::test::test_finalize_twice ... ok
test api::test::test_init_args_reserved ... ok
[2026-10-22T02:31:27Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::test::test_init_args_case_1 ... ok
test api::token::tests::test_get_slot_info_null_info has been running for over 60 seconds
[2026-10-22T02:31:38Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::test::test_init_args_case_4 ... ok
test api::test::test_init_args_case_3 ... ok
test api::token::tests::test_get_slot_list_null_count has been running for over 60 seconds
test api::token::tests::test_get_slot_list_null_list has been running for over 60 seconds
[2026-10-22T02:31:49Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::test::test_init_args_case_2 ... ok
test api::token::tests::test_get_slot_list_small_buffer has been running for over 60 seconds
[2026-10-22T02:32:00Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::token::tests::test_get_mechanism_list_small_buffer ... ok
test api::token::tests::test_init_token has been running for over 60 seconds
test api::token::tests::test_wait_for_slot_event_null_slot_ptr has been running for over 60 seconds
test api::verify::tests::test_verify has been running for over 60 seconds
test api::verify::tests::test_verify_final has been running for over 60 seconds
test api::verify::tests::test_verify_init has been running for over 60 seconds
test api::verify::tests::test_verify_recover has been running for over 60 seconds
test api::verify::tests::test_verify_recover_init has been running for over 60 seconds
test api::verify::tests::test_verify_update has been running for over 60 seconds
[2026-10-22T02:32:11Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::test::test_init_args_no_threads ... FAILED
test api::token::tests::test_get_slot_info_invalid_slot ... ok
test api::token::tests::test_get_slot_info_null_info ... ok
test api::token::tests::test_get_slot_list_null_count ... ok
test api::token::tests::test_get_slot_list_null_list ... ok
test api::token::tests::test_get_slot_list_small_buffer ... ok
test api::token::tests::test_init_token ... ok
test api::test::test_finalize_args ... ok
test api::token::tests::test_wait_for_slot_event_null_slot_ptr ... ok
test api::verify::tests::test_verify ... ok
test api::verify::tests::test_verify_final ... ok
test api::verify::tests::test_verify_init ... ok
test api::verify::tests::test_verify_recover ... ok
test api::verify::tests::test_verify_recover_init ... ok
test api::verify::tests::test_verify_update ... ok

failures:

---- api::test::test_init_args_no_threads stdout ----

thread 'api::test::test_init_args_no_threads' (5891) panicked at pkcs11/src/api/mod.rs:197:9:
assertion `left == right` failed
  left: true
 right: false
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    api::test::test_init_args_no_threads

test result: FAILED. 160 passed; 1 failed; 6 ignored; 0 measured; 0 filtered out; finished in 132.61s

error: test failed, to rerun pass `-p nethsm_pkcs11 --lib`
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_76f73e5c-2136-40da-b549-2c0fa457ac09/build
