==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_84bbf11a-ba4c-4782-ac6a-bab002b48511]...done
==> Making package: nethsm-pkcs11 3.0.0-1.1 (Sun Sep  6 15:00:28 2026)
==> Retrieving sources...
  -> Downloading nethsm-pkcs11-3.0.0.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 138.8k   0 138.8k   0      0 144.6k      0                              0100 138.8k   0 138.8k   0      0 144.6k      0                              0100 138.8k   0 138.8k   0      0 144.6k      0                              0
==> Validating source files with sha512sums...
    nethsm-pkcs11-3.0.0.tar.gz ... Passed
==> Validating source files with b2sums...
    nethsm-pkcs11-3.0.0.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.0-1.1 (Sun Sep  6 13:00:31 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  22.1.8-1         54.94 MiB
core/libedit       20260512_3.1-1    0.27 MiB
extra/libgit2      1:1.9.7-1         3.16 MiB
extra/lld          22.1.8-1          7.14 MiB
extra/llhttp       9.3.1-1           0.11 MiB
extra/llvm-libs    22.1.8-2        163.70 MiB
extra/rust         1:1.98.1-1      302.54 MiB

Total Installed Size:  531.87 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.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting nethsm-pkcs11-3.0.0.tar.gz with bsdtar
==> Starting prepare()...
    Updating crates.io index
 Downloading crates ...
  Downloaded untrusted v0.9.0
  Downloaded zmij v1.0.23
  Downloaded subtle v2.6.1
  Downloaded hex-literal v1.1.0
  Downloaded spki v0.8.0
  Downloaded cfg-if v1.0.4
  Downloaded utf8_iter v1.0.4
  Downloaded pem-rfc7468 v1.0.0
  Downloaded percent-encoding v2.3.2
  Downloaded zeroize v1.9.0
  Downloaded hex v0.4.3
  Downloaded zerofrom v0.1.8
  Downloaded idna_adapter v1.2.2
  Downloaded zerofrom-derive v0.1.7
  Downloaded powerfmt v0.2.0
  Downloaded num-conv v0.2.2
  Downloaded version_check v0.9.5
  Downloaded hash32 v0.3.1
  Downloaded num_threads v0.1.7
  Downloaded is_terminal_polyfill v1.70.2
  Downloaded test-log v0.2.21
  Downloaded time-core v0.1.9
  Downloaded colorchoice v1.0.5
  Downloaded env_filter v2.0.0
  Downloaded crypto-common v0.2.2
  Downloaded errno v0.3.14
  Downloaded syslog v6.1.1
  Downloaded anstyle-query v1.1.5
  Downloaded match_cfg v0.1.0
  Downloaded test-log-macros v0.2.21
  Downloaded sha1 v0.11.0
  Downloaded equivalent v1.0.2
  Downloaded cpufeatures v0.3.1
  Downloaded openssl-probe v0.2.1
  Downloaded block-buffer v0.12.1
  Downloaded rand_chacha v0.3.1
  Downloaded potential_utf v0.1.6
  Downloaded proc-macro-error-attr2 v2.0.0
  Downloaded form_urlencoded v1.2.2
  Downloaded secrecy v0.10.3
  Downloaded mime v0.3.17
  Downloaded yoke-derive v0.8.2
  Downloaded defmt-parser v1.0.0
  Downloaded document-features v0.2.12
  Downloaded lazy_static v1.5.0
  Downloaded test-log-core v0.2.21
  Downloaded base64ct v1.8.3
  Downloaded merge_derive v0.2.0
  Downloaded stable_deref_trait v1.2.1
  Downloaded utf8parse v0.2.2
  Downloaded flagset v0.4.7
  Downloaded hostname v0.3.1
  Downloaded matchers v0.2.0
  Downloaded utf8-zero v0.8.1
  Downloaded find-msvc-tools v0.1.11
  Downloaded anstream v1.0.0
  Downloaded tinystr v0.8.4
  Downloaded zerovec-derive v0.11.6
  Downloaded displaydoc v0.2.7
  Downloaded tracing-log v0.2.0
  Downloaded synstructure v0.13.2
  Downloaded thread_local v1.1.10
  Downloaded byteorder v1.5.0
  Downloaded der_derive v0.8.0
  Downloaded anstyle-parse v1.0.0
  Downloaded fastrand v2.5.0
  Downloaded digest v0.11.3
  Downloaded crossbeam-deque v0.8.7
  Downloaded either v1.18.0
  Downloaded autocfg v1.5.1
  Downloaded num-integer v0.1.47
  Downloaded mime_guess v2.0.5
  Downloaded libloading v0.8.9
  Downloaded thiserror-impl v2.0.20
  Downloaded defmt-macros v1.1.1
  Downloaded bitflags v1.3.2
  Downloaded merge v0.2.0
  Downloaded rustversion v1.0.23
  Downloaded md-5 v0.11.0
  Downloaded anstyle v1.0.14
  Downloaded ppv-lite86 v0.2.21
  Downloaded unicase v2.9.0
  Downloaded proc-macro-error2 v2.0.1
  Downloaded error-chain v0.12.4
  Downloaded rustls-native-certs v0.8.4
  Downloaded libloading v0.5.2
  Downloaded httparse v1.10.1
  Downloaded pin-project-lite v0.2.17
  Downloaded nu-ansi-term v0.50.3
  Downloaded itoa v1.0.18
  Downloaded env_logger v0.11.11
  Downloaded quote v1.0.47
  Downloaded once_cell v1.21.4
  Downloaded yoke v0.8.3
  Downloaded getrandom v0.2.17
  Downloaded shlex v2.0.1
  Downloaded rand_core v0.6.4
  Downloaded litemap v0.8.3
  Downloaded time-macros v0.2.32
  Downloaded litrs v1.0.0
  Downloaded deranged v0.5.8
  Downloaded thiserror v2.0.20
  Downloaded sha2 v0.11.0
  Downloaded hybrid-array v0.4.14
  Downloaded defmt v1.1.1
  Downloaded pkcs11 v0.5.0
  Downloaded cookie_store v0.22.1
  Downloaded const-oid v0.10.2
  Downloaded writeable v0.6.4
  Downloaded tempfile v3.27.0
  Downloaded getrandom v0.4.3
  Downloaded cookie v0.18.2
  Downloaded crossbeam-utils v0.8.22
  Downloaded num-traits v0.2.19
  Downloaded multipart v0.18.0
  Downloaded log v0.4.34
  Downloaded rustls-pki-types v1.15.1
  Downloaded smallvec v1.15.2
  Downloaded icu_provider v2.3.1
  Downloaded socket2 v0.6.5
  Downloaded unicode-ident v1.0.24
  Downloaded serde_core v1.0.229
  Downloaded serde_derive v1.0.229
  Downloaded ureq-proto v0.6.1
  Downloaded bitflags v2.13.1
  Downloaded crossbeam-epoch v0.9.20
  Downloaded rayon-core v1.13.0
  Downloaded serde_yaml v0.9.34+deprecated
  Downloaded proc-macro2 v1.0.107
  Downloaded ryu v1.0.23
  Downloaded arc-swap v1.9.2
  Downloaded icu_normalizer_data v2.3.0
  Downloaded icu_locale_core v2.3.0
  Downloaded num-bigint v0.2.6
  Downloaded base64 v0.21.7
  Downloaded unsafe-libyaml v0.2.11
  Downloaded sharded-slab v0.1.7
  Downloaded http v1.5.0
  Downloaded rand v0.8.8
  Downloaded zerotrie v0.2.5
  Downloaded typenum v1.20.1
  Downloaded cryptoki v0.12.0
  Downloaded bytes v1.12.1
  Downloaded memchr v2.8.3
  Downloaded base64 v0.23.1
  Downloaded rustls-webpki v0.103.15
  Downloaded der v0.8.1
  Downloaded heapless v0.9.3
  Downloaded serde v1.0.229
  Downloaded url v2.5.8
  Downloaded icu_properties v2.3.0
  Downloaded icu_collections v2.3.0
  Downloaded cc v1.4.4
  Downloaded ureq v3.4.0
  Downloaded nethsm-sdk-rs v4.0.0
  Downloaded tracing-core v0.1.36
  Downloaded rayon v1.12.0
  Downloaded x509-cert v0.3.0
  Downloaded regex v1.13.1
  Downloaded indexmap v2.14.1
  Downloaded zerovec v0.11.8
  Downloaded mio v1.2.2
  Downloaded jiff-core v0.1.0
  Downloaded idna v1.1.0
  Downloaded webpki-roots v1.0.9
  Downloaded hashbrown v0.17.1
  Downloaded serde_json v1.0.151
  Downloaded zerocopy v0.8.56
  Downloaded icu_properties_data v2.3.0
  Downloaded aho-corasick v1.1.5
  Downloaded tracing-subscriber v0.3.23
  Downloaded rustix v1.1.4
  Downloaded cryptoki-sys v0.5.0
  Downloaded time v0.3.55
  Downloaded rustls v0.23.43
  Downloaded syn v2.0.119
  Downloaded syn v3.0.4
  Downloaded regex-syntax v0.8.11
  Downloaded tracing v0.1.44
  Downloaded icu_normalizer v2.3.0
  Downloaded jiff v0.2.35
  Downloaded regex-automata v0.4.18
  Downloaded linux-raw-sys v0.12.1
  Downloaded libc v0.2.189
  Downloaded tokio v1.53.1
  Downloaded ring v0.17.14
==> Starting build()...
   Compiling proc-macro2 v1.0.107
   Compiling quote v1.0.47
   Compiling unicode-ident v1.0.24
   Compiling libc v0.2.189
   Compiling stable_deref_trait v1.2.1
   Compiling cfg-if v1.0.4
   Compiling zeroize v1.9.0
   Compiling find-msvc-tools v0.1.11
   Compiling log v0.4.34
   Compiling shlex v2.0.1
   Compiling serde_core v1.0.229
   Compiling writeable v0.6.4
   Compiling litemap v0.8.3
   Compiling zerocopy v0.8.56
   Compiling const-oid v0.10.2
   Compiling utf8_iter v1.0.4
   Compiling itoa v1.0.18
   Compiling icu_properties_data v2.3.0
   Compiling typenum v1.20.1
   Compiling icu_normalizer_data v2.3.0
   Compiling serde v1.0.229
   Compiling crossbeam-utils v0.8.22
   Compiling once_cell v1.21.4
   Compiling zmij v1.0.23
   Compiling unicase v2.9.0
   Compiling crossbeam-epoch v0.9.20
   Compiling httparse v1.10.1
   Compiling getrandom v0.4.3
   Compiling cc v1.4.4
   Compiling rustls-pki-types v1.15.1
   Compiling rustix v1.1.4
   Compiling heapless v0.9.3
   Compiling byteorder v1.5.0
   Compiling smallvec v1.15.2
   Compiling untrusted v0.9.0
   Compiling serde_json v1.0.151
   Compiling rustls v0.23.43
   Compiling percent-encoding v2.3.2
   Compiling hybrid-array v0.4.14
   Compiling base64ct v1.8.3
   Compiling bytes v1.12.1
   Compiling crossbeam-deque v0.8.7
   Compiling bitflags v2.13.1
   Compiling linux-raw-sys v0.12.1
   Compiling version_check v0.9.5
   Compiling hash32 v0.3.1
   Compiling getrandom v0.2.17
   Compiling mime_guess v2.0.5
   Compiling utf8parse v0.2.2
   Compiling block-buffer v0.12.1
   Compiling crypto-common v0.2.2
   Compiling http v1.5.0
   Compiling pem-rfc7468 v1.0.0
   Compiling rand_core v0.6.4
   Compiling fastrand v2.5.0
   Compiling equivalent v1.0.2
   Compiling rayon-core v1.13.0
   Compiling memchr v2.8.3
   Compiling rustversion v1.0.23
   Compiling hashbrown v0.17.1
   Compiling flagset v0.4.7
   Compiling mime v0.3.17
   Compiling ppv-lite86 v0.2.21
   Compiling base64 v0.23.1
   Compiling syn v2.0.119
   Compiling syn v3.0.4
   Compiling digest v0.11.3
   Compiling error-chain v0.12.4
   Compiling thiserror v2.0.20
   Compiling subtle v2.6.1
   Compiling indexmap v2.14.1
   Compiling anstyle-parse v1.0.0
   Compiling form_urlencoded v1.2.2
   Compiling ureq-proto v0.6.1
   Compiling rand_chacha v0.3.1
   Compiling webpki-roots v1.0.9
   Compiling proc-macro-error-attr2 v2.0.0
   Compiling anstyle-query v1.1.5
   Compiling cryptoki-sys v0.5.0
   Compiling anstyle v1.0.14
   Compiling jiff-core v0.1.0
   Compiling is_terminal_polyfill v1.70.2
   Compiling match_cfg v0.1.0
   Compiling unsafe-libyaml v0.2.11
   Compiling num-conv v0.2.2
   Compiling cpufeatures v0.3.1
   Compiling ryu v1.0.23
   Compiling ring v0.17.14
   Compiling rand v0.8.8
   Compiling colorchoice v1.0.5
   Compiling time-core v0.1.9
   Compiling synstructure v0.13.2
   Compiling proc-macro-error2 v2.0.1
   Compiling tempfile v3.27.0
   Compiling deranged v0.5.8
   Compiling powerfmt v0.2.0
   Compiling num_threads v0.1.7
   Compiling utf8-zero v0.8.1
   Compiling jiff v0.2.35
   Compiling anstream v1.0.0
   Compiling hostname v0.3.1
   Compiling multipart v0.18.0
   Compiling libloading v0.8.9
   Compiling env_filter v2.0.0
   Compiling openssl-probe v0.2.1
   Compiling nethsm_pkcs11 v3.0.0 (/startdir/src/nethsm-pkcs11-3.0.0/pkcs11)
   Compiling either v1.18.0
   Compiling base64 v0.21.7
   Compiling hex v0.4.3
   Compiling sha2 v0.11.0
   Compiling time v0.3.55
   Compiling sha1 v0.11.0
   Compiling arc-swap v1.9.2
   Compiling env_logger v0.11.11
   Compiling rayon v1.12.0
   Compiling rustls-native-certs v0.8.4
   Compiling md-5 v0.11.0
   Compiling socket2 v0.6.5
   Compiling hex-literal v1.1.0
   Compiling syslog v6.1.1
   Compiling zerofrom-derive v0.1.7
   Compiling yoke-derive v0.8.2
   Compiling der_derive v0.8.0
   Compiling merge_derive v0.2.0
   Compiling zerovec-derive v0.11.6
   Compiling displaydoc v0.2.7
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling rustls-webpki v0.103.15
   Compiling merge v0.2.0
   Compiling der v0.8.1
   Compiling spki v0.8.0
   Compiling x509-cert v0.3.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 serde_yaml v0.9.34+deprecated
   Compiling ureq v3.4.0
   Compiling config_file v0.1.0 (/startdir/src/nethsm-pkcs11-3.0.0/pkcs11/config_file)
   Compiling nethsm-sdk-rs v4.0.0
    Finished `release` profile [optimized] target(s) in 2m 27s
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 unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling libc v0.2.189
   Compiling cfg-if v1.0.4
   Compiling stable_deref_trait v1.2.1
   Compiling find-msvc-tools v0.1.11
   Compiling log v0.4.34
   Compiling shlex v2.0.1
   Compiling zeroize v1.9.0
   Compiling serde_core v1.0.229
   Compiling itoa v1.0.18
   Compiling litemap v0.8.3
   Compiling serde v1.0.229
   Compiling writeable v0.6.4
   Compiling autocfg v1.5.1
   Compiling zerocopy v0.8.56
   Compiling const-oid v0.10.2
   Compiling typenum v1.20.1
   Compiling icu_normalizer_data v2.3.0
   Compiling icu_properties_data v2.3.0
   Compiling utf8_iter v1.0.4
   Compiling crossbeam-utils v0.8.22
   Compiling equivalent v1.0.2
   Compiling thiserror v2.0.20
   Compiling cc v1.4.4
   Compiling rustls-pki-types v1.15.1
   Compiling byteorder v1.5.0
   Compiling getrandom v0.4.3
   Compiling zmij v1.0.23
   Compiling bytes v1.12.1
   Compiling httparse v1.10.1
   Compiling crossbeam-epoch v0.9.20
   Compiling hashbrown v0.17.1
   Compiling untrusted v0.9.0
   Compiling unicase v2.9.0
   Compiling rustix v1.1.4
   Compiling once_cell v1.21.4
   Compiling smallvec v1.15.2
   Compiling bitflags v2.13.1
   Compiling heapless v0.9.3
   Compiling hybrid-array v0.4.14
   Compiling hash32 v0.3.1
   Compiling indexmap v2.14.1
   Compiling base64ct v1.8.3
   Compiling percent-encoding v2.3.2
   Compiling version_check v0.9.5
   Compiling num-traits v0.2.19
   Compiling rustls v0.23.43
   Compiling unsafe-libyaml v0.2.11
   Compiling crossbeam-deque v0.8.7
   Compiling ryu v1.0.23
   Compiling getrandom v0.2.17
   Compiling crypto-common v0.2.2
   Compiling block-buffer v0.12.1
   Compiling mime_guess v2.0.5
   Compiling utf8parse v0.2.2
   Compiling rand_core v0.6.4
   Compiling serde_json v1.0.151
   Compiling linux-raw-sys v0.12.1
   Compiling pem-rfc7468 v1.0.0
   Compiling num-bigint v0.2.6
   Compiling anstyle-parse v1.0.0
   Compiling http v1.5.0
   Compiling digest v0.11.3
   Compiling colorchoice v1.0.5
   Compiling hex v0.4.3
   Compiling error-chain v0.12.4
   Compiling subtle v2.6.1
   Compiling anstyle-query v1.1.5
   Compiling rayon-core v1.13.0
   Compiling base64 v0.23.1
   Compiling mime v0.3.17
   Compiling syn v2.0.119
   Compiling syn v3.0.4
   Compiling fastrand v2.5.0
   Compiling cryptoki-sys v0.5.0
   Compiling anstyle v1.0.14
   Compiling ppv-lite86 v0.2.21
   Compiling flagset v0.4.7
   Compiling memchr v2.8.3
   Compiling jiff-core v0.1.0
   Compiling rustversion v1.0.23
   Compiling is_terminal_polyfill v1.70.2
   Compiling ureq-proto v0.6.1
   Compiling num-integer v0.1.47
   Compiling form_urlencoded v1.2.2
   Compiling webpki-roots v1.0.9
   Compiling env_filter v2.0.0
   Compiling libloading v0.8.9
   Compiling time-core v0.1.9
   Compiling deranged v0.5.8
   Compiling proc-macro-error-attr2 v2.0.0
   Compiling rand_chacha v0.3.1
   Compiling jiff v0.2.35
   Compiling tempfile v3.27.0
   Compiling anstream v1.0.0
   Compiling cpufeatures v0.3.1
   Compiling num-conv v0.2.2
   Compiling utf8-zero v0.8.1
   Compiling num_threads v0.1.7
   Compiling powerfmt v0.2.0
   Compiling hex-literal v1.1.0
   Compiling match_cfg v0.1.0
   Compiling hostname v0.3.1
   Compiling rand v0.8.8
   Compiling socket2 v0.6.5
   Compiling mio v1.2.2
   Compiling secrecy v0.10.3
   Compiling nethsm_pkcs11 v3.0.0 (/startdir/src/nethsm-pkcs11-3.0.0/pkcs11)
   Compiling openssl-probe v0.2.1
   Compiling multipart v0.18.0
   Compiling base64 v0.21.7
   Compiling either v1.18.0
   Compiling pin-project-lite v0.2.17
   Compiling tokio v1.53.1
   Compiling time v0.3.55
   Compiling rayon v1.12.0
   Compiling rustls-native-certs v0.8.4
   Compiling cryptoki v0.12.0
   Compiling sha2 v0.11.0
   Compiling sha1 v0.11.0
   Compiling md-5 v0.11.0
   Compiling ring v0.17.14
   Compiling synstructure v0.13.2
   Compiling proc-macro-error2 v2.0.1
   Compiling libloading v0.5.2
   Compiling test-log-core v0.2.21
   Compiling pkcs11 v0.5.0
   Compiling arc-swap v1.9.2
   Compiling syslog v6.1.1
   Compiling env_logger v0.11.11
   Compiling rustls-webpki v0.103.15
   Compiling zerovec-derive v0.11.6
   Compiling displaydoc v0.2.7
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling zerofrom-derive v0.1.7
   Compiling yoke-derive v0.8.2
   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 serde_yaml v0.9.34+deprecated
   Compiling ureq v3.4.0
   Compiling merge v0.2.0
   Compiling config_file v0.1.0 (/startdir/src/nethsm-pkcs11-3.0.0/pkcs11/config_file)
   Compiling der v0.8.1
   Compiling spki v0.8.0
   Compiling x509-cert v0.3.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_properties v2.3.0
   Compiling icu_normalizer v2.3.0
   Compiling idna_adapter v1.2.2
   Compiling idna v1.1.0
   Compiling url v2.5.8
   Compiling nethsm-sdk-rs v4.0.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-fd717a2c9768ba48)

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

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

     Running unittests src/lib.rs (target/debug/deps/nethsm_pkcs11-93cad895a344c3f9)

