[INFO] cloning repository https://github.com/Cosmian/native-pkcs11 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cosmian/native-pkcs11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fnative-pkcs11", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fnative-pkcs11'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 114c93de2e32c2b943578f0aad1c0f43d69e7726 [INFO] checking Cosmian/native-pkcs11/114c93de2e32c2b943578f0aad1c0f43d69e7726 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fnative-pkcs11" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cosmian/native-pkcs11 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cosmian/native-pkcs11 [INFO] finished tweaking git repo https://github.com/Cosmian/native-pkcs11 [INFO] tweaked toml for git repo https://github.com/Cosmian/native-pkcs11 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Cosmian/native-pkcs11 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ea8cf9be93259d14fd930457b30435291a6cd7551f8adb7d30f7956df13b3b [INFO] running `Command { std: "docker" "start" "-a" "d7ea8cf9be93259d14fd930457b30435291a6cd7551f8adb7d30f7956df13b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ea8cf9be93259d14fd930457b30435291a6cd7551f8adb7d30f7956df13b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ea8cf9be93259d14fd930457b30435291a6cd7551f8adb7d30f7956df13b3b", kill_on_drop: false }` [INFO] [stdout] d7ea8cf9be93259d14fd930457b30435291a6cd7551f8adb7d30f7956df13b3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b3ecdd3647350b7d3a0aa281acefb552e1d8f4b3724d5cfa7ae247a53652d97 [INFO] running `Command { std: "docker" "start" "-a" "0b3ecdd3647350b7d3a0aa281acefb552e1d8f4b3724d5cfa7ae247a53652d97", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating native-pkcs11/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating native-pkcs11-core/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating native-pkcs11-traits/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating pkcs11-sys/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed pkcs11-sys/Cargo.toml (1 fix) [INFO] [stderr] Migrating native-pkcs11-keychain/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating native-pkcs11-windows/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking flagset v0.4.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pkcs11-sys v0.2.17 (/tmp/fixit/pkcs11-sys) [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Migrating pkcs11-sys/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Migrating pkcs11-sys/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Fixed pkcs11-sys/src/pkcs11_unix.rs (92 fixes) [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serial_test_derive v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking serial_test v3.0.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking tracing-journald v0.3.0 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking native-pkcs11-traits v0.2.17 (/tmp/fixit/native-pkcs11-traits) [INFO] [stderr] Migrating native-pkcs11-traits/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking native-pkcs11-keychain v0.2.17 (/tmp/fixit/native-pkcs11-keychain) [INFO] [stderr] Checking native-pkcs11-windows v0.2.17 (/tmp/fixit/native-pkcs11-windows) [INFO] [stderr] Migrating native-pkcs11-keychain/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating native-pkcs11-windows/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating native-pkcs11-keychain/src/bin/signedtest.rs from 2021 edition to 2024 [INFO] [stderr] Migrating native-pkcs11-keychain/src/bin/create_selfsigned.rs from 2021 edition to 2024 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking native-pkcs11-core v0.2.17 (/tmp/fixit/native-pkcs11-core) [INFO] [stderr] Migrating native-pkcs11-core/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed native-pkcs11-core/src/object.rs (1 fix) [INFO] [stderr] Checking native-pkcs11 v0.2.17 (/tmp/fixit/native-pkcs11) [INFO] [stderr] Migrating native-pkcs11/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `native_pkcs11` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * native-pkcs11/src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> native-pkcs11/src/lib.rs:109:6 [INFO] [stderr] | [INFO] [stderr] 109 | ($ptr:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> native-pkcs11/src/lib.rs:125:6 [INFO] [stderr] | [INFO] [stderr] 125 | ($handle:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> native-pkcs11/src/lib.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | ($id:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | / cryptoki_fn!( [INFO] [stderr] 215 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stderr] 216 | | if !pInitArgs.is_null() { [INFO] [stderr] 217 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stderr] ... | [INFO] [stderr] 226 | | } [INFO] [stderr] 227 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | / cryptoki_fn!( [INFO] [stderr] 230 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stderr] 231 | | initialized!(); [INFO] [stderr] 232 | | if !pReserved.is_null() { [INFO] [stderr] ... | [INFO] [stderr] 237 | | } [INFO] [stderr] 238 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | / cryptoki_fn!( [INFO] [stderr] 241 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stderr] 242 | | initialized!(); [INFO] [stderr] 243 | | not_null!(pInfo); [INFO] [stderr] ... | [INFO] [stderr] 256 | | } [INFO] [stderr] 257 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 290 | / cryptoki_fn!( [INFO] [stderr] 291 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stderr] 292 | | not_null!(ppFunctionList); [INFO] [stderr] 293 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stderr] ... | [INFO] [stderr] 307 | | } [INFO] [stderr] 308 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 310 | / cryptoki_fn!( [INFO] [stderr] 311 | | unsafe fn C_GetSlotList( [INFO] [stderr] 312 | | _tokenPresent: CK_BBOOL, [INFO] [stderr] 313 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stderr] ... | [INFO] [stderr] 327 | | } [INFO] [stderr] 328 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 330 | / cryptoki_fn!( [INFO] [stderr] 331 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stderr] 332 | | initialized!(); [INFO] [stderr] 333 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 344 | | } [INFO] [stderr] 345 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / cryptoki_fn!( [INFO] [stderr] 348 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stderr] 349 | | initialized!(); [INFO] [stderr] 350 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 373 | | } [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | / cryptoki_fn!( [INFO] [stderr] 377 | | unsafe fn C_GetMechanismList( [INFO] [stderr] 378 | | slotID: CK_SLOT_ID, [INFO] [stderr] 379 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 397 | | } [INFO] [stderr] 398 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 400 | / cryptoki_fn!( [INFO] [stderr] 401 | | unsafe fn C_GetMechanismInfo( [INFO] [stderr] 402 | | slotID: CK_SLOT_ID, [INFO] [stderr] 403 | | mechType: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 418 | | } [INFO] [stderr] 419 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 421 | / cryptoki_fn!( [INFO] [stderr] 422 | | fn C_InitToken( [INFO] [stderr] 423 | | slotID: CK_SLOT_ID, [INFO] [stderr] 424 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 431 | | } [INFO] [stderr] 432 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 434 | / cryptoki_fn!( [INFO] [stderr] 435 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stderr] 436 | | initialized!(); [INFO] [stderr] 437 | | valid_session!(hSession); [INFO] [stderr] 438 | | Err(Error::TokenWriteProtected) [INFO] [stderr] 439 | | } [INFO] [stderr] 440 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 442 | / cryptoki_fn!( [INFO] [stderr] 443 | | fn C_SetPIN( [INFO] [stderr] 444 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 445 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 453 | | } [INFO] [stderr] 454 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 456 | / cryptoki_fn!( [INFO] [stderr] 457 | | unsafe fn C_OpenSession( [INFO] [stderr] 458 | | slotID: CK_SLOT_ID, [INFO] [stderr] 459 | | flags: CK_FLAGS, [INFO] [stderr] ... | [INFO] [stderr] 472 | | } [INFO] [stderr] 473 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 475 | / cryptoki_fn!( [INFO] [stderr] 476 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 477 | | initialized!(); [INFO] [stderr] 478 | | if sessions::close(hSession) { [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 485 | / cryptoki_fn!( [INFO] [stderr] 486 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stderr] 487 | | initialized!(); [INFO] [stderr] 488 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 491 | | } [INFO] [stderr] 492 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 494 | / cryptoki_fn!( [INFO] [stderr] 495 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stderr] 496 | | initialized!(); [INFO] [stderr] 497 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 513 | | } [INFO] [stderr] 514 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 516 | / cryptoki_fn_not_supported!( [INFO] [stderr] 517 | | C_GetOperationState, [INFO] [stderr] 518 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 519 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] 520 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stderr] 521 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 523 | / cryptoki_fn_not_supported!( [INFO] [stderr] 524 | | C_SetOperationState, [INFO] [stderr] 525 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 526 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 529 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stderr] 530 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 532 | / cryptoki_fn!( [INFO] [stderr] 533 | | fn C_Login( [INFO] [stderr] 534 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 535 | | _userType: CK_USER_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 542 | | } [INFO] [stderr] 543 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 545 | / cryptoki_fn!( [INFO] [stderr] 546 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 547 | | initialized!(); [INFO] [stderr] 548 | | valid_session!(hSession); [INFO] [stderr] 549 | | Ok(()) [INFO] [stderr] 550 | | } [INFO] [stderr] 551 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 553 | / cryptoki_fn_not_supported!( [INFO] [stderr] 554 | | C_CreateObject, [INFO] [stderr] 555 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 556 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 557 | | ulCount: CK_ULONG, [INFO] [stderr] 558 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 559 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 561 | / cryptoki_fn_not_supported!( [INFO] [stderr] 562 | | C_CopyObject, [INFO] [stderr] 563 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 564 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 567 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 568 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 570 | / cryptoki_fn_not_supported!( [INFO] [stderr] 571 | | C_DestroyObject, [INFO] [stderr] 572 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 573 | | hObject: CK_OBJECT_HANDLE [INFO] [stderr] 574 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 576 | / cryptoki_fn_not_supported!( [INFO] [stderr] 577 | | C_GetObjectSize, [INFO] [stderr] 578 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 579 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 580 | | pulSize: CK_ULONG_PTR [INFO] [stderr] 581 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 583 | / cryptoki_fn!( [INFO] [stderr] 584 | | unsafe fn C_GetAttributeValue( [INFO] [stderr] 585 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 586 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 631 | | } [INFO] [stderr] 632 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 634 | / cryptoki_fn_not_supported!( [INFO] [stderr] 635 | | C_SetAttributeValue, [INFO] [stderr] 636 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 637 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 638 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 639 | | ulCount: CK_ULONG [INFO] [stderr] 640 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 642 | / cryptoki_fn!( [INFO] [stderr] 643 | | unsafe fn C_FindObjectsInit( [INFO] [stderr] 644 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 645 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 662 | | } [INFO] [stderr] 663 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 665 | / cryptoki_fn!( [INFO] [stderr] 666 | | unsafe fn C_FindObjects( [INFO] [stderr] 667 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 668 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 699 | | } [INFO] [stderr] 700 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 702 | / cryptoki_fn!( [INFO] [stderr] 703 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 704 | | initialized!(); [INFO] [stderr] 705 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 713 | | } [INFO] [stderr] 714 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 716 | / cryptoki_fn_not_supported!( [INFO] [stderr] 717 | | C_EncryptInit, [INFO] [stderr] 718 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 719 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 720 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 721 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 723 | / cryptoki_fn_not_supported!( [INFO] [stderr] 724 | | C_Encrypt, [INFO] [stderr] 725 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 726 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 729 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stderr] 730 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 732 | / cryptoki_fn_not_supported!( [INFO] [stderr] 733 | | C_EncryptUpdate, [INFO] [stderr] 734 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 735 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 738 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 739 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 741 | / cryptoki_fn_not_supported!( [INFO] [stderr] 742 | | C_EncryptFinal, [INFO] [stderr] 743 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 744 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] 745 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 746 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 748 | / cryptoki_fn_not_supported!( [INFO] [stderr] 749 | | C_DecryptInit, [INFO] [stderr] 750 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 751 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 752 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 753 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 755 | / cryptoki_fn_not_supported!( [INFO] [stderr] 756 | | C_Decrypt, [INFO] [stderr] 757 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 758 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 761 | | pulDataLen: CK_ULONG_PTR [INFO] [stderr] 762 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 764 | / cryptoki_fn_not_supported!( [INFO] [stderr] 765 | | C_DecryptUpdate, [INFO] [stderr] 766 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 767 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 770 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 771 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 773 | / cryptoki_fn_not_supported!( [INFO] [stderr] 774 | | C_DecryptFinal, [INFO] [stderr] 775 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 776 | | pLastPart: CK_BYTE_PTR, [INFO] [stderr] 777 | | pulLastPartLen: CK_ULONG_PTR [INFO] [stderr] 778 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 780 | / cryptoki_fn_not_supported!( [INFO] [stderr] 781 | | C_DigestInit, [INFO] [stderr] 782 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 783 | | pMechanism: CK_MECHANISM_PTR [INFO] [stderr] 784 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 786 | / cryptoki_fn_not_supported!( [INFO] [stderr] 787 | | C_Digest, [INFO] [stderr] 788 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 789 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 792 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 793 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 795 | / cryptoki_fn_not_supported!( [INFO] [stderr] 796 | | C_DigestUpdate, [INFO] [stderr] 797 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 798 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 799 | | ulPartLen: CK_ULONG [INFO] [stderr] 800 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 802 | / cryptoki_fn_not_supported!( [INFO] [stderr] 803 | | C_DigestKey, [INFO] [stderr] 804 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 805 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 806 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 808 | / cryptoki_fn_not_supported!( [INFO] [stderr] 809 | | C_DigestFinal, [INFO] [stderr] 810 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 811 | | pDigest: CK_BYTE_PTR, [INFO] [stderr] 812 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 813 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 815 | / cryptoki_fn!( [INFO] [stderr] 816 | | unsafe fn C_SignInit( [INFO] [stderr] 817 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 818 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 838 | | } [INFO] [stderr] 839 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 841 | / cryptoki_fn!( [INFO] [stderr] 842 | | unsafe fn C_Sign( [INFO] [stderr] 843 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 844 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 858 | | } [INFO] [stderr] 859 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 861 | / cryptoki_fn!( [INFO] [stderr] 862 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stderr] 863 | | initialized!(); [INFO] [stderr] 864 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 877 | | } [INFO] [stderr] 878 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 880 | / cryptoki_fn!( [INFO] [stderr] 881 | | unsafe fn C_SignFinal( [INFO] [stderr] 882 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 883 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 894 | | } [INFO] [stderr] 895 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 897 | / cryptoki_fn_not_supported!( [INFO] [stderr] 898 | | C_SignRecoverInit, [INFO] [stderr] 899 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 900 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 901 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 902 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 904 | / cryptoki_fn_not_supported!( [INFO] [stderr] 905 | | C_SignRecover, [INFO] [stderr] 906 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 907 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 910 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stderr] 911 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 913 | / cryptoki_fn_not_supported!( [INFO] [stderr] 914 | | C_VerifyInit, [INFO] [stderr] 915 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 916 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 917 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 918 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 920 | / cryptoki_fn_not_supported!( [INFO] [stderr] 921 | | C_Verify, [INFO] [stderr] 922 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 923 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 926 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 927 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 929 | / cryptoki_fn_not_supported!( [INFO] [stderr] 930 | | C_VerifyUpdate, [INFO] [stderr] 931 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 932 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 933 | | ulPartLen: CK_ULONG [INFO] [stderr] 934 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 936 | / cryptoki_fn_not_supported!( [INFO] [stderr] 937 | | C_VerifyFinal, [INFO] [stderr] 938 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 939 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] 940 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 941 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 943 | / cryptoki_fn_not_supported!( [INFO] [stderr] 944 | | C_VerifyRecoverInit, [INFO] [stderr] 945 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 946 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 947 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 948 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 950 | / cryptoki_fn_not_supported!( [INFO] [stderr] 951 | | C_VerifyRecover, [INFO] [stderr] 952 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 953 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 956 | | pulDataLen: CK_ULONG_PTR [INFO] [stderr] 957 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 959 | / cryptoki_fn_not_supported!( [INFO] [stderr] 960 | | C_DigestEncryptUpdate, [INFO] [stderr] 961 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 962 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 965 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 966 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 968 | / cryptoki_fn_not_supported!( [INFO] [stderr] 969 | | C_DecryptDigestUpdate, [INFO] [stderr] 970 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 971 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 974 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 975 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 977 | / cryptoki_fn_not_supported!( [INFO] [stderr] 978 | | C_SignEncryptUpdate, [INFO] [stderr] 979 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 980 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 983 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 984 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 986 | / cryptoki_fn_not_supported!( [INFO] [stderr] 987 | | C_DecryptVerifyUpdate, [INFO] [stderr] 988 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 989 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 992 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 993 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 995 | / cryptoki_fn_not_supported!( [INFO] [stderr] 996 | | C_GenerateKey, [INFO] [stderr] 997 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 998 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1001 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1002 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1004 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1005 | | C_GenerateKeyPair, [INFO] [stderr] 1006 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1007 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1013 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1014 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1016 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1017 | | C_WrapKey, [INFO] [stderr] 1018 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1019 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1023 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stderr] 1024 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1026 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1027 | | C_UnwrapKey, [INFO] [stderr] 1028 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1029 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1035 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1036 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1038 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1039 | | C_DeriveKey, [INFO] [stderr] 1040 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1041 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1045 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1046 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1048 | / cryptoki_fn!( [INFO] [stderr] 1049 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stderr] 1050 | | initialized!(); [INFO] [stderr] 1051 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 1054 | | } [INFO] [stderr] 1055 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1057 | / cryptoki_fn!( [INFO] [stderr] 1058 | | fn C_GenerateRandom( [INFO] [stderr] 1059 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1060 | | pRandomData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1067 | | } [INFO] [stderr] 1068 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1070 | / cryptoki_fn!( [INFO] [stderr] 1071 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1072 | | initialized!(); [INFO] [stderr] 1073 | | valid_session!(hSession); [INFO] [stderr] 1074 | | Err(Error::FunctionNotParallel) [INFO] [stderr] 1075 | | } [INFO] [stderr] 1076 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1078 | / cryptoki_fn!( [INFO] [stderr] 1079 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1080 | | initialized!(); [INFO] [stderr] 1081 | | valid_session!(hSession); [INFO] [stderr] 1082 | | Err(Error::FunctionNotParallel) [INFO] [stderr] 1083 | | } [INFO] [stderr] 1084 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1086 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1087 | | C_WaitForSlotEvent, [INFO] [stderr] 1088 | | flags: CK_FLAGS, [INFO] [stderr] 1089 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stderr] 1090 | | pReserved: CK_VOID_PTR [INFO] [stderr] 1091 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stderr] --> native-pkcs11/src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::ptr::addr_of_mut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ordering`, `cmp`, and `slice` [INFO] [stderr] --> native-pkcs11/src/lib.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | cmp, [INFO] [stderr] | ^^^ [INFO] [stderr] 23 | slice, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 24 | sync::{ [INFO] [stderr] 25 | atomic::{AtomicBool, Ordering}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Attribute`, `Attributes`, `Object`, and `parse_mechanism` [INFO] [stderr] --> native-pkcs11/src/lib.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | attribute::{Attribute, Attributes}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 33 | mechanism::{parse_mechanism, SUPPORTED_SIGNATURE_MECHANISMS}, [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 214 | / cryptoki_fn!( [INFO] [stdout] 215 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stdout] 216 | | if !pInitArgs.is_null() { [INFO] [stdout] 217 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 229 | / cryptoki_fn!( [INFO] [stdout] 230 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stdout] 231 | | initialized!(); [INFO] [stdout] 232 | | if !pReserved.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 237 | | } [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 34 | object::{self, Object}, [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 240 | / cryptoki_fn!( [INFO] [stdout] 241 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stdout] 242 | | initialized!(); [INFO] [stdout] 243 | | not_null!(pInfo); [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 290 | / cryptoki_fn!( [INFO] [stdout] 291 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stdout] 292 | | not_null!(ppFunctionList); [INFO] [stdout] 293 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stdout] ... | [INFO] [stdout] 307 | | } [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 310 | / cryptoki_fn!( [INFO] [stdout] 311 | | unsafe fn C_GetSlotList( [INFO] [stdout] 312 | | _tokenPresent: CK_BBOOL, [INFO] [stdout] 313 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] 328 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused import: `native_pkcs11_traits::backend` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 330 | / cryptoki_fn!( [INFO] [stdout] 331 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stdout] 332 | | initialized!(); [INFO] [stdout] 333 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> native-pkcs11/src/lib.rs:36:5 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 347 | / cryptoki_fn!( [INFO] [stdout] 348 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stdout] 349 | | initialized!(); [INFO] [stdout] 350 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 376 | / cryptoki_fn!( [INFO] [stdout] 377 | | unsafe fn C_GetMechanismList( [INFO] [stdout] 378 | | slotID: CK_SLOT_ID, [INFO] [stdout] 379 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 36 | use native_pkcs11_traits::backend; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 400 | / cryptoki_fn!( [INFO] [stdout] 401 | | unsafe fn C_GetMechanismInfo( [INFO] [stdout] 402 | | slotID: CK_SLOT_ID, [INFO] [stdout] 403 | | mechType: CK_MECHANISM_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 421 | / cryptoki_fn!( [INFO] [stdout] 422 | | fn C_InitToken( [INFO] [stdout] 423 | | slotID: CK_SLOT_ID, [INFO] [stdout] 424 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 434 | / cryptoki_fn!( [INFO] [stdout] 435 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stdout] 436 | | initialized!(); [INFO] [stdout] 437 | | valid_session!(hSession); [INFO] [stdout] 438 | | Err(Error::TokenWriteProtected) [INFO] [stdout] 439 | | } [INFO] [stdout] 440 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused imports: `FindContext`, `SignContext`, and `utils::right_pad_string_to_array` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 442 | / cryptoki_fn!( [INFO] [stdout] 443 | | fn C_SetPIN( [INFO] [stdout] 444 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 445 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] 454 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> native-pkcs11/src/lib.rs:50:16 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 456 | / cryptoki_fn!( [INFO] [stdout] 457 | | unsafe fn C_OpenSession( [INFO] [stdout] 458 | | slotID: CK_SLOT_ID, [INFO] [stdout] 459 | | flags: CK_FLAGS, [INFO] [stdout] ... | [INFO] [stdout] 472 | | } [INFO] [stdout] 473 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 475 | / cryptoki_fn!( [INFO] [stdout] 476 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 477 | | initialized!(); [INFO] [stdout] 478 | | if sessions::close(hSession) { [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] 483 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 50 | sessions::{FindContext, SignContext}, [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 485 | / cryptoki_fn!( [INFO] [stdout] 486 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stdout] 487 | | initialized!(); [INFO] [stdout] 488 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] 492 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 494 | / cryptoki_fn!( [INFO] [stdout] 495 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stdout] 496 | | initialized!(); [INFO] [stdout] 497 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 513 | | } [INFO] [stdout] 514 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 51 | utils::right_pad_string_to_array, [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 516 | / cryptoki_fn_not_supported!( [INFO] [stdout] 517 | | C_GetOperationState, [INFO] [stdout] 518 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 519 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] 520 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stdout] 521 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 523 | / cryptoki_fn_not_supported!( [INFO] [stdout] 524 | | C_SetOperationState, [INFO] [stdout] 525 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 526 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 529 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stdout] 530 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 532 | / cryptoki_fn!( [INFO] [stdout] 533 | | fn C_Login( [INFO] [stdout] 534 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 535 | | _userType: CK_USER_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 542 | | } [INFO] [stdout] 543 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused macro definition: `not_null` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 545 | / cryptoki_fn!( [INFO] [stdout] 546 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 547 | | initialized!(); [INFO] [stdout] 548 | | valid_session!(hSession); [INFO] [stdout] 549 | | Ok(()) [INFO] [stdout] 550 | | } [INFO] [stdout] 551 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> native-pkcs11/src/lib.rs:108:14 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 553 | / cryptoki_fn_not_supported!( [INFO] [stdout] 554 | | C_CreateObject, [INFO] [stdout] 555 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 556 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 557 | | ulCount: CK_ULONG, [INFO] [stdout] 558 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 559 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 561 | / cryptoki_fn_not_supported!( [INFO] [stdout] 562 | | C_CopyObject, [INFO] [stdout] 563 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 564 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 567 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 568 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 108 | macro_rules! not_null { [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 570 | / cryptoki_fn_not_supported!( [INFO] [stdout] 571 | | C_DestroyObject, [INFO] [stdout] 572 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 573 | | hObject: CK_OBJECT_HANDLE [INFO] [stdout] 574 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 576 | / cryptoki_fn_not_supported!( [INFO] [stdout] 577 | | C_GetObjectSize, [INFO] [stdout] 578 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 579 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 580 | | pulSize: CK_ULONG_PTR [INFO] [stdout] 581 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 583 | / cryptoki_fn!( [INFO] [stdout] 584 | | unsafe fn C_GetAttributeValue( [INFO] [stdout] 585 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 586 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 631 | | } [INFO] [stdout] 632 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 634 | / cryptoki_fn_not_supported!( [INFO] [stdout] 635 | | C_SetAttributeValue, [INFO] [stdout] 636 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 637 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 638 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 639 | | ulCount: CK_ULONG [INFO] [stdout] 640 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 642 | / cryptoki_fn!( [INFO] [stdout] 643 | | unsafe fn C_FindObjectsInit( [INFO] [stdout] 644 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 645 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 662 | | } [INFO] [stdout] 663 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused macro definition: `initialized` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 665 | / cryptoki_fn!( [INFO] [stdout] 666 | | unsafe fn C_FindObjects( [INFO] [stdout] 667 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 668 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 699 | | } [INFO] [stdout] 700 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> native-pkcs11/src/lib.rs:116:14 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 702 | / cryptoki_fn!( [INFO] [stdout] 703 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 704 | | initialized!(); [INFO] [stdout] 705 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 713 | | } [INFO] [stdout] 714 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 716 | / cryptoki_fn_not_supported!( [INFO] [stdout] 717 | | C_EncryptInit, [INFO] [stdout] 718 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 719 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 720 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 721 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 116 | macro_rules! initialized { [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 723 | / cryptoki_fn_not_supported!( [INFO] [stdout] 724 | | C_Encrypt, [INFO] [stdout] 725 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 726 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 729 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stdout] 730 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 732 | / cryptoki_fn_not_supported!( [INFO] [stdout] 733 | | C_EncryptUpdate, [INFO] [stdout] 734 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 735 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 738 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 739 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 741 | / cryptoki_fn_not_supported!( [INFO] [stdout] 742 | | C_EncryptFinal, [INFO] [stdout] 743 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 744 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] 745 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 746 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused macro definition: `valid_session` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 748 | / cryptoki_fn_not_supported!( [INFO] [stdout] 749 | | C_DecryptInit, [INFO] [stdout] 750 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 751 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 752 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 753 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> native-pkcs11/src/lib.rs:124:14 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 755 | / cryptoki_fn_not_supported!( [INFO] [stdout] 756 | | C_Decrypt, [INFO] [stdout] 757 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 758 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 761 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 762 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 764 | / cryptoki_fn_not_supported!( [INFO] [stdout] 765 | | C_DecryptUpdate, [INFO] [stdout] 766 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 767 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 770 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 771 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 124 | macro_rules! valid_session { [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 773 | / cryptoki_fn_not_supported!( [INFO] [stdout] 774 | | C_DecryptFinal, [INFO] [stdout] 775 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 776 | | pLastPart: CK_BYTE_PTR, [INFO] [stdout] 777 | | pulLastPartLen: CK_ULONG_PTR [INFO] [stdout] 778 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 780 | / cryptoki_fn_not_supported!( [INFO] [stdout] 781 | | C_DigestInit, [INFO] [stdout] 782 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 783 | | pMechanism: CK_MECHANISM_PTR [INFO] [stdout] 784 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 786 | / cryptoki_fn_not_supported!( [INFO] [stdout] 787 | | C_Digest, [INFO] [stdout] 788 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 789 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 792 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused macro definition: `valid_slot` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 795 | / cryptoki_fn_not_supported!( [INFO] [stdout] 796 | | C_DigestUpdate, [INFO] [stdout] 797 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 798 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 799 | | ulPartLen: CK_ULONG [INFO] [stdout] 800 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> native-pkcs11/src/lib.rs:132:14 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 802 | / cryptoki_fn_not_supported!( [INFO] [stdout] 803 | | C_DigestKey, [INFO] [stdout] 804 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 805 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 806 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 132 | macro_rules! valid_slot { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 71 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 808 | / cryptoki_fn_not_supported!( [INFO] [stdout] 809 | | C_DigestFinal, [INFO] [stdout] 810 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 811 | | pDigest: CK_BYTE_PTR, [INFO] [stdout] 812 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 813 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 815 | / cryptoki_fn!( [INFO] [stdout] 816 | | unsafe fn C_SignInit( [INFO] [stdout] 817 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 818 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [INFO] [stdout] 839 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 841 | / cryptoki_fn!( [INFO] [stdout] 842 | | unsafe fn C_Sign( [INFO] [stdout] 843 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 844 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 861 | / cryptoki_fn!( [INFO] [stdout] 862 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stdout] 863 | | initialized!(); [INFO] [stdout] 864 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 877 | | } [INFO] [stdout] 878 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 880 | / cryptoki_fn!( [INFO] [stdout] 881 | | unsafe fn C_SignFinal( [INFO] [stdout] 882 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 883 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 894 | | } [INFO] [stdout] 895 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 897 | / cryptoki_fn_not_supported!( [INFO] [stdout] 898 | | C_SignRecoverInit, [INFO] [stdout] 899 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 900 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 901 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 902 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 904 | / cryptoki_fn_not_supported!( [INFO] [stdout] 905 | | C_SignRecover, [INFO] [stdout] 906 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 907 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 910 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stdout] 911 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 913 | / cryptoki_fn_not_supported!( [INFO] [stdout] 914 | | C_VerifyInit, [INFO] [stdout] 915 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 916 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 917 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 918 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 920 | / cryptoki_fn_not_supported!( [INFO] [stdout] 921 | | C_Verify, [INFO] [stdout] 922 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 923 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 926 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 927 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 929 | / cryptoki_fn_not_supported!( [INFO] [stdout] 930 | | C_VerifyUpdate, [INFO] [stdout] 931 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 932 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 933 | | ulPartLen: CK_ULONG [INFO] [stdout] 934 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 936 | / cryptoki_fn_not_supported!( [INFO] [stdout] 937 | | C_VerifyFinal, [INFO] [stdout] 938 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 939 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] 940 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 941 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 943 | / cryptoki_fn_not_supported!( [INFO] [stdout] 944 | | C_VerifyRecoverInit, [INFO] [stdout] 945 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 946 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 947 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 948 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 950 | / cryptoki_fn_not_supported!( [INFO] [stdout] 951 | | C_VerifyRecover, [INFO] [stdout] 952 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 953 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 956 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 957 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 959 | / cryptoki_fn_not_supported!( [INFO] [stdout] 960 | | C_DigestEncryptUpdate, [INFO] [stdout] 961 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 962 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 965 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 966 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 968 | / cryptoki_fn_not_supported!( [INFO] [stdout] 969 | | C_DecryptDigestUpdate, [INFO] [stdout] 970 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 971 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 974 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 975 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 977 | / cryptoki_fn_not_supported!( [INFO] [stdout] 978 | | C_SignEncryptUpdate, [INFO] [stdout] 979 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 980 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 983 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 984 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 986 | / cryptoki_fn_not_supported!( [INFO] [stdout] 987 | | C_DecryptVerifyUpdate, [INFO] [stdout] 988 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 989 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 992 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 993 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 995 | / cryptoki_fn_not_supported!( [INFO] [stdout] 996 | | C_GenerateKey, [INFO] [stdout] 997 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 998 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1001 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1002 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1004 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1005 | | C_GenerateKeyPair, [INFO] [stdout] 1006 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1007 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1013 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1014 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1016 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1017 | | C_WrapKey, [INFO] [stdout] 1018 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1019 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1023 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1026 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1027 | | C_UnwrapKey, [INFO] [stdout] 1028 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1029 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1035 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1036 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1038 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1039 | | C_DeriveKey, [INFO] [stdout] 1040 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1041 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1045 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1046 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1048 | / cryptoki_fn!( [INFO] [stdout] 1049 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stdout] 1050 | | initialized!(); [INFO] [stdout] 1051 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 1054 | | } [INFO] [stdout] 1055 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1057 | / cryptoki_fn!( [INFO] [stdout] 1058 | | fn C_GenerateRandom( [INFO] [stdout] 1059 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1060 | | pRandomData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | } [INFO] [stdout] 1068 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1070 | / cryptoki_fn!( [INFO] [stdout] 1071 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1072 | | initialized!(); [INFO] [stdout] 1073 | | valid_session!(hSession); [INFO] [stdout] 1074 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1075 | | } [INFO] [stdout] 1076 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1078 | / cryptoki_fn!( [INFO] [stdout] 1079 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1080 | | initialized!(); [INFO] [stdout] 1081 | | valid_session!(hSession); [INFO] [stdout] 1082 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1083 | | } [INFO] [stdout] 1084 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1086 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1087 | | C_WaitForSlotEvent, [INFO] [stdout] 1088 | | flags: CK_FLAGS, [INFO] [stdout] 1089 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stdout] 1090 | | pReserved: CK_VOID_PTR [INFO] [stdout] 1091 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> native-pkcs11/src/lib.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | ($ptr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 109 | ($ptr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> native-pkcs11/src/lib.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | ($handle:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 125 | ($handle:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> native-pkcs11/src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | ($id:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 133 | ($id:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1114:20 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | unsafe { C_Initialize(ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1119:20 [INFO] [stdout] | [INFO] [stdout] 1119 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1122:13 [INFO] [stdout] | [INFO] [stdout] 1122 | unsafe { C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1125:20 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | unsafe { C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1138:20 [INFO] [stdout] | [INFO] [stdout] 1138 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1141:13 [INFO] [stdout] | [INFO] [stdout] 1141 | unsafe { C_Finalize(1 as *mut u32 as *mut std::ffi::c_void) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1144:20 [INFO] [stdout] | [INFO] [stdout] 1144 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1146:13 [INFO] [stdout] | [INFO] [stdout] 1146 | unsafe { C_Finalize(ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1161:20 [INFO] [stdout] | [INFO] [stdout] 1161 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1189:20 [INFO] [stdout] | [INFO] [stdout] 1189 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1210:20 [INFO] [stdout] | [INFO] [stdout] 1210 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1221:20 [INFO] [stdout] | [INFO] [stdout] 1221 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1235:20 [INFO] [stdout] | [INFO] [stdout] 1235 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1246:20 [INFO] [stdout] | [INFO] [stdout] 1246 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1262:20 [INFO] [stdout] | [INFO] [stdout] 1262 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1273:20 [INFO] [stdout] | [INFO] [stdout] 1273 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1306:20 [INFO] [stdout] | [INFO] [stdout] 1306 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1317:20 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1336:20 [INFO] [stdout] | [INFO] [stdout] 1336 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1349:20 [INFO] [stdout] | [INFO] [stdout] 1349 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1372:20 [INFO] [stdout] | [INFO] [stdout] 1372 | assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1373:20 [INFO] [stdout] | [INFO] [stdout] 1373 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1380:20 [INFO] [stdout] | [INFO] [stdout] 1380 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1394:20 [INFO] [stdout] | [INFO] [stdout] 1394 | assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1397:13 [INFO] [stdout] | [INFO] [stdout] 1397 | unsafe { C_CloseSession(handle) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1402:13 [INFO] [stdout] | [INFO] [stdout] 1402 | unsafe { C_CloseSession(CK_INVALID_HANDLE) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1405:20 [INFO] [stdout] | [INFO] [stdout] 1405 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1412:20 [INFO] [stdout] | [INFO] [stdout] 1412 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1441:20 [INFO] [stdout] | [INFO] [stdout] 1441 | assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1442:20 [INFO] [stdout] | [INFO] [stdout] 1442 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1449:20 [INFO] [stdout] | [INFO] [stdout] 1449 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1476:20 [INFO] [stdout] | [INFO] [stdout] 1476 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1487:20 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1506:20 [INFO] [stdout] | [INFO] [stdout] 1506 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1517:20 [INFO] [stdout] | [INFO] [stdout] 1517 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1546:20 [INFO] [stdout] | [INFO] [stdout] 1546 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1557:20 [INFO] [stdout] | [INFO] [stdout] 1557 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1576:20 [INFO] [stdout] | [INFO] [stdout] 1576 | assert_eq!(unsafe { C_FindObjectsFinal(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1577:20 [INFO] [stdout] | [INFO] [stdout] 1577 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1579:13 [INFO] [stdout] | [INFO] [stdout] 1579 | unsafe { C_FindObjectsFinal(handle) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1588:20 [INFO] [stdout] | [INFO] [stdout] 1588 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1603:13 [INFO] [stdout] | [INFO] [stdout] 1603 | unsafe { C_GetFunctionStatus(session_h) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1606:20 [INFO] [stdout] | [INFO] [stdout] 1606 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1613:20 [INFO] [stdout] | [INFO] [stdout] 1613 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1628:13 [INFO] [stdout] | [INFO] [stdout] 1628 | unsafe { C_GetFunctionStatus(session_h) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1631:20 [INFO] [stdout] | [INFO] [stdout] 1631 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(journald_layer) = tracing_journald::layer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match tracing_journald::layer() { Ok(journald_layer) => { [INFO] [stdout] 270 | _ = Registry::default() [INFO] [stdout] ... [INFO] [stdout] 275 | return; [INFO] [stdout] 276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:614:20 [INFO] [stdout] | [INFO] [stdout] 614 | if let Some(value) = object.attribute(type_) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 614 ~ match object.attribute(type_) { Some(value) => { [INFO] [stdout] 615 | let value = value.as_raw_value(); [INFO] [stdout] ... [INFO] [stdout] 624 | .copy_from_slice(&value); [INFO] [stdout] 625 ~ } _ => { [INFO] [stdout] 626 | attribute.ulValueLen = CK_UNAVAILABLE_INFORMATION; [INFO] [stdout] 627 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(certificate) = backend().find_certificate(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match backend().find_certificate(search_options)? { Some(certificate) => { [INFO] [stdout] 165 | output.push(self.insert(Object::Certificate(certificate))); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(data) = backend().find_data_object(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ match backend().find_data_object(search_options)? { Some(data) => { [INFO] [stdout] 173 | output.push(self.insert(Object::DataObject(data))); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(key) = backend().find_private_key(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 178 ~ match backend().find_private_key(search_options)? { Some(key) => { [INFO] [stdout] 179 | output.push(self.insert(Object::PrivateKey(key))); [INFO] [stdout] 180 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(key) = backend().find_public_key(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match backend().find_public_key(search_options)? { Some(key) => { [INFO] [stdout] 184 | output.push(self.insert(Object::PublicKey(key))); [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 126 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `native_pkcs11` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * native-pkcs11/src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> native-pkcs11/src/lib.rs:109:6 [INFO] [stderr] | [INFO] [stderr] 109 | ($ptr:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> native-pkcs11/src/lib.rs:125:6 [INFO] [stderr] | [INFO] [stderr] 125 | ($handle:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> native-pkcs11/src/lib.rs:133:6 [INFO] [stderr] | [INFO] [stderr] 133 | ($id:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | / cryptoki_fn!( [INFO] [stderr] 215 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stderr] 216 | | if !pInitArgs.is_null() { [INFO] [stderr] 217 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stderr] ... | [INFO] [stderr] 226 | | } [INFO] [stderr] 227 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | / cryptoki_fn!( [INFO] [stderr] 230 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stderr] 231 | | initialized!(); [INFO] [stderr] 232 | | if !pReserved.is_null() { [INFO] [stderr] ... | [INFO] [stderr] 237 | | } [INFO] [stderr] 238 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | / cryptoki_fn!( [INFO] [stderr] 241 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stderr] 242 | | initialized!(); [INFO] [stderr] 243 | | not_null!(pInfo); [INFO] [stderr] ... | [INFO] [stderr] 256 | | } [INFO] [stderr] 257 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 290 | / cryptoki_fn!( [INFO] [stderr] 291 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stderr] 292 | | not_null!(ppFunctionList); [INFO] [stderr] 293 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stderr] ... | [INFO] [stderr] 307 | | } [INFO] [stderr] 308 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 310 | / cryptoki_fn!( [INFO] [stderr] 311 | | unsafe fn C_GetSlotList( [INFO] [stderr] 312 | | _tokenPresent: CK_BBOOL, [INFO] [stderr] 313 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stderr] ... | [INFO] [stderr] 327 | | } [INFO] [stderr] 328 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 330 | / cryptoki_fn!( [INFO] [stderr] 331 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stderr] 332 | | initialized!(); [INFO] [stderr] 333 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 344 | | } [INFO] [stderr] 345 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 347 | / cryptoki_fn!( [INFO] [stderr] 348 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stderr] 349 | | initialized!(); [INFO] [stderr] 350 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 373 | | } [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | / cryptoki_fn!( [INFO] [stderr] 377 | | unsafe fn C_GetMechanismList( [INFO] [stderr] 378 | | slotID: CK_SLOT_ID, [INFO] [stderr] 379 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 397 | | } [INFO] [stderr] 398 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 400 | / cryptoki_fn!( [INFO] [stderr] 401 | | unsafe fn C_GetMechanismInfo( [INFO] [stderr] 402 | | slotID: CK_SLOT_ID, [INFO] [stderr] 403 | | mechType: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 418 | | } [INFO] [stderr] 419 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 421 | / cryptoki_fn!( [INFO] [stderr] 422 | | fn C_InitToken( [INFO] [stderr] 423 | | slotID: CK_SLOT_ID, [INFO] [stderr] 424 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 431 | | } [INFO] [stderr] 432 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 434 | / cryptoki_fn!( [INFO] [stderr] 435 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stderr] 436 | | initialized!(); [INFO] [stderr] 437 | | valid_session!(hSession); [INFO] [stderr] 438 | | Err(Error::TokenWriteProtected) [INFO] [stderr] 439 | | } [INFO] [stderr] 440 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 442 | / cryptoki_fn!( [INFO] [stderr] 443 | | fn C_SetPIN( [INFO] [stderr] 444 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 445 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 453 | | } [INFO] [stderr] 454 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 456 | / cryptoki_fn!( [INFO] [stderr] 457 | | unsafe fn C_OpenSession( [INFO] [stderr] 458 | | slotID: CK_SLOT_ID, [INFO] [stderr] 459 | | flags: CK_FLAGS, [INFO] [stderr] ... | [INFO] [stderr] 472 | | } [INFO] [stderr] 473 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 475 | / cryptoki_fn!( [INFO] [stderr] 476 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 477 | | initialized!(); [INFO] [stderr] 478 | | if sessions::close(hSession) { [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 485 | / cryptoki_fn!( [INFO] [stderr] 486 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stderr] 487 | | initialized!(); [INFO] [stderr] 488 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 491 | | } [INFO] [stderr] 492 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 494 | / cryptoki_fn!( [INFO] [stderr] 495 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stderr] 496 | | initialized!(); [INFO] [stderr] 497 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 513 | | } [INFO] [stderr] 514 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 516 | / cryptoki_fn_not_supported!( [INFO] [stderr] 517 | | C_GetOperationState, [INFO] [stderr] 518 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 519 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] 520 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stderr] 521 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 523 | / cryptoki_fn_not_supported!( [INFO] [stderr] 524 | | C_SetOperationState, [INFO] [stderr] 525 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 526 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 529 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stderr] 530 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 532 | / cryptoki_fn!( [INFO] [stderr] 533 | | fn C_Login( [INFO] [stderr] 534 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 535 | | _userType: CK_USER_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 542 | | } [INFO] [stderr] 543 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 545 | / cryptoki_fn!( [INFO] [stderr] 546 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 547 | | initialized!(); [INFO] [stderr] 548 | | valid_session!(hSession); [INFO] [stderr] 549 | | Ok(()) [INFO] [stderr] 550 | | } [INFO] [stderr] 551 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 553 | / cryptoki_fn_not_supported!( [INFO] [stderr] 554 | | C_CreateObject, [INFO] [stderr] 555 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 556 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 557 | | ulCount: CK_ULONG, [INFO] [stderr] 558 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 559 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 561 | / cryptoki_fn_not_supported!( [INFO] [stderr] 562 | | C_CopyObject, [INFO] [stderr] 563 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 564 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 567 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 568 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 570 | / cryptoki_fn_not_supported!( [INFO] [stderr] 571 | | C_DestroyObject, [INFO] [stderr] 572 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 573 | | hObject: CK_OBJECT_HANDLE [INFO] [stderr] 574 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 576 | / cryptoki_fn_not_supported!( [INFO] [stderr] 577 | | C_GetObjectSize, [INFO] [stderr] 578 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 579 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 580 | | pulSize: CK_ULONG_PTR [INFO] [stderr] 581 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 583 | / cryptoki_fn!( [INFO] [stderr] 584 | | unsafe fn C_GetAttributeValue( [INFO] [stderr] 585 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 586 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 631 | | } [INFO] [stderr] 632 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 634 | / cryptoki_fn_not_supported!( [INFO] [stderr] 635 | | C_SetAttributeValue, [INFO] [stderr] 636 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 637 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 638 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 639 | | ulCount: CK_ULONG [INFO] [stderr] 640 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 642 | / cryptoki_fn!( [INFO] [stderr] 643 | | unsafe fn C_FindObjectsInit( [INFO] [stderr] 644 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 645 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 662 | | } [INFO] [stderr] 663 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 665 | / cryptoki_fn!( [INFO] [stderr] 666 | | unsafe fn C_FindObjects( [INFO] [stderr] 667 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 668 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 699 | | } [INFO] [stderr] 700 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 702 | / cryptoki_fn!( [INFO] [stderr] 703 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 704 | | initialized!(); [INFO] [stderr] 705 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 713 | | } [INFO] [stderr] 714 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 716 | / cryptoki_fn_not_supported!( [INFO] [stderr] 717 | | C_EncryptInit, [INFO] [stderr] 718 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 719 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 720 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 721 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 723 | / cryptoki_fn_not_supported!( [INFO] [stderr] 724 | | C_Encrypt, [INFO] [stderr] 725 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 726 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 729 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stderr] 730 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 732 | / cryptoki_fn_not_supported!( [INFO] [stderr] 733 | | C_EncryptUpdate, [INFO] [stderr] 734 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 735 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 738 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 739 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 741 | / cryptoki_fn_not_supported!( [INFO] [stderr] 742 | | C_EncryptFinal, [INFO] [stderr] 743 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 744 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] 745 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 746 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 748 | / cryptoki_fn_not_supported!( [INFO] [stderr] 749 | | C_DecryptInit, [INFO] [stderr] 750 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 751 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 752 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 753 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 755 | / cryptoki_fn_not_supported!( [INFO] [stderr] 756 | | C_Decrypt, [INFO] [stderr] 757 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 758 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 761 | | pulDataLen: CK_ULONG_PTR [INFO] [stderr] 762 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 764 | / cryptoki_fn_not_supported!( [INFO] [stderr] 765 | | C_DecryptUpdate, [INFO] [stderr] 766 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 767 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 770 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 771 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 773 | / cryptoki_fn_not_supported!( [INFO] [stderr] 774 | | C_DecryptFinal, [INFO] [stderr] 775 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 776 | | pLastPart: CK_BYTE_PTR, [INFO] [stderr] 777 | | pulLastPartLen: CK_ULONG_PTR [INFO] [stderr] 778 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 780 | / cryptoki_fn_not_supported!( [INFO] [stderr] 781 | | C_DigestInit, [INFO] [stderr] 782 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 783 | | pMechanism: CK_MECHANISM_PTR [INFO] [stderr] 784 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 786 | / cryptoki_fn_not_supported!( [INFO] [stderr] 787 | | C_Digest, [INFO] [stderr] 788 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 789 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 792 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 793 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 795 | / cryptoki_fn_not_supported!( [INFO] [stderr] 796 | | C_DigestUpdate, [INFO] [stderr] 797 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 798 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 799 | | ulPartLen: CK_ULONG [INFO] [stderr] 800 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 802 | / cryptoki_fn_not_supported!( [INFO] [stderr] 803 | | C_DigestKey, [INFO] [stderr] 804 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 805 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 806 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 808 | / cryptoki_fn_not_supported!( [INFO] [stderr] 809 | | C_DigestFinal, [INFO] [stderr] 810 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 811 | | pDigest: CK_BYTE_PTR, [INFO] [stderr] 812 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 813 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 815 | / cryptoki_fn!( [INFO] [stderr] 816 | | unsafe fn C_SignInit( [INFO] [stderr] 817 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 818 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 838 | | } [INFO] [stderr] 839 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 841 | / cryptoki_fn!( [INFO] [stderr] 842 | | unsafe fn C_Sign( [INFO] [stderr] 843 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 844 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 858 | | } [INFO] [stderr] 859 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 861 | / cryptoki_fn!( [INFO] [stderr] 862 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stderr] 863 | | initialized!(); [INFO] [stderr] 864 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 877 | | } [INFO] [stderr] 878 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 880 | / cryptoki_fn!( [INFO] [stderr] 881 | | unsafe fn C_SignFinal( [INFO] [stderr] 882 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 883 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 894 | | } [INFO] [stderr] 895 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 897 | / cryptoki_fn_not_supported!( [INFO] [stderr] 898 | | C_SignRecoverInit, [INFO] [stderr] 899 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 900 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 901 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 902 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 904 | / cryptoki_fn_not_supported!( [INFO] [stderr] 905 | | C_SignRecover, [INFO] [stderr] 906 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 907 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 910 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stderr] 911 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 913 | / cryptoki_fn_not_supported!( [INFO] [stderr] 914 | | C_VerifyInit, [INFO] [stderr] 915 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 916 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 917 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 918 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 920 | / cryptoki_fn_not_supported!( [INFO] [stderr] 921 | | C_Verify, [INFO] [stderr] 922 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 923 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 926 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 927 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 929 | / cryptoki_fn_not_supported!( [INFO] [stderr] 930 | | C_VerifyUpdate, [INFO] [stderr] 931 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 932 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 933 | | ulPartLen: CK_ULONG [INFO] [stderr] 934 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 936 | / cryptoki_fn_not_supported!( [INFO] [stderr] 937 | | C_VerifyFinal, [INFO] [stderr] 938 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 939 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] 940 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 941 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 943 | / cryptoki_fn_not_supported!( [INFO] [stderr] 944 | | C_VerifyRecoverInit, [INFO] [stderr] 945 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 946 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 947 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 948 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 950 | / cryptoki_fn_not_supported!( [INFO] [stderr] 951 | | C_VerifyRecover, [INFO] [stderr] 952 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 953 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 956 | | pulDataLen: CK_ULONG_PTR [INFO] [stderr] 957 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 959 | / cryptoki_fn_not_supported!( [INFO] [stderr] 960 | | C_DigestEncryptUpdate, [INFO] [stderr] 961 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 962 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 965 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 966 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 968 | / cryptoki_fn_not_supported!( [INFO] [stderr] 969 | | C_DecryptDigestUpdate, [INFO] [stderr] 970 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 971 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 974 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 975 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 977 | / cryptoki_fn_not_supported!( [INFO] [stderr] 978 | | C_SignEncryptUpdate, [INFO] [stderr] 979 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 980 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 983 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 984 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 986 | / cryptoki_fn_not_supported!( [INFO] [stderr] 987 | | C_DecryptVerifyUpdate, [INFO] [stderr] 988 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 989 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 992 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 993 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 995 | / cryptoki_fn_not_supported!( [INFO] [stderr] 996 | | C_GenerateKey, [INFO] [stderr] 997 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 998 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1001 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1002 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1004 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1005 | | C_GenerateKeyPair, [INFO] [stderr] 1006 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1007 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1013 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1014 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1016 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1017 | | C_WrapKey, [INFO] [stderr] 1018 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1019 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1023 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stderr] 1024 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1026 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1027 | | C_UnwrapKey, [INFO] [stderr] 1028 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1029 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1035 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1036 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1038 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1039 | | C_DeriveKey, [INFO] [stderr] 1040 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1041 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1045 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1046 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1048 | / cryptoki_fn!( [INFO] [stderr] 1049 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stderr] 1050 | | initialized!(); [INFO] [stderr] 1051 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 1054 | | } [INFO] [stderr] 1055 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1057 | / cryptoki_fn!( [INFO] [stderr] 1058 | | fn C_GenerateRandom( [INFO] [stderr] 1059 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1060 | | pRandomData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1067 | | } [INFO] [stderr] 1068 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1070 | / cryptoki_fn!( [INFO] [stderr] 1071 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1072 | | initialized!(); [INFO] [stderr] 1073 | | valid_session!(hSession); [INFO] [stderr] 1074 | | Err(Error::FunctionNotParallel) [INFO] [stderr] 1075 | | } [INFO] [stderr] 1076 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1078 | / cryptoki_fn!( [INFO] [stderr] 1079 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1080 | | initialized!(); [INFO] [stderr] 1081 | | valid_session!(hSession); [INFO] [stderr] 1082 | | Err(Error::FunctionNotParallel) [INFO] [stderr] 1083 | | } [INFO] [stderr] 1084 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `unsafe` [INFO] [stderr] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1086 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1087 | | C_WaitForSlotEvent, [INFO] [stderr] 1088 | | flags: CK_FLAGS, [INFO] [stderr] 1089 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stderr] 1090 | | pReserved: CK_VOID_PTR [INFO] [stderr] 1091 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stderr] --> native-pkcs11/src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::ptr::addr_of_mut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ordering`, `cmp`, and `slice` [INFO] [stderr] --> native-pkcs11/src/lib.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | cmp, [INFO] [stderr] | ^^^ [INFO] [stderr] 23 | slice, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 24 | sync::{ [INFO] [stderr] 25 | atomic::{AtomicBool, Ordering}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Attribute`, `Attributes`, `Object`, `SUPPORTED_SIGNATURE_MECHANISMS`, and `parse_mechanism` [INFO] [stderr] --> native-pkcs11/src/lib.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | attribute::{Attribute, Attributes}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 33 | mechanism::{parse_mechanism, SUPPORTED_SIGNATURE_MECHANISMS}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | object::{self, Object}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `native_pkcs11_traits::backend` [INFO] [stderr] --> native-pkcs11/src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use native_pkcs11_traits::backend; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FindContext`, `SignContext`, and `utils::right_pad_string_to_array` [INFO] [stderr] --> native-pkcs11/src/lib.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | sessions::{FindContext, SignContext}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 51 | utils::right_pad_string_to_array, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `not_null` [INFO] [stderr] --> native-pkcs11/src/lib.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | macro_rules! not_null { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `initialized` [INFO] [stderr] --> native-pkcs11/src/lib.rs:116:14 [INFO] [stderr] | [INFO] [stderr] 116 | macro_rules! initialized { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `valid_session` [INFO] [stderr] --> native-pkcs11/src/lib.rs:124:14 [INFO] [stderr] | [INFO] [stderr] 124 | macro_rules! valid_session { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `valid_slot` [INFO] [stderr] --> native-pkcs11/src/lib.rs:132:14 [INFO] [stderr] | [INFO] [stderr] 132 | macro_rules! valid_slot { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 71 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 214 | / cryptoki_fn!( [INFO] [stdout] 215 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stdout] 216 | | if !pInitArgs.is_null() { [INFO] [stdout] 217 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 229 | / cryptoki_fn!( [INFO] [stdout] 230 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stdout] 231 | | initialized!(); [INFO] [stdout] 232 | | if !pReserved.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 237 | | } [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 240 | / cryptoki_fn!( [INFO] [stdout] 241 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stdout] 242 | | initialized!(); [INFO] [stdout] 243 | | not_null!(pInfo); [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 290 | / cryptoki_fn!( [INFO] [stdout] 291 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stdout] 292 | | not_null!(ppFunctionList); [INFO] [stdout] 293 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stdout] ... | [INFO] [stdout] 307 | | } [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 310 | / cryptoki_fn!( [INFO] [stdout] 311 | | unsafe fn C_GetSlotList( [INFO] [stdout] 312 | | _tokenPresent: CK_BBOOL, [INFO] [stdout] 313 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] 328 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 330 | / cryptoki_fn!( [INFO] [stdout] 331 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stdout] 332 | | initialized!(); [INFO] [stdout] 333 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 347 | / cryptoki_fn!( [INFO] [stdout] 348 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stdout] 349 | | initialized!(); [INFO] [stdout] 350 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 376 | / cryptoki_fn!( [INFO] [stdout] 377 | | unsafe fn C_GetMechanismList( [INFO] [stdout] 378 | | slotID: CK_SLOT_ID, [INFO] [stdout] 379 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 400 | / cryptoki_fn!( [INFO] [stdout] 401 | | unsafe fn C_GetMechanismInfo( [INFO] [stdout] 402 | | slotID: CK_SLOT_ID, [INFO] [stdout] 403 | | mechType: CK_MECHANISM_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 421 | / cryptoki_fn!( [INFO] [stdout] 422 | | fn C_InitToken( [INFO] [stdout] 423 | | slotID: CK_SLOT_ID, [INFO] [stdout] 424 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 434 | / cryptoki_fn!( [INFO] [stdout] 435 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stdout] 436 | | initialized!(); [INFO] [stdout] 437 | | valid_session!(hSession); [INFO] [stdout] 438 | | Err(Error::TokenWriteProtected) [INFO] [stdout] 439 | | } [INFO] [stdout] 440 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 442 | / cryptoki_fn!( [INFO] [stdout] 443 | | fn C_SetPIN( [INFO] [stdout] 444 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 445 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] 454 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 456 | / cryptoki_fn!( [INFO] [stdout] 457 | | unsafe fn C_OpenSession( [INFO] [stdout] 458 | | slotID: CK_SLOT_ID, [INFO] [stdout] 459 | | flags: CK_FLAGS, [INFO] [stdout] ... | [INFO] [stdout] 472 | | } [INFO] [stdout] 473 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 475 | / cryptoki_fn!( [INFO] [stdout] 476 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 477 | | initialized!(); [INFO] [stdout] 478 | | if sessions::close(hSession) { [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] 483 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 485 | / cryptoki_fn!( [INFO] [stdout] 486 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stdout] 487 | | initialized!(); [INFO] [stdout] 488 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] 492 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 494 | / cryptoki_fn!( [INFO] [stdout] 495 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stdout] 496 | | initialized!(); [INFO] [stdout] 497 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 513 | | } [INFO] [stdout] 514 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 516 | / cryptoki_fn_not_supported!( [INFO] [stdout] 517 | | C_GetOperationState, [INFO] [stdout] 518 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 519 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] 520 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stdout] 521 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 523 | / cryptoki_fn_not_supported!( [INFO] [stdout] 524 | | C_SetOperationState, [INFO] [stdout] 525 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 526 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 529 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stdout] 530 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 532 | / cryptoki_fn!( [INFO] [stdout] 533 | | fn C_Login( [INFO] [stdout] 534 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 535 | | _userType: CK_USER_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 542 | | } [INFO] [stdout] 543 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 545 | / cryptoki_fn!( [INFO] [stdout] 546 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 547 | | initialized!(); [INFO] [stdout] 548 | | valid_session!(hSession); [INFO] [stdout] 549 | | Ok(()) [INFO] [stdout] 550 | | } [INFO] [stdout] 551 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 553 | / cryptoki_fn_not_supported!( [INFO] [stdout] 554 | | C_CreateObject, [INFO] [stdout] 555 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 556 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 557 | | ulCount: CK_ULONG, [INFO] [stdout] 558 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 559 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 561 | / cryptoki_fn_not_supported!( [INFO] [stdout] 562 | | C_CopyObject, [INFO] [stdout] 563 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 564 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 567 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 568 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 570 | / cryptoki_fn_not_supported!( [INFO] [stdout] 571 | | C_DestroyObject, [INFO] [stdout] 572 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 573 | | hObject: CK_OBJECT_HANDLE [INFO] [stdout] 574 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 576 | / cryptoki_fn_not_supported!( [INFO] [stdout] 577 | | C_GetObjectSize, [INFO] [stdout] 578 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 579 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 580 | | pulSize: CK_ULONG_PTR [INFO] [stdout] 581 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 583 | / cryptoki_fn!( [INFO] [stdout] 584 | | unsafe fn C_GetAttributeValue( [INFO] [stdout] 585 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 586 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 631 | | } [INFO] [stdout] 632 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 634 | / cryptoki_fn_not_supported!( [INFO] [stdout] 635 | | C_SetAttributeValue, [INFO] [stdout] 636 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 637 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 638 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 639 | | ulCount: CK_ULONG [INFO] [stdout] 640 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 642 | / cryptoki_fn!( [INFO] [stdout] 643 | | unsafe fn C_FindObjectsInit( [INFO] [stdout] 644 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 645 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 662 | | } [INFO] [stdout] 663 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 665 | / cryptoki_fn!( [INFO] [stdout] 666 | | unsafe fn C_FindObjects( [INFO] [stdout] 667 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 668 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 699 | | } [INFO] [stdout] 700 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 702 | / cryptoki_fn!( [INFO] [stdout] 703 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 704 | | initialized!(); [INFO] [stdout] 705 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 713 | | } [INFO] [stdout] 714 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 716 | / cryptoki_fn_not_supported!( [INFO] [stdout] 717 | | C_EncryptInit, [INFO] [stdout] 718 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 719 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 720 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 721 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 723 | / cryptoki_fn_not_supported!( [INFO] [stdout] 724 | | C_Encrypt, [INFO] [stdout] 725 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 726 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 729 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stdout] 730 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 732 | / cryptoki_fn_not_supported!( [INFO] [stdout] 733 | | C_EncryptUpdate, [INFO] [stdout] 734 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 735 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 738 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 739 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 741 | / cryptoki_fn_not_supported!( [INFO] [stdout] 742 | | C_EncryptFinal, [INFO] [stdout] 743 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 744 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] 745 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 746 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 748 | / cryptoki_fn_not_supported!( [INFO] [stdout] 749 | | C_DecryptInit, [INFO] [stdout] 750 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 751 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 752 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 753 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 755 | / cryptoki_fn_not_supported!( [INFO] [stdout] 756 | | C_Decrypt, [INFO] [stdout] 757 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 758 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 761 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 762 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 764 | / cryptoki_fn_not_supported!( [INFO] [stdout] 765 | | C_DecryptUpdate, [INFO] [stdout] 766 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 767 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 770 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 771 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 773 | / cryptoki_fn_not_supported!( [INFO] [stdout] 774 | | C_DecryptFinal, [INFO] [stdout] 775 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 776 | | pLastPart: CK_BYTE_PTR, [INFO] [stdout] 777 | | pulLastPartLen: CK_ULONG_PTR [INFO] [stdout] 778 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 780 | / cryptoki_fn_not_supported!( [INFO] [stdout] 781 | | C_DigestInit, [INFO] [stdout] 782 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 783 | | pMechanism: CK_MECHANISM_PTR [INFO] [stdout] 784 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 786 | / cryptoki_fn_not_supported!( [INFO] [stdout] 787 | | C_Digest, [INFO] [stdout] 788 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 789 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 792 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 795 | / cryptoki_fn_not_supported!( [INFO] [stdout] 796 | | C_DigestUpdate, [INFO] [stdout] 797 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 798 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 799 | | ulPartLen: CK_ULONG [INFO] [stdout] 800 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 802 | / cryptoki_fn_not_supported!( [INFO] [stdout] 803 | | C_DigestKey, [INFO] [stdout] 804 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 805 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 806 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 808 | / cryptoki_fn_not_supported!( [INFO] [stdout] 809 | | C_DigestFinal, [INFO] [stdout] 810 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 811 | | pDigest: CK_BYTE_PTR, [INFO] [stdout] 812 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 813 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 815 | / cryptoki_fn!( [INFO] [stdout] 816 | | unsafe fn C_SignInit( [INFO] [stdout] 817 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 818 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [INFO] [stdout] 839 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 841 | / cryptoki_fn!( [INFO] [stdout] 842 | | unsafe fn C_Sign( [INFO] [stdout] 843 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 844 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 861 | / cryptoki_fn!( [INFO] [stdout] 862 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stdout] 863 | | initialized!(); [INFO] [stdout] 864 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 877 | | } [INFO] [stdout] 878 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 880 | / cryptoki_fn!( [INFO] [stdout] 881 | | unsafe fn C_SignFinal( [INFO] [stdout] 882 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 883 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 894 | | } [INFO] [stdout] 895 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 897 | / cryptoki_fn_not_supported!( [INFO] [stdout] 898 | | C_SignRecoverInit, [INFO] [stdout] 899 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 900 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 901 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 902 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 904 | / cryptoki_fn_not_supported!( [INFO] [stdout] 905 | | C_SignRecover, [INFO] [stdout] 906 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 907 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 910 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stdout] 911 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 913 | / cryptoki_fn_not_supported!( [INFO] [stdout] 914 | | C_VerifyInit, [INFO] [stdout] 915 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 916 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 917 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 918 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 920 | / cryptoki_fn_not_supported!( [INFO] [stdout] 921 | | C_Verify, [INFO] [stdout] 922 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 923 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 926 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 927 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 929 | / cryptoki_fn_not_supported!( [INFO] [stdout] 930 | | C_VerifyUpdate, [INFO] [stdout] 931 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 932 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 933 | | ulPartLen: CK_ULONG [INFO] [stdout] 934 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 936 | / cryptoki_fn_not_supported!( [INFO] [stdout] 937 | | C_VerifyFinal, [INFO] [stdout] 938 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 939 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] 940 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 941 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 943 | / cryptoki_fn_not_supported!( [INFO] [stdout] 944 | | C_VerifyRecoverInit, [INFO] [stdout] 945 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 946 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 947 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 948 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 950 | / cryptoki_fn_not_supported!( [INFO] [stdout] 951 | | C_VerifyRecover, [INFO] [stdout] 952 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 953 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 956 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 957 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 959 | / cryptoki_fn_not_supported!( [INFO] [stdout] 960 | | C_DigestEncryptUpdate, [INFO] [stdout] 961 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 962 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 965 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 966 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 968 | / cryptoki_fn_not_supported!( [INFO] [stdout] 969 | | C_DecryptDigestUpdate, [INFO] [stdout] 970 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 971 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 974 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 975 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 977 | / cryptoki_fn_not_supported!( [INFO] [stdout] 978 | | C_SignEncryptUpdate, [INFO] [stdout] 979 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 980 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 983 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 984 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 986 | / cryptoki_fn_not_supported!( [INFO] [stdout] 987 | | C_DecryptVerifyUpdate, [INFO] [stdout] 988 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 989 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 992 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 993 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 995 | / cryptoki_fn_not_supported!( [INFO] [stdout] 996 | | C_GenerateKey, [INFO] [stdout] 997 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 998 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1001 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1002 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1004 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1005 | | C_GenerateKeyPair, [INFO] [stdout] 1006 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1007 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1013 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1014 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1016 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1017 | | C_WrapKey, [INFO] [stdout] 1018 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1019 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1023 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1026 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1027 | | C_UnwrapKey, [INFO] [stdout] 1028 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1029 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1035 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1036 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1038 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1039 | | C_DeriveKey, [INFO] [stdout] 1040 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1041 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1045 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1046 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1048 | / cryptoki_fn!( [INFO] [stdout] 1049 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stdout] 1050 | | initialized!(); [INFO] [stdout] 1051 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 1054 | | } [INFO] [stdout] 1055 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1057 | / cryptoki_fn!( [INFO] [stdout] 1058 | | fn C_GenerateRandom( [INFO] [stdout] 1059 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1060 | | pRandomData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | } [INFO] [stdout] 1068 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1070 | / cryptoki_fn!( [INFO] [stdout] 1071 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1072 | | initialized!(); [INFO] [stdout] 1073 | | valid_session!(hSession); [INFO] [stdout] 1074 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1075 | | } [INFO] [stdout] 1076 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1078 | / cryptoki_fn!( [INFO] [stdout] 1079 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1080 | | initialized!(); [INFO] [stdout] 1081 | | valid_session!(hSession); [INFO] [stdout] 1082 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1083 | | } [INFO] [stdout] 1084 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1086 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1087 | | C_WaitForSlotEvent, [INFO] [stdout] 1088 | | flags: CK_FLAGS, [INFO] [stdout] 1089 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stdout] 1090 | | pReserved: CK_VOID_PTR [INFO] [stdout] 1091 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: this warning originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> native-pkcs11/src/lib.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | ($ptr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 109 | ($ptr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> native-pkcs11/src/lib.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | ($handle:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 125 | ($handle:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> native-pkcs11/src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | ($id:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 133 | ($id:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(journald_layer) = tracing_journald::layer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match tracing_journald::layer() { Ok(journald_layer) => { [INFO] [stdout] 270 | _ = Registry::default() [INFO] [stdout] ... [INFO] [stdout] 275 | return; [INFO] [stdout] 276 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:614:20 [INFO] [stdout] | [INFO] [stdout] 614 | if let Some(value) = object.attribute(type_) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/lib.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 614 ~ match object.attribute(type_) { Some(value) => { [INFO] [stdout] 615 | let value = value.as_raw_value(); [INFO] [stdout] ... [INFO] [stdout] 624 | .copy_from_slice(&value); [INFO] [stdout] 625 ~ } _ => { [INFO] [stdout] 626 | attribute.ulValueLen = CK_UNAVAILABLE_INFORMATION; [INFO] [stdout] 627 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(certificate) = backend().find_certificate(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match backend().find_certificate(search_options)? { Some(certificate) => { [INFO] [stdout] 165 | output.push(self.insert(Object::Certificate(certificate))); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(data) = backend().find_data_object(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 172 ~ match backend().find_data_object(search_options)? { Some(data) => { [INFO] [stdout] 173 | output.push(self.insert(Object::DataObject(data))); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(key) = backend().find_private_key(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 178 ~ match backend().find_private_key(search_options)? { Some(key) => { [INFO] [stdout] 179 | output.push(self.insert(Object::PrivateKey(key))); [INFO] [stdout] 180 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(key) = backend().find_public_key(search_options)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> native-pkcs11/src/object_store.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 183 ~ match backend().find_public_key(search_options)? { Some(key) => { [INFO] [stdout] 184 | output.push(self.insert(Object::PublicKey(key))); [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.19s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling pkcs11-sys v0.2.17 (/tmp/fixit/pkcs11-sys) [INFO] [stderr] Checking native-pkcs11-traits v0.2.17 (/tmp/fixit/native-pkcs11-traits) [INFO] [stderr] Checking native-pkcs11-keychain v0.2.17 (/tmp/fixit/native-pkcs11-keychain) [INFO] [stderr] Checking native-pkcs11-windows v0.2.17 (/tmp/fixit/native-pkcs11-windows) [INFO] [stderr] Checking native-pkcs11-core v0.2.17 (/tmp/fixit/native-pkcs11-core) [INFO] [stderr] Checking native-pkcs11 v0.2.17 (/tmp/fixit/native-pkcs11) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 214 | / cryptoki_fn!( [INFO] [stdout] 215 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stdout] 216 | | if !pInitArgs.is_null() { [INFO] [stdout] 217 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 229 | / cryptoki_fn!( [INFO] [stdout] 230 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stdout] 231 | | initialized!(); [INFO] [stdout] 232 | | if !pReserved.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 237 | | } [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 240 | / cryptoki_fn!( [INFO] [stdout] 241 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stdout] 242 | | initialized!(); [INFO] [stdout] 243 | | not_null!(pInfo); [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 290 | / cryptoki_fn!( [INFO] [stdout] 291 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stdout] 292 | | not_null!(ppFunctionList); [INFO] [stdout] 293 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stdout] ... | [INFO] [stdout] 307 | | } [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 310 | / cryptoki_fn!( [INFO] [stdout] 311 | | unsafe fn C_GetSlotList( [INFO] [stdout] 312 | | _tokenPresent: CK_BBOOL, [INFO] [stdout] 313 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] 328 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 330 | / cryptoki_fn!( [INFO] [stdout] 331 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stdout] 332 | | initialized!(); [INFO] [stdout] 333 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 347 | / cryptoki_fn!( [INFO] [stdout] 348 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stdout] 349 | | initialized!(); [INFO] [stdout] 350 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 376 | / cryptoki_fn!( [INFO] [stdout] 377 | | unsafe fn C_GetMechanismList( [INFO] [stdout] 378 | | slotID: CK_SLOT_ID, [INFO] [stdout] 379 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 400 | / cryptoki_fn!( [INFO] [stdout] 401 | | unsafe fn C_GetMechanismInfo( [INFO] [stdout] 402 | | slotID: CK_SLOT_ID, [INFO] [stdout] 403 | | mechType: CK_MECHANISM_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 421 | / cryptoki_fn!( [INFO] [stdout] 422 | | fn C_InitToken( [INFO] [stdout] 423 | | slotID: CK_SLOT_ID, [INFO] [stdout] 424 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 434 | / cryptoki_fn!( [INFO] [stdout] 435 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stdout] 436 | | initialized!(); [INFO] [stdout] 437 | | valid_session!(hSession); [INFO] [stdout] 438 | | Err(Error::TokenWriteProtected) [INFO] [stdout] 439 | | } [INFO] [stdout] 440 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 442 | / cryptoki_fn!( [INFO] [stdout] 443 | | fn C_SetPIN( [INFO] [stdout] 444 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 445 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] 454 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 456 | / cryptoki_fn!( [INFO] [stdout] 457 | | unsafe fn C_OpenSession( [INFO] [stdout] 458 | | slotID: CK_SLOT_ID, [INFO] [stdout] 459 | | flags: CK_FLAGS, [INFO] [stdout] ... | [INFO] [stdout] 472 | | } [INFO] [stdout] 473 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 475 | / cryptoki_fn!( [INFO] [stdout] 476 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 477 | | initialized!(); [INFO] [stdout] 478 | | if sessions::close(hSession) { [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] 483 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 485 | / cryptoki_fn!( [INFO] [stdout] 486 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stdout] 487 | | initialized!(); [INFO] [stdout] 488 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] 492 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 494 | / cryptoki_fn!( [INFO] [stdout] 495 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stdout] 496 | | initialized!(); [INFO] [stdout] 497 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 513 | | } [INFO] [stdout] 514 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 516 | / cryptoki_fn_not_supported!( [INFO] [stdout] 517 | | C_GetOperationState, [INFO] [stdout] 518 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 519 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] 520 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stdout] 521 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 523 | / cryptoki_fn_not_supported!( [INFO] [stdout] 524 | | C_SetOperationState, [INFO] [stdout] 525 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 526 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 529 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stdout] 530 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 532 | / cryptoki_fn!( [INFO] [stdout] 533 | | fn C_Login( [INFO] [stdout] 534 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 535 | | _userType: CK_USER_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 542 | | } [INFO] [stdout] 543 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 545 | / cryptoki_fn!( [INFO] [stdout] 546 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 547 | | initialized!(); [INFO] [stdout] 548 | | valid_session!(hSession); [INFO] [stdout] 549 | | Ok(()) [INFO] [stdout] 550 | | } [INFO] [stdout] 551 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 553 | / cryptoki_fn_not_supported!( [INFO] [stdout] 554 | | C_CreateObject, [INFO] [stdout] 555 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 556 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 557 | | ulCount: CK_ULONG, [INFO] [stdout] 558 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 559 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 561 | / cryptoki_fn_not_supported!( [INFO] [stdout] 562 | | C_CopyObject, [INFO] [stdout] 563 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 564 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 567 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 568 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 570 | / cryptoki_fn_not_supported!( [INFO] [stdout] 571 | | C_DestroyObject, [INFO] [stdout] 572 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 573 | | hObject: CK_OBJECT_HANDLE [INFO] [stdout] 574 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 576 | / cryptoki_fn_not_supported!( [INFO] [stdout] 577 | | C_GetObjectSize, [INFO] [stdout] 578 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 579 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 580 | | pulSize: CK_ULONG_PTR [INFO] [stdout] 581 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 583 | / cryptoki_fn!( [INFO] [stdout] 584 | | unsafe fn C_GetAttributeValue( [INFO] [stdout] 585 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 586 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 631 | | } [INFO] [stdout] 632 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 634 | / cryptoki_fn_not_supported!( [INFO] [stdout] 635 | | C_SetAttributeValue, [INFO] [stdout] 636 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 637 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 638 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 639 | | ulCount: CK_ULONG [INFO] [stdout] 640 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 642 | / cryptoki_fn!( [INFO] [stdout] 643 | | unsafe fn C_FindObjectsInit( [INFO] [stdout] 644 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 645 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 662 | | } [INFO] [stdout] 663 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 665 | / cryptoki_fn!( [INFO] [stdout] 666 | | unsafe fn C_FindObjects( [INFO] [stdout] 667 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 668 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 699 | | } [INFO] [stdout] 700 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 702 | / cryptoki_fn!( [INFO] [stdout] 703 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 704 | | initialized!(); [INFO] [stdout] 705 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 713 | | } [INFO] [stdout] 714 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 716 | / cryptoki_fn_not_supported!( [INFO] [stdout] 717 | | C_EncryptInit, [INFO] [stdout] 718 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 719 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 720 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 721 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 723 | / cryptoki_fn_not_supported!( [INFO] [stdout] 724 | | C_Encrypt, [INFO] [stdout] 725 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 726 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 729 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stdout] 730 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 732 | / cryptoki_fn_not_supported!( [INFO] [stdout] 733 | | C_EncryptUpdate, [INFO] [stdout] 734 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 735 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 738 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 739 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 741 | / cryptoki_fn_not_supported!( [INFO] [stdout] 742 | | C_EncryptFinal, [INFO] [stdout] 743 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 744 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] 745 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 746 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 748 | / cryptoki_fn_not_supported!( [INFO] [stdout] 749 | | C_DecryptInit, [INFO] [stdout] 750 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 751 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 752 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 753 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 755 | / cryptoki_fn_not_supported!( [INFO] [stdout] 756 | | C_Decrypt, [INFO] [stdout] 757 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 758 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 761 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 762 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 764 | / cryptoki_fn_not_supported!( [INFO] [stdout] 765 | | C_DecryptUpdate, [INFO] [stdout] 766 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 767 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 770 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 771 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 773 | / cryptoki_fn_not_supported!( [INFO] [stdout] 774 | | C_DecryptFinal, [INFO] [stdout] 775 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 776 | | pLastPart: CK_BYTE_PTR, [INFO] [stdout] 777 | | pulLastPartLen: CK_ULONG_PTR [INFO] [stdout] 778 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 214 | / cryptoki_fn!( [INFO] [stdout] 215 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stdout] 216 | | if !pInitArgs.is_null() { [INFO] [stdout] 217 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 780 | / cryptoki_fn_not_supported!( [INFO] [stdout] 781 | | C_DigestInit, [INFO] [stdout] 782 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 783 | | pMechanism: CK_MECHANISM_PTR [INFO] [stdout] 784 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 229 | / cryptoki_fn!( [INFO] [stdout] 230 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stdout] 231 | | initialized!(); [INFO] [stdout] 232 | | if !pReserved.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 237 | | } [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 786 | / cryptoki_fn_not_supported!( [INFO] [stdout] 787 | | C_Digest, [INFO] [stdout] 788 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 789 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 792 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 795 | / cryptoki_fn_not_supported!( [INFO] [stdout] 796 | | C_DigestUpdate, [INFO] [stdout] 797 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 798 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 799 | | ulPartLen: CK_ULONG [INFO] [stdout] 800 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 240 | / cryptoki_fn!( [INFO] [stdout] 241 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stdout] 242 | | initialized!(); [INFO] [stdout] 243 | | not_null!(pInfo); [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 802 | / cryptoki_fn_not_supported!( [INFO] [stdout] 803 | | C_DigestKey, [INFO] [stdout] 804 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 805 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 806 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 290 | / cryptoki_fn!( [INFO] [stdout] 291 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stdout] 292 | | not_null!(ppFunctionList); [INFO] [stdout] 293 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stdout] ... | [INFO] [stdout] 307 | | } [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 808 | / cryptoki_fn_not_supported!( [INFO] [stdout] 809 | | C_DigestFinal, [INFO] [stdout] 810 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 811 | | pDigest: CK_BYTE_PTR, [INFO] [stdout] 812 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 813 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 310 | / cryptoki_fn!( [INFO] [stdout] 311 | | unsafe fn C_GetSlotList( [INFO] [stdout] 312 | | _tokenPresent: CK_BBOOL, [INFO] [stdout] 313 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] 328 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 815 | / cryptoki_fn!( [INFO] [stdout] 816 | | unsafe fn C_SignInit( [INFO] [stdout] 817 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 818 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [INFO] [stdout] 839 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 330 | / cryptoki_fn!( [INFO] [stdout] 331 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stdout] 332 | | initialized!(); [INFO] [stdout] 333 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 841 | / cryptoki_fn!( [INFO] [stdout] 842 | | unsafe fn C_Sign( [INFO] [stdout] 843 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 844 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 861 | / cryptoki_fn!( [INFO] [stdout] 862 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stdout] 863 | | initialized!(); [INFO] [stdout] 864 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 877 | | } [INFO] [stdout] 878 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 347 | / cryptoki_fn!( [INFO] [stdout] 348 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stdout] 349 | | initialized!(); [INFO] [stdout] 350 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 880 | / cryptoki_fn!( [INFO] [stdout] 881 | | unsafe fn C_SignFinal( [INFO] [stdout] 882 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 883 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 894 | | } [INFO] [stdout] 895 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 897 | / cryptoki_fn_not_supported!( [INFO] [stdout] 898 | | C_SignRecoverInit, [INFO] [stdout] 899 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 900 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 901 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 902 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 376 | / cryptoki_fn!( [INFO] [stdout] 377 | | unsafe fn C_GetMechanismList( [INFO] [stdout] 378 | | slotID: CK_SLOT_ID, [INFO] [stdout] 379 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 904 | / cryptoki_fn_not_supported!( [INFO] [stdout] 905 | | C_SignRecover, [INFO] [stdout] 906 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 907 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 910 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stdout] 911 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 400 | / cryptoki_fn!( [INFO] [stdout] 401 | | unsafe fn C_GetMechanismInfo( [INFO] [stdout] 402 | | slotID: CK_SLOT_ID, [INFO] [stdout] 403 | | mechType: CK_MECHANISM_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 913 | / cryptoki_fn_not_supported!( [INFO] [stdout] 914 | | C_VerifyInit, [INFO] [stdout] 915 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 916 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 917 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 918 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 421 | / cryptoki_fn!( [INFO] [stdout] 422 | | fn C_InitToken( [INFO] [stdout] 423 | | slotID: CK_SLOT_ID, [INFO] [stdout] 424 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 434 | / cryptoki_fn!( [INFO] [stdout] 435 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stdout] 436 | | initialized!(); [INFO] [stdout] 437 | | valid_session!(hSession); [INFO] [stdout] 438 | | Err(Error::TokenWriteProtected) [INFO] [stdout] 439 | | } [INFO] [stdout] 440 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 920 | / cryptoki_fn_not_supported!( [INFO] [stdout] 921 | | C_Verify, [INFO] [stdout] 922 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 923 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 926 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 927 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 442 | / cryptoki_fn!( [INFO] [stdout] 443 | | fn C_SetPIN( [INFO] [stdout] 444 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 445 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] 454 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 929 | / cryptoki_fn_not_supported!( [INFO] [stdout] 930 | | C_VerifyUpdate, [INFO] [stdout] 931 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 932 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 933 | | ulPartLen: CK_ULONG [INFO] [stdout] 934 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 936 | / cryptoki_fn_not_supported!( [INFO] [stdout] 937 | | C_VerifyFinal, [INFO] [stdout] 938 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 939 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] 940 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 941 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 456 | / cryptoki_fn!( [INFO] [stdout] 457 | | unsafe fn C_OpenSession( [INFO] [stdout] 458 | | slotID: CK_SLOT_ID, [INFO] [stdout] 459 | | flags: CK_FLAGS, [INFO] [stdout] ... | [INFO] [stdout] 472 | | } [INFO] [stdout] 473 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 475 | / cryptoki_fn!( [INFO] [stdout] 476 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 477 | | initialized!(); [INFO] [stdout] 478 | | if sessions::close(hSession) { [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] 483 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 943 | / cryptoki_fn_not_supported!( [INFO] [stdout] 944 | | C_VerifyRecoverInit, [INFO] [stdout] 945 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 946 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 947 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 948 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 485 | / cryptoki_fn!( [INFO] [stdout] 486 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stdout] 487 | | initialized!(); [INFO] [stdout] 488 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 491 | | } [INFO] [stdout] 492 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 950 | / cryptoki_fn_not_supported!( [INFO] [stdout] 951 | | C_VerifyRecover, [INFO] [stdout] 952 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 953 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 956 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 957 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 959 | / cryptoki_fn_not_supported!( [INFO] [stdout] 960 | | C_DigestEncryptUpdate, [INFO] [stdout] 961 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 962 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 965 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 966 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 494 | / cryptoki_fn!( [INFO] [stdout] 495 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stdout] 496 | | initialized!(); [INFO] [stdout] 497 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 513 | | } [INFO] [stdout] 514 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 516 | / cryptoki_fn_not_supported!( [INFO] [stdout] 517 | | C_GetOperationState, [INFO] [stdout] 518 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 519 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] 520 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stdout] 521 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 968 | / cryptoki_fn_not_supported!( [INFO] [stdout] 969 | | C_DecryptDigestUpdate, [INFO] [stdout] 970 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 971 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 974 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 975 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 523 | / cryptoki_fn_not_supported!( [INFO] [stdout] 524 | | C_SetOperationState, [INFO] [stdout] 525 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 526 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 529 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stdout] 530 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 977 | / cryptoki_fn_not_supported!( [INFO] [stdout] 978 | | C_SignEncryptUpdate, [INFO] [stdout] 979 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 980 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 983 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 984 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 532 | / cryptoki_fn!( [INFO] [stdout] 533 | | fn C_Login( [INFO] [stdout] 534 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 535 | | _userType: CK_USER_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 542 | | } [INFO] [stdout] 543 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 986 | / cryptoki_fn_not_supported!( [INFO] [stdout] 987 | | C_DecryptVerifyUpdate, [INFO] [stdout] 988 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 989 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 992 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 993 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 545 | / cryptoki_fn!( [INFO] [stdout] 546 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 547 | | initialized!(); [INFO] [stdout] 548 | | valid_session!(hSession); [INFO] [stdout] 549 | | Ok(()) [INFO] [stdout] 550 | | } [INFO] [stdout] 551 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 995 | / cryptoki_fn_not_supported!( [INFO] [stdout] 996 | | C_GenerateKey, [INFO] [stdout] 997 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 998 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1001 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1002 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 553 | / cryptoki_fn_not_supported!( [INFO] [stdout] 554 | | C_CreateObject, [INFO] [stdout] 555 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 556 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 557 | | ulCount: CK_ULONG, [INFO] [stdout] 558 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 559 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1004 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1005 | | C_GenerateKeyPair, [INFO] [stdout] 1006 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1007 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1013 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1014 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 561 | / cryptoki_fn_not_supported!( [INFO] [stdout] 562 | | C_CopyObject, [INFO] [stdout] 563 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 564 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 567 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 568 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1016 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1017 | | C_WrapKey, [INFO] [stdout] 1018 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1019 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1023 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 570 | / cryptoki_fn_not_supported!( [INFO] [stdout] 571 | | C_DestroyObject, [INFO] [stdout] 572 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 573 | | hObject: CK_OBJECT_HANDLE [INFO] [stdout] 574 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1026 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1027 | | C_UnwrapKey, [INFO] [stdout] 1028 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1029 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1035 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1036 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 576 | / cryptoki_fn_not_supported!( [INFO] [stdout] 577 | | C_GetObjectSize, [INFO] [stdout] 578 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 579 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 580 | | pulSize: CK_ULONG_PTR [INFO] [stdout] 581 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1038 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1039 | | C_DeriveKey, [INFO] [stdout] 1040 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1041 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1045 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1046 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1048 | / cryptoki_fn!( [INFO] [stdout] 1049 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stdout] 1050 | | initialized!(); [INFO] [stdout] 1051 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 1054 | | } [INFO] [stdout] 1055 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 583 | / cryptoki_fn!( [INFO] [stdout] 584 | | unsafe fn C_GetAttributeValue( [INFO] [stdout] 585 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 586 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 631 | | } [INFO] [stdout] 632 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1057 | / cryptoki_fn!( [INFO] [stdout] 1058 | | fn C_GenerateRandom( [INFO] [stdout] 1059 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1060 | | pRandomData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | } [INFO] [stdout] 1068 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1070 | / cryptoki_fn!( [INFO] [stdout] 1071 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1072 | | initialized!(); [INFO] [stdout] 1073 | | valid_session!(hSession); [INFO] [stdout] 1074 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1075 | | } [INFO] [stdout] 1076 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 634 | / cryptoki_fn_not_supported!( [INFO] [stdout] 635 | | C_SetAttributeValue, [INFO] [stdout] 636 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 637 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 638 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 639 | | ulCount: CK_ULONG [INFO] [stdout] 640 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1078 | / cryptoki_fn!( [INFO] [stdout] 1079 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1080 | | initialized!(); [INFO] [stdout] 1081 | | valid_session!(hSession); [INFO] [stdout] 1082 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1083 | | } [INFO] [stdout] 1084 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 642 | / cryptoki_fn!( [INFO] [stdout] 643 | | unsafe fn C_FindObjectsInit( [INFO] [stdout] 644 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 645 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 662 | | } [INFO] [stdout] 663 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1086 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1087 | | C_WaitForSlotEvent, [INFO] [stdout] 1088 | | flags: CK_FLAGS, [INFO] [stdout] 1089 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stdout] 1090 | | pReserved: CK_VOID_PTR [INFO] [stdout] 1091 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 665 | / cryptoki_fn!( [INFO] [stdout] 666 | | unsafe fn C_FindObjects( [INFO] [stdout] 667 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 668 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 699 | | } [INFO] [stdout] 700 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 702 | / cryptoki_fn!( [INFO] [stdout] 703 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 704 | | initialized!(); [INFO] [stdout] 705 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 713 | | } [INFO] [stdout] 714 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 716 | / cryptoki_fn_not_supported!( [INFO] [stdout] 717 | | C_EncryptInit, [INFO] [stdout] 718 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 719 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 720 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 721 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 723 | / cryptoki_fn_not_supported!( [INFO] [stdout] 724 | | C_Encrypt, [INFO] [stdout] 725 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 726 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 729 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stdout] 730 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 732 | / cryptoki_fn_not_supported!( [INFO] [stdout] 733 | | C_EncryptUpdate, [INFO] [stdout] 734 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 735 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 738 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 739 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 741 | / cryptoki_fn_not_supported!( [INFO] [stdout] 742 | | C_EncryptFinal, [INFO] [stdout] 743 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 744 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] 745 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 746 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 748 | / cryptoki_fn_not_supported!( [INFO] [stdout] 749 | | C_DecryptInit, [INFO] [stdout] 750 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 751 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 752 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 753 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 755 | / cryptoki_fn_not_supported!( [INFO] [stdout] 756 | | C_Decrypt, [INFO] [stdout] 757 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 758 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 761 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 762 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 764 | / cryptoki_fn_not_supported!( [INFO] [stdout] 765 | | C_DecryptUpdate, [INFO] [stdout] 766 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 767 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 770 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 771 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 773 | / cryptoki_fn_not_supported!( [INFO] [stdout] 774 | | C_DecryptFinal, [INFO] [stdout] 775 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 776 | | pLastPart: CK_BYTE_PTR, [INFO] [stdout] 777 | | pulLastPartLen: CK_ULONG_PTR [INFO] [stdout] 778 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 780 | / cryptoki_fn_not_supported!( [INFO] [stdout] 781 | | C_DigestInit, [INFO] [stdout] 782 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 783 | | pMechanism: CK_MECHANISM_PTR [INFO] [stdout] 784 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 786 | / cryptoki_fn_not_supported!( [INFO] [stdout] 787 | | C_Digest, [INFO] [stdout] 788 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 789 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 792 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 793 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 795 | / cryptoki_fn_not_supported!( [INFO] [stdout] 796 | | C_DigestUpdate, [INFO] [stdout] 797 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 798 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 799 | | ulPartLen: CK_ULONG [INFO] [stdout] 800 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 802 | / cryptoki_fn_not_supported!( [INFO] [stdout] 803 | | C_DigestKey, [INFO] [stdout] 804 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 805 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 806 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 808 | / cryptoki_fn_not_supported!( [INFO] [stdout] 809 | | C_DigestFinal, [INFO] [stdout] 810 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 811 | | pDigest: CK_BYTE_PTR, [INFO] [stdout] 812 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 813 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 815 | / cryptoki_fn!( [INFO] [stdout] 816 | | unsafe fn C_SignInit( [INFO] [stdout] 817 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 818 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [INFO] [stdout] 839 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 841 | / cryptoki_fn!( [INFO] [stdout] 842 | | unsafe fn C_Sign( [INFO] [stdout] 843 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 844 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 861 | / cryptoki_fn!( [INFO] [stdout] 862 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stdout] 863 | | initialized!(); [INFO] [stdout] 864 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 877 | | } [INFO] [stdout] 878 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 880 | / cryptoki_fn!( [INFO] [stdout] 881 | | unsafe fn C_SignFinal( [INFO] [stdout] 882 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 883 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 894 | | } [INFO] [stdout] 895 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 94 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 897 | / cryptoki_fn_not_supported!( [INFO] [stdout] 898 | | C_SignRecoverInit, [INFO] [stdout] 899 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 900 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 901 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 902 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 904 | / cryptoki_fn_not_supported!( [INFO] [stdout] 905 | | C_SignRecover, [INFO] [stdout] 906 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 907 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 910 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stdout] 911 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 913 | / cryptoki_fn_not_supported!( [INFO] [stdout] 914 | | C_VerifyInit, [INFO] [stdout] 915 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 916 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 917 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 918 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 920 | / cryptoki_fn_not_supported!( [INFO] [stdout] 921 | | C_Verify, [INFO] [stdout] 922 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 923 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 926 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 927 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 929 | / cryptoki_fn_not_supported!( [INFO] [stdout] 930 | | C_VerifyUpdate, [INFO] [stdout] 931 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 932 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 933 | | ulPartLen: CK_ULONG [INFO] [stdout] 934 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 936 | / cryptoki_fn_not_supported!( [INFO] [stdout] 937 | | C_VerifyFinal, [INFO] [stdout] 938 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 939 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] 940 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 941 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 943 | / cryptoki_fn_not_supported!( [INFO] [stdout] 944 | | C_VerifyRecoverInit, [INFO] [stdout] 945 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 946 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 947 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 948 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 950 | / cryptoki_fn_not_supported!( [INFO] [stdout] 951 | | C_VerifyRecover, [INFO] [stdout] 952 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 953 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 956 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 957 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 959 | / cryptoki_fn_not_supported!( [INFO] [stdout] 960 | | C_DigestEncryptUpdate, [INFO] [stdout] 961 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 962 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 965 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 966 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 968 | / cryptoki_fn_not_supported!( [INFO] [stdout] 969 | | C_DecryptDigestUpdate, [INFO] [stdout] 970 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 971 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 974 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 975 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 977 | / cryptoki_fn_not_supported!( [INFO] [stdout] 978 | | C_SignEncryptUpdate, [INFO] [stdout] 979 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 980 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 983 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 984 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 986 | / cryptoki_fn_not_supported!( [INFO] [stdout] 987 | | C_DecryptVerifyUpdate, [INFO] [stdout] 988 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 989 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 992 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 993 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 995 | / cryptoki_fn_not_supported!( [INFO] [stdout] 996 | | C_GenerateKey, [INFO] [stdout] 997 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 998 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1001 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1002 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1004 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1005 | | C_GenerateKeyPair, [INFO] [stdout] 1006 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1007 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1013 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1014 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1016 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1017 | | C_WrapKey, [INFO] [stdout] 1018 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1019 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1023 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stdout] 1024 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1026 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1027 | | C_UnwrapKey, [INFO] [stdout] 1028 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1029 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1035 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1036 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1038 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1039 | | C_DeriveKey, [INFO] [stdout] 1040 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1041 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1045 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1046 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1048 | / cryptoki_fn!( [INFO] [stdout] 1049 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stdout] 1050 | | initialized!(); [INFO] [stdout] 1051 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 1054 | | } [INFO] [stdout] 1055 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1057 | / cryptoki_fn!( [INFO] [stdout] 1058 | | fn C_GenerateRandom( [INFO] [stdout] 1059 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1060 | | pRandomData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1067 | | } [INFO] [stdout] 1068 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1070 | / cryptoki_fn!( [INFO] [stdout] 1071 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1072 | | initialized!(); [INFO] [stdout] 1073 | | valid_session!(hSession); [INFO] [stdout] 1074 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1075 | | } [INFO] [stdout] 1076 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1078 | / cryptoki_fn!( [INFO] [stdout] 1079 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1080 | | initialized!(); [INFO] [stdout] 1081 | | valid_session!(hSession); [INFO] [stdout] 1082 | | Err(Error::FunctionNotParallel) [INFO] [stdout] 1083 | | } [INFO] [stdout] 1084 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> native-pkcs11/src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1086 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1087 | | C_WaitForSlotEvent, [INFO] [stdout] 1088 | | flags: CK_FLAGS, [INFO] [stdout] 1089 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stdout] 1090 | | pReserved: CK_VOID_PTR [INFO] [stdout] 1091 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cryptoki_fn` which comes from the expansion of the macro `cryptoki_fn_not_supported` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `native-pkcs11` (lib) due to 69 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1114:20 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | unsafe { C_Initialize(ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1119:20 [INFO] [stdout] | [INFO] [stdout] 1119 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1122:13 [INFO] [stdout] | [INFO] [stdout] 1122 | unsafe { C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1125:20 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | unsafe { C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1138:20 [INFO] [stdout] | [INFO] [stdout] 1138 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1141:13 [INFO] [stdout] | [INFO] [stdout] 1141 | unsafe { C_Finalize(1 as *mut u32 as *mut std::ffi::c_void) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1144:20 [INFO] [stdout] | [INFO] [stdout] 1144 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1146:13 [INFO] [stdout] | [INFO] [stdout] 1146 | unsafe { C_Finalize(ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1155:20 [INFO] [stdout] | [INFO] [stdout] 1155 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1161:20 [INFO] [stdout] | [INFO] [stdout] 1161 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1189:20 [INFO] [stdout] | [INFO] [stdout] 1189 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1210:20 [INFO] [stdout] | [INFO] [stdout] 1210 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1221:20 [INFO] [stdout] | [INFO] [stdout] 1221 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1235:20 [INFO] [stdout] | [INFO] [stdout] 1235 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1246:20 [INFO] [stdout] | [INFO] [stdout] 1246 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1262:20 [INFO] [stdout] | [INFO] [stdout] 1262 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1273:20 [INFO] [stdout] | [INFO] [stdout] 1273 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1306:20 [INFO] [stdout] | [INFO] [stdout] 1306 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1317:20 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1336:20 [INFO] [stdout] | [INFO] [stdout] 1336 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1349:20 [INFO] [stdout] | [INFO] [stdout] 1349 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1372:20 [INFO] [stdout] | [INFO] [stdout] 1372 | assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1373:20 [INFO] [stdout] | [INFO] [stdout] 1373 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1380:20 [INFO] [stdout] | [INFO] [stdout] 1380 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1394:20 [INFO] [stdout] | [INFO] [stdout] 1394 | assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1397:13 [INFO] [stdout] | [INFO] [stdout] 1397 | unsafe { C_CloseSession(handle) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1402:13 [INFO] [stdout] | [INFO] [stdout] 1402 | unsafe { C_CloseSession(CK_INVALID_HANDLE) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1405:20 [INFO] [stdout] | [INFO] [stdout] 1405 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1412:20 [INFO] [stdout] | [INFO] [stdout] 1412 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1441:20 [INFO] [stdout] | [INFO] [stdout] 1441 | assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1442:20 [INFO] [stdout] | [INFO] [stdout] 1442 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1449:20 [INFO] [stdout] | [INFO] [stdout] 1449 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1476:20 [INFO] [stdout] | [INFO] [stdout] 1476 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1487:20 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1506:20 [INFO] [stdout] | [INFO] [stdout] 1506 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1517:20 [INFO] [stdout] | [INFO] [stdout] 1517 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1546:20 [INFO] [stdout] | [INFO] [stdout] 1546 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1557:20 [INFO] [stdout] | [INFO] [stdout] 1557 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1576:20 [INFO] [stdout] | [INFO] [stdout] 1576 | assert_eq!(unsafe { C_FindObjectsFinal(handle) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1577:20 [INFO] [stdout] | [INFO] [stdout] 1577 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1579:13 [INFO] [stdout] | [INFO] [stdout] 1579 | unsafe { C_FindObjectsFinal(handle) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1588:20 [INFO] [stdout] | [INFO] [stdout] 1588 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1603:13 [INFO] [stdout] | [INFO] [stdout] 1603 | unsafe { C_GetFunctionStatus(session_h) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1606:20 [INFO] [stdout] | [INFO] [stdout] 1606 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1613:20 [INFO] [stdout] | [INFO] [stdout] 1613 | assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1628:13 [INFO] [stdout] | [INFO] [stdout] 1628 | unsafe { C_GetFunctionStatus(session_h) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1631:20 [INFO] [stdout] | [INFO] [stdout] 1631 | assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors; 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `native-pkcs11` (lib test) due to 69 previous errors; 49 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0b3ecdd3647350b7d3a0aa281acefb552e1d8f4b3724d5cfa7ae247a53652d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3ecdd3647350b7d3a0aa281acefb552e1d8f4b3724d5cfa7ae247a53652d97", kill_on_drop: false }` [INFO] [stdout] 0b3ecdd3647350b7d3a0aa281acefb552e1d8f4b3724d5cfa7ae247a53652d97