[INFO] fetching crate cosmian_pkcs11_module 1.3.0... [INFO] testing cosmian_pkcs11_module-1.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cosmian_pkcs11_module 1.3.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate cosmian_pkcs11_module 1.3.0 [INFO] finished tweaking crates.io crate cosmian_pkcs11_module 1.3.0 [INFO] tweaked toml for crates.io crate cosmian_pkcs11_module 1.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cosmian_pkcs11_module 1.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cosmian_pkcs11_module 1.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7a1cf86905e9a7e59347a9d19dd5e0e80923ed6688ff743e0dc4ed3032d5dfc [INFO] running `Command { std: "docker" "start" "-a" "b7a1cf86905e9a7e59347a9d19dd5e0e80923ed6688ff743e0dc4ed3032d5dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a1cf86905e9a7e59347a9d19dd5e0e80923ed6688ff743e0dc4ed3032d5dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a1cf86905e9a7e59347a9d19dd5e0e80923ed6688ff743e0dc4ed3032d5dfc", kill_on_drop: false }` [INFO] [stdout] b7a1cf86905e9a7e59347a9d19dd5e0e80923ed6688ff743e0dc4ed3032d5dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4f55aaaee190aa011ad534ff0bf01be16431043cb9bf9d25dd08d075838708 [INFO] running `Command { std: "docker" "start" "-a" "ff4f55aaaee190aa011ad534ff0bf01be16431043cb9bf9d25dd08d075838708", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pkcs11-sys v0.2.25 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cosmian_pkcs11_module v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ff4f55aaaee190aa011ad534ff0bf01be16431043cb9bf9d25dd08d075838708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4f55aaaee190aa011ad534ff0bf01be16431043cb9bf9d25dd08d075838708", kill_on_drop: false }` [INFO] [stdout] ff4f55aaaee190aa011ad534ff0bf01be16431043cb9bf9d25dd08d075838708 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5beaac94fad9e42baff77383fe9ff945a7acd76b0f60f8e0fafce1eddb587443 [INFO] running `Command { std: "docker" "start" "-a" "5beaac94fad9e42baff77383fe9ff945a7acd76b0f60f8e0fafce1eddb587443", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.29.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling opentelemetry v0.29.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling syslog-tracing v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling opentelemetry_sdk v0.29.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tracing-opentelemetry v0.30.0 [INFO] [stderr] Compiling opentelemetry-stdout v0.29.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling opentelemetry-http v0.29.0 [INFO] [stderr] Compiling opentelemetry-proto v0.29.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.29.0 [INFO] [stderr] Compiling cosmian_logger v0.2.0 [INFO] [stderr] Compiling cosmian_pkcs11_module v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5beaac94fad9e42baff77383fe9ff945a7acd76b0f60f8e0fafce1eddb587443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5beaac94fad9e42baff77383fe9ff945a7acd76b0f60f8e0fafce1eddb587443", kill_on_drop: false }` [INFO] [stdout] 5beaac94fad9e42baff77383fe9ff945a7acd76b0f60f8e0fafce1eddb587443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 494219ecb0c577e468ff0f328aa899aaa0aa3c51df582bab67986a61332b6a3b [INFO] running `Command { std: "docker" "start" "-a" "494219ecb0c577e468ff0f328aa899aaa0aa3c51df582bab67986a61332b6a3b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cosmian_pkcs11_module-6b26598771f38c1b) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test sessions::tests::test_map_oracle_tde_security_to_mk ... ok [INFO] [stdout] 2025-09-01T08:22:23.788863Z ERROR ThreadId(03) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetFunctionStatus: function not parallel [INFO] [stdout] test tests::cancel_function ... ok [INFO] [stdout] 2025-09-01T08:22:23.789050Z ERROR ThreadId(06) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_FindObjects: cryptoki module has not been initialized [INFO] [stdout] test tests::find_objects ... ok [INFO] [stdout] 2025-09-01T08:22:23.789490Z ERROR ThreadId(05) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_Finalize: bad arguments: C_Finalize: pReserved is null [INFO] [stdout] test tests::finalize ... ok [INFO] [stdout] 2025-09-01T08:22:23.789864Z ERROR ThreadId(04) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_CloseSession: session handle 3 is invalid [INFO] [stdout] 2025-09-01T08:22:23.789935Z ERROR ThreadId(04) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_CloseSession: session handle 0 is invalid [INFO] [stdout] test tests::close_session ... ok [INFO] [stdout] test tests::find_objects_final ... ok [INFO] [stdout] 2025-09-01T08:22:23.790116Z ERROR ThreadId(08) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_FindObjectsInit: cryptoki module has not been initialized [INFO] [stdout] 2025-09-01T08:22:23.790213Z ERROR ThreadId(15) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismList: slot id 2 is invalid [INFO] [stdout] 2025-09-01T08:22:23.790240Z ERROR ThreadId(15) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismList: bad arguments: C_GetMechanismList: pulCount is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.790252Z ERROR ThreadId(15) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismList: buffer too small [INFO] [stdout] 2025-09-01T08:22:23.790262Z ERROR ThreadId(15) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismList: cryptoki module has not been initialized [INFO] [stdout] test tests::find_objects_init ... ok [INFO] [stdout] test tests::get_mechanism_list ... ok [INFO] [stdout] 2025-09-01T08:22:23.790357Z ERROR ThreadId(09) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetAttributeValue: object 0 is invalid [INFO] [stdout] 2025-09-01T08:22:23.790383Z ERROR ThreadId(09) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetAttributeValue: cryptoki module has not been initialized [INFO] [stdout] 2025-09-01T08:22:23.790431Z ERROR ThreadId(17) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSlotInfo: bad arguments: C_GetSlotInfo: pInfo is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.790454Z ERROR ThreadId(17) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSlotInfo: slot id 2 is invalid [INFO] [stdout] 2025-09-01T08:22:23.790505Z ERROR ThreadId(16) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSessionInfo: session handle 0 is invalid [INFO] [stdout] 2025-09-01T08:22:23.790530Z ERROR ThreadId(16) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSessionInfo: bad arguments: C_GetSessionInfo: pInfo is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.790622Z ERROR ThreadId(11) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetFunctionStatus: function not parallel [INFO] [stdout] test tests::get_attribute_value ... ok [INFO] [stdout] test tests::get_slot_info ... ok [INFO] [stdout] test tests::get_session_info ... ok [INFO] [stdout] test tests::get_function_status ... ok [INFO] [stdout] 2025-09-01T08:22:23.790795Z ERROR ThreadId(18) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSlotList: bad arguments: C_GetSlotList: pulCount is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.790836Z ERROR ThreadId(18) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSlotList: buffer too small [INFO] [stdout] test tests::get_slot_list ... ok [INFO] [stdout] test tests::module_test_generate_key_encrypt_decrypt ... ok [INFO] [stdout] 2025-09-01T08:22:23.791024Z ERROR ThreadId(12) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetInfo: bad arguments: C_GetInfo: pInfo is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.791047Z ERROR ThreadId(12) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetInfo: cryptoki module has not been initialized [INFO] [stdout] 2025-09-01T08:22:23.791092Z ERROR ThreadId(13) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_Initialize: cryptoki module has already been initialized [INFO] [stdout] 2025-09-01T08:22:23.791117Z ERROR ThreadId(13) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_Initialize: bad arguments: C_Initialize: pReserved is null [INFO] [stdout] test tests::get_info ... ok [INFO] [stdout] test tests::get_initialize ... ok [INFO] [stdout] 2025-09-01T08:22:23.792290Z ERROR ThreadId(19) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetTokenInfo: slot id 2 is invalid [INFO] [stdout] 2025-09-01T08:22:23.792704Z ERROR ThreadId(19) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetSlotInfo: bad arguments: C_GetSlotInfo: pInfo is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.792721Z ERROR ThreadId(19) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetTokenInfo: cryptoki module has not been initialized [INFO] [stdout] test tests::get_token_info ... ok [INFO] [stdout] 2025-09-01T08:22:23.792906Z ERROR ThreadId(10) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetFunctionList: bad arguments: C_GetFunctionList: ppFunctionList is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.792995Z ERROR ThreadId(21) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_OpenSession: slot id 2 is invalid [INFO] [stdout] 2025-09-01T08:22:23.793016Z ERROR ThreadId(21) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_OpenSession: token does not support parallel sessions [INFO] [stdout] 2025-09-01T08:22:23.793027Z ERROR ThreadId(21) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_OpenSession: bad arguments: C_OpenSession: phSession is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.793098Z ERROR ThreadId(14) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismInfo: 17 is not a valid mechanism [INFO] [stdout] 2025-09-01T08:22:23.793124Z ERROR ThreadId(14) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismInfo: bad arguments: C_GetMechanismInfo: pInfo is a null pointer [INFO] [stdout] 2025-09-01T08:22:23.793137Z ERROR ThreadId(14) cosmian_pkcs11_module::pkcs11: src/pkcs11.rs:64: C_GetMechanismInfo: cryptoki module has not been initialized [INFO] [stdout] test tests::get_function_list ... ok [INFO] [stdout] test tests::open_session ... ok [INFO] [stdout] test tests::get_mechanism_info ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "494219ecb0c577e468ff0f328aa899aaa0aa3c51df582bab67986a61332b6a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494219ecb0c577e468ff0f328aa899aaa0aa3c51df582bab67986a61332b6a3b", kill_on_drop: false }` [INFO] [stdout] 494219ecb0c577e468ff0f328aa899aaa0aa3c51df582bab67986a61332b6a3b