running 167 tests
test api::decrypt::tests::test_decrypt_init_unknown_mech ... ok
test api::decrypt::tests::test_decrypt_final_operation_not_initialized ... ok
test api::decrypt::tests::test_decrypt_null_data ... ok
test api::encrypt::tests::test_encrypt_final_operation_not_initialized ... ok
test api::decrypt::tests::test_decrypt_update_null_encrypted_part ... ok
test api::decrypt::tests::test_decrypt_init_null_mech ... ok
test api::encrypt::tests::test_encrypt_init_invalid_session ... ok
test api::decrypt::tests::test_decrypt_update_invalid_session ... ok
test api::decrypt::tests::test_decrypt_null_encrypted_data ... ok
test api::decrypt::tests::test_decrypt_null_data_len ... ok
test api::decrypt::tests::test_decrypt_final_null_last_part_len ... ok
test api::decrypt::tests::test_decrypt_invalid_session ... ok
test api::encrypt::tests::test_encrypt_null_encrypted_data ... 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_invalid_session ... ok
test api::encrypt::tests::test_encrypt_null_data ... ok
test api::digest::tests::test_digest ... ok
test api::decrypt::tests::test_decrypt_update_operation_not_initialized ... ok
test api::encrypt::tests::test_encrypt_operation_not_initialized ... ok
test api::digest::tests::test_digest_key ... ok
test api::encrypt::tests::test_encrypt_update_buffer_too_small ... ok
test api::encrypt::tests::test_encrypt_update_invalid_session ... ok
test api::generation::tests::test_generate_key_null_template ... ok
test api::encrypt::tests::test_encrypt_update_null_encrypted_part ... ok
test api::generation::tests::test_generate_key_pair_null_ph_private_key ... ok
test api::encrypt::tests::test_encrypt_update_null_encrypted_part_len ... ok
test api::encrypt::tests::test_encrypt_update_null_part ... ok
test api::generation::tests::test_generate_key_pair_null_ph_public_key ... ok
test api::encrypt::tests::test_encrypt_update_operation_not_initialized ... ok
test api::generation::tests::test_derive_key ... ok
test api::generation::tests::test_generate_key_pair_null_private_template ... ok
test api::generation::tests::test_generate_key_null_mech ... ok
test api::generation::tests::test_generate_key_unknown_mech ... ok
test api::generation::tests::test_generate_key_pair_null_public_template ... ok
test api::generation::tests::test_generate_random_invalid_length ... ok
test api::generation::tests::test_generate_key_pair_unknown_mech ... ok
test api::generation::tests::test_generate_random_zero_length ... ok
test api::object::tests::test_copy_object ... ok
test api::object::tests::test_create_object_null_template ... ok
test api::object::tests::test_destroy_object_invalid_session ... ok
test api::object::tests::test_find_objects_final_invalid_session ... ok
test api::object::tests::test_find_objects_invalid_session ... ok
test api::digest::tests::test_digest_encrypt_update ... ok
test api::digest::tests::test_decrypt_digest_update ... ok
test api::generation::tests::test_generate_key_null_phkey ... ok
test api::generation::tests::test_generate_key_pair_null_mech ... ok
test api::generation::tests::test_unwrap_key ... ok
test api::decrypt::tests::test_decrypt_verify_update ... ok
test api::digest::tests::test_digest_init ... ok
test api::object::tests::test_create_object_invalid_session ... 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_find_objects_null_object ... ok
test api::object::tests::test_get_object_size_invalid_object ... ok
test api::object::tests::test_find_objects_null_object_count ... ok
test api::object::tests::test_get_object_size_invalid_session ... ok
test api::object::tests::test_get_object_size_null_size ... 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_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::encrypt::tests::test_encrypt_final_invalid_session ... ok
test api::object::tests::test_create_object_null_object ... ok
test api::pin::tests::test_set_pin_no_user ... ok
test api::object::tests::test_find_objects_init_bad_arguments ... ok
test api::digest::tests::test_digest_final ... ok
test api::generation::tests::test_generate_random_null_data ... ok
test api::encrypt::tests::test_encrypt_final_null_encrypted_part ... ok
test api::decrypt::tests::test_decrypt_final_invalid_session ... ok
test api::decrypt::tests::test_decrypt_update_null_part_len ... ok
test api::digest::tests::test_digest_update ... ok
test api::encrypt::tests::test_encrypt_final_null_encrypted_part_len ... ok
test api::decrypt::tests::test_decrypt_init_invalid_session ... ok
test api::encrypt::tests::test_encrypt_null_encrypted_data_len ... ok
test api::generation::tests::test_seed_random ... ok
test api::object::tests::test_get_object_size ... ok
test api::generation::tests::test_wrap_key ... 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::sign::tests::test_sign_final_invalid_session ... 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::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::sign::tests::test_sign_operation_not_initialized ... ok
test api::sign::tests::test_sign_recover ... ok
test api::sign::tests::test_sign_recover_init ... ok
test api::sign::tests::test_sign_update_invalid_session ... ok
test api::sign::tests::test_sign_update_null_data ... ok
test api::sign::tests::test_sign_update_operation_not_initialized ... ok
test api::session::tests::test_get_operation_state ... ok
test api::test::test_get_function_list_null_ptr ... ok
test api::test::test_init_args_bad_callbacks ... ok
test api::test::test_get_function_list ... ok
test api::test::test_get_info_null_ptr ... ok
test api::test::test_init_args_case_1 ... ok
test api::test::test_init_args_case_4 ... ok
test api::test::test_init_args_reserved ... ok
test api::test::test_init_finalize ... ok
test api::token::tests::test_get_mechanism_info_invalid_slot ... ok
test api::token::tests::test_get_mechanism_info_null_info ... ok
test api::token::tests::test_get_mechanism_list_null_count ... ok
test api::token::tests::test_get_mechanism_list_null_list ... ok
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_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 api::test::test_finalize_args ... ok
test api::test::test_finalize_twice ... ok
test api::object::tests::test_get_attribute_value_invalid_object 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_no_threads has been running for over 60 seconds
test api::test::test_init_twice has been running for over 60 seconds
test api::token::tests::test_get_mechanism_info_invalid_mechanism has been running for over 60 seconds
test api::token::tests::test_get_mechanism_list_invalid_slot 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_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
test api::token::tests::test_get_slot_list_small_buffer has been running for over 60 seconds
test api::token::tests::test_get_slot_list_null_list ... ok
test api::token::tests::test_get_token_info_invalid_slot has been running for over 60 seconds
test api::test::test_init_args_case_2 ... ok
test api::token::tests::test_get_token_info_null_info has been running for over 60 seconds
test api::token::tests::test_init_token has been running for over 60 seconds
test api::object::tests::test_get_attribute_value_invalid_object ... ok
test api::test::test_init_args_case_3 ... 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::object::tests::test_parse_key_requirements_none_template ... ok
test backend::session::test::parrallel_fetch_all_keys ... ignored
test backend::session::test::parrallel_fetch_all_keys_fail ... ignored
test config::initialization::tests::test_config_loading ... ok
test defs::tests::version_parsing ... ok
test api::token::tests::test_login_invalid_session has been running for over 60 seconds
[2026-09-06T13:07:09Z 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_login_non_utf8_pin has been running for over 60 seconds
test api::token::tests::test_login_null_pin has been running for over 60 seconds
test api::token::tests::test_logout has been running for over 60 seconds
test api::token::tests::test_logout_invalid_session 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
[2026-09-06T13:07:20Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::verify::tests::test_verify_recover has been running for over 60 seconds
[2026-09-06T13:07:31Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::test::test_init_twice ... ok
test api::verify::tests::test_verify_recover_init has been running for over 60 seconds
[2026-09-06T13:07:42Z ERROR nethsm_pkcs11::backend::login] Retry count exceeded after 10 attempts, instance is unreachable
test api::token::tests::test_get_mechanism_info_invalid_mechanism ... ok
test api::token::tests::test_get_slot_list_small_buffer ... ok
test api::token::tests::test_get_mechanism_list_invalid_slot ... ok
test api::token::tests::test_get_mechanism_list_small_buffer ... ok
test api::token::tests::test_get_slot_list_null_count ... ok
test api::token::tests::test_get_token_info_invalid_slot ... ok
test api::token::tests::test_get_token_info_null_info ... ok
test api::token::tests::test_init_token ... ok
[2026-09-06T13:07:42Z ERROR nethsm_pkcs11::data] Function called with invalid session handle 0
test api::token::tests::test_login_invalid_session ... ok
test api::verify::tests::test_verify ... ok
[2026-09-06T13:07:42Z ERROR nethsm_pkcs11::data] Function called with invalid session handle 0
test api::token::tests::test_wait_for_slot_event_null_slot_ptr ... ok
test api::token::tests::test_logout_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_non_utf8_pin ... 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' (6297) 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 144.13s

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_84bbf11a-ba4c-4782-ac6a-bab002b48511/build
