[INFO] cloning repository https://github.com/Cosmian/kms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cosmian/kms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fkms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fkms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa643b0a52c64c711274999c0f22ee7f0edc7d48 [INFO] checking Cosmian/kms/fa643b0a52c64c711274999c0f22ee7f0edc7d48 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fkms" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cosmian/kms on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Cosmian/kms [INFO] finished tweaking git repo https://github.com/Cosmian/kms [INFO] tweaked toml for git repo https://github.com/Cosmian/kms written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Cosmian/kms 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f940f51d893d2f4f810cd927dc67927b6e7617469842d0d3b86fb0e0686b2e8d [INFO] running `Command { std: "docker" "start" "-a" "f940f51d893d2f4f810cd927dc67927b6e7617469842d0d3b86fb0e0686b2e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f940f51d893d2f4f810cd927dc67927b6e7617469842d0d3b86fb0e0686b2e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f940f51d893d2f4f810cd927dc67927b6e7617469842d0d3b86fb0e0686b2e8d", kill_on_drop: false }` [INFO] [stdout] f940f51d893d2f4f810cd927dc67927b6e7617469842d0d3b86fb0e0686b2e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4f532694d3636347a004f74bccaeb72e71aba709a1cf14adecad4399b6df5b [INFO] running `Command { std: "docker" "start" "-a" "dc4f532694d3636347a004f74bccaeb72e71aba709a1cf14adecad4399b6df5b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating crate/cli/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/client/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/kmip/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/logger/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/test_server/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/server/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/pyo3/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/pkcs11/sys/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/pkcs11/module/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crate/pkcs11/provider/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling python3-dll-a v0.2.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling pqc_kyber v0.4.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking sqlformat v0.2.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.15.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking rawsql v0.1.1 [INFO] [stderr] Checking version-compare v0.2.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling pkcs11_sys v0.2.17 (/tmp/fixit/crate/pkcs11/sys) [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Migrating crate/pkcs11/sys/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Migrating crate/pkcs11/sys/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Fixed crate/pkcs11/sys/src/pkcs11_unix.rs (92 fixes) [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking opentelemetry v0.23.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling cosmian_kms_python v4.19.3 (/tmp/fixit/crate/pyo3) [INFO] [stderr] Migrating crate/pyo3/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking sdd v3.0.3 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking scc v2.1.17 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking etcetera v0.8.0 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling cosmian_kms_server v4.19.3 (/tmp/fixit/crate/server) [INFO] [stderr] Migrating crate/server/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking crypto_secretbox v0.1.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking cosmian_fpe v0.5.2 [INFO] [stderr] Checking cosmian_logger v4.19.3 (/tmp/fixit/crate/logger) [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Migrating crate/logger/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking cloudproof_fpe v0.2.2 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking tracing-journald v0.3.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking tempfile v3.11.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking crypto_box v0.9.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking superboring v0.1.2 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking alcoholic_jwt v4091.0.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p224 v0.13.2 [INFO] [stderr] Checking p192 v0.13.0 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking cosmian_pkcs11_module v4.19.3 (/tmp/fixit/crate/pkcs11/module) [INFO] [stderr] Migrating crate/pkcs11/module/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking cosmian_crypto_core v9.5.0 [INFO] [stderr] Checking jwt-simple v0.12.9 [INFO] [stderr] Checking cosmian_cover_crypt v14.0.0 [INFO] [stderr] Checking cosmian_findex v6.0.0 [INFO] [stderr] Checking cloudproof_aesgcm v0.1.5 [INFO] [stderr] Checking cloudproof_anonymization v0.1.3 [INFO] [stderr] Checking cloudproof_ecies v0.1.4 [INFO] [stderr] Checking cosmian_findex v5.0.3 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking pyo3-asyncio v0.20.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking cloudproof_cover_crypt v14.0.0 [INFO] [stderr] Checking sqlx-core v0.8.1 [INFO] [stderr] Checking opentelemetry_sdk v0.23.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking cloudproof_findex v6.0.2 [INFO] [stderr] Checking cloudproof v3.0.2 [INFO] [stderr] Checking cosmian_kmip v4.19.3 (/tmp/fixit/crate/kmip) [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cosmian_pkcs11_module` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crate/pkcs11/module/src/lib.rs [INFO] [stderr] * crate/pkcs11/module/src/tests.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: expected identifier, found keyword `unsafe` [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: crate/pkcs11/module/src/tests.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | / cryptoki_fn!( [INFO] [stderr] 115 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stderr] 116 | | not_null!(ppFunctionList); [INFO] [stderr] 117 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] 121 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | / cryptoki_fn!( [INFO] [stderr] 220 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stderr] 221 | | if !pInitArgs.is_null() { [INFO] [stderr] 222 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stderr] ... | [INFO] [stderr] 231 | | } [INFO] [stderr] 232 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | / cryptoki_fn!( [INFO] [stderr] 235 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stderr] 236 | | initialized!(); [INFO] [stderr] 237 | | if !pReserved.is_null() { [INFO] [stderr] ... | [INFO] [stderr] 242 | | } [INFO] [stderr] 243 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 245 | / cryptoki_fn!( [INFO] [stderr] 246 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stderr] 247 | | initialized!(); [INFO] [stderr] 248 | | not_null!(pInfo); [INFO] [stderr] ... | [INFO] [stderr] 265 | | } [INFO] [stderr] 266 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 268 | / cryptoki_fn!( [INFO] [stderr] 269 | | unsafe fn C_GetSlotList( [INFO] [stderr] 270 | | _tokenPresent: CK_BBOOL, [INFO] [stderr] 271 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stderr] ... | [INFO] [stderr] 285 | | } [INFO] [stderr] 286 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 288 | / cryptoki_fn!( [INFO] [stderr] 289 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stderr] 290 | | initialized!(); [INFO] [stderr] 291 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 309 | | } [INFO] [stderr] 310 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 312 | / cryptoki_fn!( [INFO] [stderr] 313 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stderr] 314 | | initialized!(); [INFO] [stderr] 315 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 345 | | } [INFO] [stderr] 346 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 348 | / cryptoki_fn!( [INFO] [stderr] 349 | | unsafe fn C_GetMechanismList( [INFO] [stderr] 350 | | slotID: CK_SLOT_ID, [INFO] [stderr] 351 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 369 | | } [INFO] [stderr] 370 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 372 | / cryptoki_fn!( [INFO] [stderr] 373 | | unsafe fn C_GetMechanismInfo( [INFO] [stderr] 374 | | slotID: CK_SLOT_ID, [INFO] [stderr] 375 | | mechType: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 390 | | } [INFO] [stderr] 391 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 393 | / cryptoki_fn!( [INFO] [stderr] 394 | | fn C_InitToken( [INFO] [stderr] 395 | | slotID: CK_SLOT_ID, [INFO] [stderr] 396 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 403 | | } [INFO] [stderr] 404 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 406 | / cryptoki_fn!( [INFO] [stderr] 407 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stderr] 408 | | initialized!(); [INFO] [stderr] 409 | | valid_session!(hSession); [INFO] [stderr] 410 | | Err(MError::TokenWriteProtected) [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 414 | / cryptoki_fn!( [INFO] [stderr] 415 | | fn C_SetPIN( [INFO] [stderr] 416 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 417 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 428 | / cryptoki_fn!( [INFO] [stderr] 429 | | unsafe fn C_OpenSession( [INFO] [stderr] 430 | | slotID: CK_SLOT_ID, [INFO] [stderr] 431 | | flags: CK_FLAGS, [INFO] [stderr] ... | [INFO] [stderr] 444 | | } [INFO] [stderr] 445 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 447 | / cryptoki_fn!( [INFO] [stderr] 448 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 449 | | initialized!(); [INFO] [stderr] 450 | | if sessions::close(hSession) { [INFO] [stderr] ... | [INFO] [stderr] 454 | | } [INFO] [stderr] 455 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 457 | / cryptoki_fn!( [INFO] [stderr] 458 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stderr] 459 | | initialized!(); [INFO] [stderr] 460 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 463 | | } [INFO] [stderr] 464 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 466 | / cryptoki_fn!( [INFO] [stderr] 467 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stderr] 468 | | initialized!(); [INFO] [stderr] 469 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 485 | | } [INFO] [stderr] 486 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 488 | / cryptoki_fn_not_supported!( [INFO] [stderr] 489 | | C_GetOperationState, [INFO] [stderr] 490 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 491 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] 492 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stderr] 493 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 495 | / cryptoki_fn_not_supported!( [INFO] [stderr] 496 | | C_SetOperationState, [INFO] [stderr] 497 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 498 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 501 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stderr] 502 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 504 | / cryptoki_fn!( [INFO] [stderr] 505 | | fn C_Login( [INFO] [stderr] 506 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 507 | | _userType: CK_USER_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 514 | | } [INFO] [stderr] 515 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 517 | / cryptoki_fn!( [INFO] [stderr] 518 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 519 | | initialized!(); [INFO] [stderr] 520 | | valid_session!(hSession); [INFO] [stderr] 521 | | Ok(()) [INFO] [stderr] 522 | | } [INFO] [stderr] 523 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 525 | / cryptoki_fn_not_supported!( [INFO] [stderr] 526 | | C_CreateObject, [INFO] [stderr] 527 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 528 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 529 | | ulCount: CK_ULONG, [INFO] [stderr] 530 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 531 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 533 | / cryptoki_fn_not_supported!( [INFO] [stderr] 534 | | C_CopyObject, [INFO] [stderr] 535 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 536 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 539 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 540 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 542 | / cryptoki_fn_not_supported!( [INFO] [stderr] 543 | | C_DestroyObject, [INFO] [stderr] 544 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 545 | | hObject: CK_OBJECT_HANDLE [INFO] [stderr] 546 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 548 | / cryptoki_fn_not_supported!( [INFO] [stderr] 549 | | C_GetObjectSize, [INFO] [stderr] 550 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 551 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 552 | | pulSize: CK_ULONG_PTR [INFO] [stderr] 553 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 555 | / cryptoki_fn!( [INFO] [stderr] 556 | | unsafe fn C_GetAttributeValue( [INFO] [stderr] 557 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 558 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 618 | | } [INFO] [stderr] 619 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 621 | / cryptoki_fn_not_supported!( [INFO] [stderr] 622 | | C_SetAttributeValue, [INFO] [stderr] 623 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 624 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 625 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 626 | | ulCount: CK_ULONG [INFO] [stderr] 627 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 629 | / cryptoki_fn!( [INFO] [stderr] 630 | | unsafe fn C_FindObjectsInit( [INFO] [stderr] 631 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 632 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 647 | | } [INFO] [stderr] 648 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 650 | / cryptoki_fn!( [INFO] [stderr] 651 | | unsafe fn C_FindObjects( [INFO] [stderr] 652 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 653 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 686 | | } [INFO] [stderr] 687 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 689 | / cryptoki_fn!( [INFO] [stderr] 690 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 691 | | initialized!(); [INFO] [stderr] 692 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 707 | | } [INFO] [stderr] 708 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 710 | / cryptoki_fn_not_supported!( [INFO] [stderr] 711 | | C_EncryptInit, [INFO] [stderr] 712 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 713 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 714 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 715 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 717 | / cryptoki_fn_not_supported!( [INFO] [stderr] 718 | | C_Encrypt, [INFO] [stderr] 719 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 720 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 723 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stderr] 724 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 726 | / cryptoki_fn_not_supported!( [INFO] [stderr] 727 | | C_EncryptUpdate, [INFO] [stderr] 728 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 729 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 732 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 733 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 735 | / cryptoki_fn_not_supported!( [INFO] [stderr] 736 | | C_EncryptFinal, [INFO] [stderr] 737 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 738 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] 739 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 740 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 742 | / cryptoki_fn!( [INFO] [stderr] 743 | | unsafe fn C_DecryptInit( [INFO] [stderr] 744 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 745 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 779 | | } [INFO] [stderr] 780 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 782 | / cryptoki_fn!( [INFO] [stderr] 783 | | unsafe fn C_Decrypt( [INFO] [stderr] 784 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 785 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 814 | | } [INFO] [stderr] 815 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 817 | / cryptoki_fn!( [INFO] [stderr] 818 | | unsafe fn C_DecryptUpdate( [INFO] [stderr] 819 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 820 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 834 | | } [INFO] [stderr] 835 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 837 | / cryptoki_fn!( [INFO] [stderr] 838 | | unsafe fn C_DecryptFinal( [INFO] [stderr] 839 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 840 | | pLastPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 848 | | } [INFO] [stderr] 849 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 851 | / cryptoki_fn_not_supported!( [INFO] [stderr] 852 | | C_DigestInit, [INFO] [stderr] 853 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 854 | | pMechanism: CK_MECHANISM_PTR [INFO] [stderr] 855 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 857 | / cryptoki_fn_not_supported!( [INFO] [stderr] 858 | | C_Digest, [INFO] [stderr] 859 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 860 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 863 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 864 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 866 | / cryptoki_fn_not_supported!( [INFO] [stderr] 867 | | C_DigestUpdate, [INFO] [stderr] 868 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 869 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 870 | | ulPartLen: CK_ULONG [INFO] [stderr] 871 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 873 | / cryptoki_fn_not_supported!( [INFO] [stderr] 874 | | C_DigestKey, [INFO] [stderr] 875 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 876 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 877 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 879 | / cryptoki_fn_not_supported!( [INFO] [stderr] 880 | | C_DigestFinal, [INFO] [stderr] 881 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 882 | | pDigest: CK_BYTE_PTR, [INFO] [stderr] 883 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 884 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 886 | / cryptoki_fn!( [INFO] [stderr] 887 | | unsafe fn C_SignInit( [INFO] [stderr] 888 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 889 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 912 | | } [INFO] [stderr] 913 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 915 | / cryptoki_fn!( [INFO] [stderr] 916 | | unsafe fn C_Sign( [INFO] [stderr] 917 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 918 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 932 | | } [INFO] [stderr] 933 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 935 | / cryptoki_fn!( [INFO] [stderr] 936 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stderr] 937 | | initialized!(); [INFO] [stderr] 938 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 951 | | } [INFO] [stderr] 952 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 954 | / cryptoki_fn!( [INFO] [stderr] 955 | | unsafe fn C_SignFinal( [INFO] [stderr] 956 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 957 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 968 | | } [INFO] [stderr] 969 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 971 | / cryptoki_fn_not_supported!( [INFO] [stderr] 972 | | C_SignRecoverInit, [INFO] [stderr] 973 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 974 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 975 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 976 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 978 | / cryptoki_fn_not_supported!( [INFO] [stderr] 979 | | C_SignRecover, [INFO] [stderr] 980 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 981 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 984 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stderr] 985 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 987 | / cryptoki_fn_not_supported!( [INFO] [stderr] 988 | | C_VerifyInit, [INFO] [stderr] 989 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 990 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 991 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 992 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 994 | / cryptoki_fn_not_supported!( [INFO] [stderr] 995 | | C_Verify, [INFO] [stderr] 996 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 997 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1000 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 1001 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1003 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1004 | | C_VerifyUpdate, [INFO] [stderr] 1005 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1006 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 1007 | | ulPartLen: CK_ULONG [INFO] [stderr] 1008 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1010 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1011 | | C_VerifyFinal, [INFO] [stderr] 1012 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1013 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] 1014 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 1015 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1017 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1018 | | C_VerifyRecoverInit, [INFO] [stderr] 1019 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1020 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 1021 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 1022 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1024 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1025 | | C_VerifyRecover, [INFO] [stderr] 1026 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1027 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1030 | | pulDataLen: CK_ULONG_PTR [INFO] [stderr] 1031 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1033 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1034 | | C_DigestEncryptUpdate, [INFO] [stderr] 1035 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1036 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1039 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 1040 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1042 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1043 | | C_DecryptDigestUpdate, [INFO] [stderr] 1044 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1045 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1048 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 1049 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1051 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1052 | | C_SignEncryptUpdate, [INFO] [stderr] 1053 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1054 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1057 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 1058 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1060 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1061 | | C_DecryptVerifyUpdate, [INFO] [stderr] 1062 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1063 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1066 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 1067 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1069 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1070 | | C_GenerateKey, [INFO] [stderr] 1071 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1072 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1075 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1076 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1078 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1079 | | C_GenerateKeyPair, [INFO] [stderr] 1080 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1081 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1087 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1088 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1090 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1091 | | C_WrapKey, [INFO] [stderr] 1092 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1093 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1097 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stderr] 1098 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1100 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1101 | | C_UnwrapKey, [INFO] [stderr] 1102 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1103 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1109 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1110 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1112 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1113 | | C_DeriveKey, [INFO] [stderr] 1114 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1115 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1119 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1120 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1122 | / cryptoki_fn!( [INFO] [stderr] 1123 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stderr] 1124 | | initialized!(); [INFO] [stderr] 1125 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 1128 | | } [INFO] [stderr] 1129 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1131 | / cryptoki_fn!( [INFO] [stderr] 1132 | | unsafe fn C_GenerateRandom( [INFO] [stderr] 1133 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1134 | | pRandomData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1147 | | } [INFO] [stderr] 1148 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1150 | / cryptoki_fn!( [INFO] [stderr] 1151 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1152 | | initialized!(); [INFO] [stderr] 1153 | | valid_session!(hSession); [INFO] [stderr] 1154 | | Err(MError::FunctionNotParallel) [INFO] [stderr] 1155 | | } [INFO] [stderr] 1156 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1158 | / cryptoki_fn!( [INFO] [stderr] 1159 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1160 | | initialized!(); [INFO] [stderr] 1161 | | valid_session!(hSession); [INFO] [stderr] 1162 | | Err(MError::FunctionNotParallel) [INFO] [stderr] 1163 | | } [INFO] [stderr] 1164 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1166 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1167 | | C_WaitForSlotEvent, [INFO] [stderr] 1168 | | flags: CK_FLAGS, [INFO] [stderr] 1169 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stderr] 1170 | | pReserved: CK_VOID_PTR [INFO] [stderr] 1171 | | ); [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[E0425]: cannot find value `C_GetFunctionList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:128:44 [INFO] [stderr] | [INFO] [stderr] 128 | func_list.C_GetFunctionList = Some(C_GetFunctionList); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetFunctionList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetFunctionList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:129:18 [INFO] [stderr] | [INFO] [stderr] 129 | unsafe { C_GetFunctionList(std::ptr::addr_of_mut!(func_list) as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetFunctionList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 137 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 137 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:139:11 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 139 | { C_Initialize(ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 139 | { get_initialize(ptr::null_mut()) }, [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:142:18 [INFO] [stderr] | [INFO] [stderr] 142 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 142 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:145:11 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 145 | { C_Initialize((&mut args as CK_C_INITIALIZE_ARGS_PTR).cast::()) }, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 145 | { get_initialize((&mut args as CK_C_INITIALIZE_ARGS_PTR).cast::()) }, [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:148:18 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:152:11 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 152 | { C_Initialize((&mut args as CK_C_INITIALIZE_ARGS_PTR).cast::()) }, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 152 | { get_initialize((&mut args as CK_C_INITIALIZE_ARGS_PTR).cast::()) }, [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:161:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 161 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 161 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:164:11 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 164 | { C_Finalize((1 as *mut u32).cast::()) }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 164 | { finalize((1 as *mut u32).cast::()) }, [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:167:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 167 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 167 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:169:11 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 169 | { C_Finalize(ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 169 | { finalize(ptr::null_mut()) }, [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:178:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 178 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 178 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:180:25 [INFO] [stderr] | [INFO] [stderr] 180 | assert_eq!(unsafe { C_GetInfo(&mut info) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:182:25 [INFO] [stderr] | [INFO] [stderr] 182 | assert_eq!(unsafe { C_GetInfo(ptr::null_mut()) }, CKR_ARGUMENTS_BAD); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:184:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 184 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 184 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:186:18 [INFO] [stderr] | [INFO] [stderr] 186 | unsafe { C_GetInfo(&mut info) }, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetFunctionList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | unsafe { C_GetFunctionList(&mut function_list_pointer) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetFunctionList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetFunctionList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | unsafe { C_GetFunctionList(ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetFunctionList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:212:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 212 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 212 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:215:18 [INFO] [stderr] | [INFO] [stderr] 215 | unsafe { C_GetSlotList(CK_FALSE, ptr::null_mut(), &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:221:18 [INFO] [stderr] | [INFO] [stderr] 221 | unsafe { C_GetSlotList(CK_FALSE, ptr::null_mut(), ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:229:18 [INFO] [stderr] | [INFO] [stderr] 229 | unsafe { C_GetSlotList(CK_FALSE, slot_list.as_mut_ptr(), &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 233 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 233 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:235:18 [INFO] [stderr] | [INFO] [stderr] 235 | unsafe { C_GetSlotList(CK_FALSE, ptr::null_mut(), &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:244:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 244 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 244 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:246:25 [INFO] [stderr] | [INFO] [stderr] 246 | assert_eq!(unsafe { C_GetSlotInfo(SLOT_ID, &mut slot_info) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:249:18 [INFO] [stderr] | [INFO] [stderr] 249 | unsafe { C_GetSlotInfo(SLOT_ID, ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:254:18 [INFO] [stderr] | [INFO] [stderr] 254 | unsafe { C_GetSlotInfo(SLOT_ID + 1, ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:258:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 258 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 258 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:260:18 [INFO] [stderr] | [INFO] [stderr] 260 | unsafe { C_GetSlotInfo(SLOT_ID, &mut slot_info) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:269:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 269 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 269 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetTokenInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:271:18 [INFO] [stderr] | [INFO] [stderr] 271 | unsafe { C_GetTokenInfo(SLOT_ID, &mut CK_TOKEN_INFO::default()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetTokenInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetTokenInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:276:18 [INFO] [stderr] | [INFO] [stderr] 276 | unsafe { C_GetTokenInfo(SLOT_ID + 1, ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetTokenInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSlotInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:281:18 [INFO] [stderr] | [INFO] [stderr] 281 | unsafe { C_GetSlotInfo(SLOT_ID, ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:285:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 285 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 285 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetTokenInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:287:18 [INFO] [stderr] | [INFO] [stderr] 287 | unsafe { C_GetTokenInfo(SLOT_ID, &mut CK_TOKEN_INFO::default()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetTokenInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:296:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 296 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 296 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:299:18 [INFO] [stderr] | [INFO] [stderr] 299 | unsafe { C_GetMechanismList(SLOT_ID, ptr::null_mut(), &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:305:18 [INFO] [stderr] | [INFO] [stderr] 305 | unsafe { C_GetMechanismList(SLOT_ID, mechanisms.as_mut_ptr(), &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:314:18 [INFO] [stderr] | [INFO] [stderr] 314 | unsafe { C_GetMechanismList(SLOT_ID + 1, ptr::null_mut(), &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:319:18 [INFO] [stderr] | [INFO] [stderr] 319 | unsafe { C_GetMechanismList(SLOT_ID, ptr::null_mut(), ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:325:18 [INFO] [stderr] | [INFO] [stderr] 325 | unsafe { C_GetMechanismList(SLOT_ID, mechanisms.as_mut_ptr(), &mut (count - 1)) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:329:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 329 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 329 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:331:18 [INFO] [stderr] | [INFO] [stderr] 331 | unsafe { C_GetMechanismList(SLOT_ID, ptr::null_mut(), ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:340:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 340 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 340 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:343:18 [INFO] [stderr] | [INFO] [stderr] 343 | unsafe { C_GetMechanismInfo(SLOT_ID, SUPPORTED_SIGNATURE_MECHANISMS[0], &mut info,) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:348:18 [INFO] [stderr] | [INFO] [stderr] 348 | unsafe { C_GetMechanismInfo(SLOT_ID, CKM_DSA, &mut info) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:353:18 [INFO] [stderr] | [INFO] [stderr] 353 | unsafe { C_GetMechanismInfo(SLOT_ID, SUPPORTED_SIGNATURE_MECHANISMS[0], ptr::null_mut(),) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:357:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 357 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 357 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetMechanismInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:359:18 [INFO] [stderr] | [INFO] [stderr] 359 | unsafe { C_GetMechanismInfo(SLOT_ID, SUPPORTED_SIGNATURE_MECHANISMS[0], ptr::null_mut(),) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetMechanismInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:368:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 368 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 368 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:372:18 [INFO] [stderr] | [INFO] [stderr] 372 | unsafe { C_OpenSession(SLOT_ID, flags, ptr::null_mut(), None, &mut handle) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:377:18 [INFO] [stderr] | [INFO] [stderr] 377 | unsafe { C_OpenSession(SLOT_ID + 1, flags, ptr::null_mut(), None, &mut handle,) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:383:18 [INFO] [stderr] | [INFO] [stderr] 383 | unsafe { C_OpenSession(SLOT_ID, 0, ptr::null_mut(), None, &mut handle) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:388:18 [INFO] [stderr] | [INFO] [stderr] 388 | unsafe { C_OpenSession(SLOT_ID, flags, ptr::null_mut(), None, ptr::null_mut(),) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:391:18 [INFO] [stderr] | [INFO] [stderr] 391 | assert_eq!({ C_CloseSession(handle) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:392:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 392 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 392 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:399:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 399 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 399 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:403:13 [INFO] [stderr] | [INFO] [stderr] 403 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:413:18 [INFO] [stderr] | [INFO] [stderr] 413 | assert_eq!({ C_CloseSession(handle) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:415:18 [INFO] [stderr] | [INFO] [stderr] 415 | assert_eq!({ C_CloseSession(handle) }, CKR_SESSION_HANDLE_INVALID); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:418:11 [INFO] [stderr] | [INFO] [stderr] 418 | { C_CloseSession(CK_INVALID_HANDLE) }, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:421:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 421 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 421 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:428:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 428 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 428 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:432:13 [INFO] [stderr] | [INFO] [stderr] 432 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSessionInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:444:18 [INFO] [stderr] | [INFO] [stderr] 444 | unsafe { C_GetSessionInfo(handle, &mut session_info) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSessionInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSessionInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:449:18 [INFO] [stderr] | [INFO] [stderr] 449 | unsafe { C_GetSessionInfo(CK_INVALID_HANDLE, &mut session_info) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSessionInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetSessionInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:454:18 [INFO] [stderr] | [INFO] [stderr] 454 | unsafe { C_GetSessionInfo(handle, ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetSessionInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:457:18 [INFO] [stderr] | [INFO] [stderr] 457 | assert_eq!({ C_CloseSession(handle) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:458:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 458 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 458 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:465:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 465 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 465 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:469:13 [INFO] [stderr] | [INFO] [stderr] 469 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetAttributeValue` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:482:13 [INFO] [stderr] | [INFO] [stderr] 482 | C_GetAttributeValue( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetAttributeValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:491:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 491 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 491 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetAttributeValue` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:493:18 [INFO] [stderr] | [INFO] [stderr] 493 | unsafe { C_GetAttributeValue(session_h, 0, template.as_mut_ptr(), 0) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetAttributeValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:502:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 502 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 502 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:506:13 [INFO] [stderr] | [INFO] [stderr] 506 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjectsInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:522:18 [INFO] [stderr] | [INFO] [stderr] 522 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjectsInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:525:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 525 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 525 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjectsInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:527:18 [INFO] [stderr] | [INFO] [stderr] 527 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjectsInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:536:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 536 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 536 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:540:13 [INFO] [stderr] | [INFO] [stderr] 540 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjectsInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:556:18 [INFO] [stderr] | [INFO] [stderr] 556 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjectsInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjects` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:562:18 [INFO] [stderr] | [INFO] [stderr] 562 | unsafe { C_FindObjects(handle, objects.as_mut_ptr(), 1, &mut count) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjects; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:566:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 566 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 566 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjects` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:568:18 [INFO] [stderr] | [INFO] [stderr] 568 | unsafe { C_FindObjects(handle, ptr::null_mut(), 0, ptr::null_mut()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjects; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:577:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 577 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 577 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:581:13 [INFO] [stderr] | [INFO] [stderr] 581 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjectsInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:597:18 [INFO] [stderr] | [INFO] [stderr] 597 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjectsInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjectsFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:600:18 [INFO] [stderr] | [INFO] [stderr] 600 | assert_eq!({ C_FindObjectsFinal(handle) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjectsFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:601:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 601 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 601 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_FindObjectsFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:602:18 [INFO] [stderr] | [INFO] [stderr] 602 | assert_eq!({ C_FindObjectsFinal(handle) }, CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_FindObjectsFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:608:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 608 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 608 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:612:13 [INFO] [stderr] | [INFO] [stderr] 612 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetFunctionStatus` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:623:11 [INFO] [stderr] | [INFO] [stderr] 623 | { C_GetFunctionStatus(session_h) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetFunctionStatus; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:626:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 626 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 626 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:633:18 [INFO] [stderr] | [INFO] [stderr] 134 | #[serial] [INFO] [stderr] | --------- similarly named function `get_initialize` defined here [INFO] [stderr] ... [INFO] [stderr] 633 | assert_eq!({ C_Initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 633 | assert_eq!({ get_initialize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:637:13 [INFO] [stderr] | [INFO] [stderr] 637 | C_OpenSession( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_GetFunctionStatus` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:648:11 [INFO] [stderr] | [INFO] [stderr] 648 | { C_GetFunctionStatus(session_h) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_GetFunctionStatus; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/tests.rs:651:18 [INFO] [stderr] | [INFO] [stderr] 158 | #[serial] [INFO] [stderr] | --------- similarly named function `finalize` defined here [INFO] [stderr] ... [INFO] [stderr] 651 | assert_eq!({ C_Finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a function with a similar name exists [INFO] [stderr] | [INFO] [stderr] 651 | assert_eq!({ finalize(ptr::null_mut()) }, CKR_OK); [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 1 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:149:24 [INFO] [stderr] | [INFO] [stderr] 149 | C_Initialize: Some(C_Initialize), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:150:22 [INFO] [stderr] | [INFO] [stderr] 150 | C_Finalize: Some(C_Finalize), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: crate/pkcs11/module/src/tests.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / cryptoki_fn!( [INFO] [stdout] 115 | | unsafe fn C_GetFunctionList(ppFunctionList: CK_FUNCTION_LIST_PTR_PTR) { [INFO] [stdout] 116 | | not_null!(ppFunctionList); [INFO] [stdout] 117 | | unsafe { *ppFunctionList = addr_of_mut!(FUNC_LIST) }; [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 219 | / cryptoki_fn!( [INFO] [stdout] 220 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stdout] 221 | | if !pInitArgs.is_null() { [INFO] [stdout] 222 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stdout] ... | [INFO] [stdout] 231 | | } [INFO] [stdout] 232 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_GetInfo` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 234 | / cryptoki_fn!( [INFO] [stdout] 235 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stdout] 236 | | initialized!(); [INFO] [stdout] 237 | | if !pReserved.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:151:21 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 245 | / cryptoki_fn!( [INFO] [stdout] 246 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stdout] 247 | | initialized!(); [INFO] [stdout] 248 | | not_null!(pInfo); [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 268 | / cryptoki_fn!( [INFO] [stdout] 269 | | unsafe fn C_GetSlotList( [INFO] [stdout] 270 | | _tokenPresent: CK_BBOOL, [INFO] [stdout] 271 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stdout] ... | [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 151 | C_GetInfo: Some(C_GetInfo), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 288 | / cryptoki_fn!( [INFO] [stdout] 289 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stdout] 290 | | initialized!(); [INFO] [stdout] 291 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 309 | | } [INFO] [stdout] 310 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 312 | / cryptoki_fn!( [INFO] [stdout] 313 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stdout] 314 | | initialized!(); [INFO] [stdout] 315 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 348 | / cryptoki_fn!( [INFO] [stdout] 349 | | unsafe fn C_GetMechanismList( [INFO] [stdout] 350 | | slotID: CK_SLOT_ID, [INFO] [stdout] 351 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 369 | | } [INFO] [stdout] 370 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 372 | / cryptoki_fn!( [INFO] [stdout] 373 | | unsafe fn C_GetMechanismInfo( [INFO] [stdout] 374 | | slotID: CK_SLOT_ID, [INFO] [stdout] 375 | | mechType: CK_MECHANISM_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 390 | | } [INFO] [stdout] 391 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 393 | / cryptoki_fn!( [INFO] [stdout] 394 | | fn C_InitToken( [INFO] [stdout] 395 | | slotID: CK_SLOT_ID, [INFO] [stdout] 396 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 403 | | } [INFO] [stdout] 404 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_GetInfo; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 406 | / cryptoki_fn!( [INFO] [stdout] 407 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stdout] 408 | | initialized!(); [INFO] [stdout] 409 | | valid_session!(hSession); [INFO] [stdout] 410 | | Err(MError::TokenWriteProtected) [INFO] [stdout] 411 | | } [INFO] [stdout] 412 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 414 | / cryptoki_fn!( [INFO] [stdout] 415 | | fn C_SetPIN( [INFO] [stdout] 416 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 417 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 428 | / cryptoki_fn!( [INFO] [stdout] 429 | | unsafe fn C_OpenSession( [INFO] [stdout] 430 | | slotID: CK_SLOT_ID, [INFO] [stdout] 431 | | flags: CK_FLAGS, [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_GetSlotList` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 447 | / cryptoki_fn!( [INFO] [stdout] 448 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 449 | | initialized!(); [INFO] [stdout] 450 | | if sessions::close(hSession) { [INFO] [stdout] ... | [INFO] [stdout] 454 | | } [INFO] [stdout] 455 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:153:25 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 457 | / cryptoki_fn!( [INFO] [stdout] 458 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stdout] 459 | | initialized!(); [INFO] [stdout] 460 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 463 | | } [INFO] [stdout] 464 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 466 | / cryptoki_fn!( [INFO] [stdout] 467 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stdout] 468 | | initialized!(); [INFO] [stdout] 469 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 485 | | } [INFO] [stdout] 486 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 153 | C_GetSlotList: Some(C_GetSlotList), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 488 | / cryptoki_fn_not_supported!( [INFO] [stdout] 489 | | C_GetOperationState, [INFO] [stdout] 490 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 491 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] 492 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stdout] 493 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 495 | / cryptoki_fn_not_supported!( [INFO] [stdout] 496 | | C_SetOperationState, [INFO] [stdout] 497 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 498 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 501 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stdout] 502 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 504 | / cryptoki_fn!( [INFO] [stdout] 505 | | fn C_Login( [INFO] [stdout] 506 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 507 | | _userType: CK_USER_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 514 | | } [INFO] [stdout] 515 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 517 | / cryptoki_fn!( [INFO] [stdout] 518 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 519 | | initialized!(); [INFO] [stdout] 520 | | valid_session!(hSession); [INFO] [stdout] 521 | | Ok(()) [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 525 | / cryptoki_fn_not_supported!( [INFO] [stdout] 526 | | C_CreateObject, [INFO] [stdout] 527 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 528 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 529 | | ulCount: CK_ULONG, [INFO] [stdout] 530 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 531 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_GetSlotList; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 533 | / cryptoki_fn_not_supported!( [INFO] [stdout] 534 | | C_CopyObject, [INFO] [stdout] 535 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 536 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 539 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 540 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 542 | / cryptoki_fn_not_supported!( [INFO] [stdout] 543 | | C_DestroyObject, [INFO] [stdout] 544 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 545 | | hObject: CK_OBJECT_HANDLE [INFO] [stdout] 546 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 548 | / cryptoki_fn_not_supported!( [INFO] [stdout] 549 | | C_GetObjectSize, [INFO] [stdout] 550 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 551 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 552 | | pulSize: CK_ULONG_PTR [INFO] [stdout] 553 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_GetSlotInfo` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 555 | / cryptoki_fn!( [INFO] [stdout] 556 | | unsafe fn C_GetAttributeValue( [INFO] [stdout] 557 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 558 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 618 | | } [INFO] [stdout] 619 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:154:25 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 621 | / cryptoki_fn_not_supported!( [INFO] [stdout] 622 | | C_SetAttributeValue, [INFO] [stdout] 623 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 624 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 625 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 626 | | ulCount: CK_ULONG [INFO] [stdout] 627 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 629 | / cryptoki_fn!( [INFO] [stdout] 630 | | unsafe fn C_FindObjectsInit( [INFO] [stdout] 631 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 632 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 647 | | } [INFO] [stdout] 648 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 154 | C_GetSlotInfo: Some(C_GetSlotInfo), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 650 | / cryptoki_fn!( [INFO] [stdout] 651 | | unsafe fn C_FindObjects( [INFO] [stdout] 652 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 653 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 686 | | } [INFO] [stdout] 687 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 689 | / cryptoki_fn!( [INFO] [stdout] 690 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 691 | | initialized!(); [INFO] [stdout] 692 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 710 | / cryptoki_fn_not_supported!( [INFO] [stdout] 711 | | C_EncryptInit, [INFO] [stdout] 712 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 713 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 714 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 715 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 717 | / cryptoki_fn_not_supported!( [INFO] [stdout] 718 | | C_Encrypt, [INFO] [stdout] 719 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 720 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 723 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stdout] 724 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 726 | / cryptoki_fn_not_supported!( [INFO] [stdout] 727 | | C_EncryptUpdate, [INFO] [stdout] 728 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 729 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 732 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 733 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 735 | / cryptoki_fn_not_supported!( [INFO] [stdout] 736 | | C_EncryptFinal, [INFO] [stdout] 737 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 738 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] 739 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 740 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 742 | / cryptoki_fn!( [INFO] [stdout] 743 | | unsafe fn C_DecryptInit( [INFO] [stdout] 744 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 745 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 779 | | } [INFO] [stdout] 780 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 782 | / cryptoki_fn!( [INFO] [stdout] 783 | | unsafe fn C_Decrypt( [INFO] [stdout] 784 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 785 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 814 | | } [INFO] [stdout] 815 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_GetTokenInfo` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 817 | / cryptoki_fn!( [INFO] [stdout] 818 | | unsafe fn C_DecryptUpdate( [INFO] [stdout] 819 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 820 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 834 | | } [INFO] [stdout] 835 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:155:26 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 837 | / cryptoki_fn!( [INFO] [stdout] 838 | | unsafe fn C_DecryptFinal( [INFO] [stdout] 839 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 840 | | pLastPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 848 | | } [INFO] [stdout] 849 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 851 | / cryptoki_fn_not_supported!( [INFO] [stdout] 852 | | C_DigestInit, [INFO] [stdout] 853 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 854 | | pMechanism: CK_MECHANISM_PTR [INFO] [stdout] 855 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 155 | C_GetTokenInfo: Some(C_GetTokenInfo), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 857 | / cryptoki_fn_not_supported!( [INFO] [stdout] 858 | | C_Digest, [INFO] [stdout] 859 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 860 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 863 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 864 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 866 | / cryptoki_fn_not_supported!( [INFO] [stdout] 867 | | C_DigestUpdate, [INFO] [stdout] 868 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 869 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 870 | | ulPartLen: CK_ULONG [INFO] [stdout] 871 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 873 | / cryptoki_fn_not_supported!( [INFO] [stdout] 874 | | C_DigestKey, [INFO] [stdout] 875 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 876 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 877 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 879 | / cryptoki_fn_not_supported!( [INFO] [stdout] 880 | | C_DigestFinal, [INFO] [stdout] 881 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 882 | | pDigest: CK_BYTE_PTR, [INFO] [stdout] 883 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 884 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 886 | / cryptoki_fn!( [INFO] [stdout] 887 | | unsafe fn C_SignInit( [INFO] [stdout] 888 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 889 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 912 | | } [INFO] [stdout] 913 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_GetTokenInfo; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 915 | / cryptoki_fn!( [INFO] [stdout] 916 | | unsafe fn C_Sign( [INFO] [stdout] 917 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 918 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 932 | | } [INFO] [stdout] 933 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 935 | / cryptoki_fn!( [INFO] [stdout] 936 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stdout] 937 | | initialized!(); [INFO] [stdout] 938 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 951 | | } [INFO] [stdout] 952 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 954 | / cryptoki_fn!( [INFO] [stdout] 955 | | unsafe fn C_SignFinal( [INFO] [stdout] 956 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 957 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 968 | | } [INFO] [stdout] 969 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_GetMechanismList` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 971 | / cryptoki_fn_not_supported!( [INFO] [stdout] 972 | | C_SignRecoverInit, [INFO] [stdout] 973 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 974 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 975 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 976 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:156:30 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 978 | / cryptoki_fn_not_supported!( [INFO] [stdout] 979 | | C_SignRecover, [INFO] [stdout] 980 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 981 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 984 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stdout] 985 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 987 | / cryptoki_fn_not_supported!( [INFO] [stdout] 988 | | C_VerifyInit, [INFO] [stdout] 989 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 990 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 991 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 992 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 156 | C_GetMechanismList: Some(C_GetMechanismList), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 994 | / cryptoki_fn_not_supported!( [INFO] [stdout] 995 | | C_Verify, [INFO] [stdout] 996 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 997 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1000 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 1001 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1003 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1004 | | C_VerifyUpdate, [INFO] [stdout] 1005 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1006 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 1007 | | ulPartLen: CK_ULONG [INFO] [stdout] 1008 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1010 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1011 | | C_VerifyFinal, [INFO] [stdout] 1012 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1013 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] 1014 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 1015 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1017 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1018 | | C_VerifyRecoverInit, [INFO] [stdout] 1019 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1020 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 1021 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 1022 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1024 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1025 | | C_VerifyRecover, [INFO] [stdout] 1026 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1027 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1030 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 1031 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_GetMechanismList; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1033 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1034 | | C_DigestEncryptUpdate, [INFO] [stdout] 1035 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1036 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1039 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 1040 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1042 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1043 | | C_DecryptDigestUpdate, [INFO] [stdout] 1044 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1045 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1048 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 1049 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1051 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1052 | | C_SignEncryptUpdate, [INFO] [stdout] 1053 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1054 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1057 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 1058 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_GetMechanismInfo` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1060 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1061 | | C_DecryptVerifyUpdate, [INFO] [stdout] 1062 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1063 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1066 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 1067 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:157:30 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1069 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1070 | | C_GenerateKey, [INFO] [stdout] 1071 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1072 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1075 | | phKey: CK_OBJECT_HANDLE_PTR [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` 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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1078 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1079 | | C_GenerateKeyPair, [INFO] [stdout] 1080 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1081 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1087 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1088 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 157 | C_GetMechanismInfo: Some(C_GetMechanismInfo), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1090 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1091 | | C_WrapKey, [INFO] [stdout] 1092 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1093 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1097 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stdout] 1098 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1100 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1101 | | C_UnwrapKey, [INFO] [stdout] 1102 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1103 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1109 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1110 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1112 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1113 | | C_DeriveKey, [INFO] [stdout] 1114 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1115 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1119 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1120 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1122 | / cryptoki_fn!( [INFO] [stdout] 1123 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stdout] 1124 | | initialized!(); [INFO] [stdout] 1125 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 1128 | | } [INFO] [stdout] 1129 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1131 | / cryptoki_fn!( [INFO] [stdout] 1132 | | unsafe fn C_GenerateRandom( [INFO] [stdout] 1133 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1134 | | pRandomData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1147 | | } [INFO] [stdout] 1148 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_GetMechanismInfo; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1150 | / cryptoki_fn!( [INFO] [stdout] 1151 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1152 | | initialized!(); [INFO] [stdout] 1153 | | valid_session!(hSession); [INFO] [stdout] 1154 | | Err(MError::FunctionNotParallel) [INFO] [stdout] 1155 | | } [INFO] [stdout] 1156 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1158 | / cryptoki_fn!( [INFO] [stdout] 1159 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1160 | | initialized!(); [INFO] [stdout] 1161 | | valid_session!(hSession); [INFO] [stdout] 1162 | | Err(MError::FunctionNotParallel) [INFO] [stdout] 1163 | | } [INFO] [stdout] 1164 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1166 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1167 | | C_WaitForSlotEvent, [INFO] [stdout] 1168 | | flags: CK_FLAGS, [INFO] [stdout] 1169 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stdout] 1170 | | pReserved: CK_VOID_PTR [INFO] [stdout] 1171 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_InitToken` in this scope [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | ($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] 114 | ($ptr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:158:23 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | ($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] 130 | ($handle:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | ($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] 138 | ($id:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 158 | C_InitToken: Some(C_InitToken), [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | 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] --> crate/pkcs11/module/src/lib.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | } else { [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] 592 ~ match object.attribute(type_) { Some(value) => { [INFO] [stdout] 593 | let value = value.as_raw_value(); [INFO] [stdout] ... [INFO] [stdout] 604 | .copy_from_slice(&value); [INFO] [stdout] 605 ~ } _ => { [INFO] [stdout] 606 | attribute.ulValueLen = CK_UNAVAILABLE_INFORMATION; [INFO] [stdout] 607 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crate/pkcs11/module/src/core/object.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | if let Some(attr) = self.attribute(other.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] --> crate/pkcs11/module/src/core/object.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } 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] 257 ~ match self.attribute(other.attribute_type()) { Some(attr) => { [INFO] [stdout] 258 | if *other != attr { [INFO] [stdout] 259 | return false; [INFO] [stdout] 260 | } [INFO] [stdout] 261 ~ } _ => { [INFO] [stdout] 262 | return false; [INFO] [stdout] 263 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_InitToken; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_InitPIN` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:159:21 [INFO] [stderr] | [INFO] [stderr] 159 | C_InitPIN: Some(C_InitPIN), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_InitPIN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SetPIN` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:160:20 [INFO] [stderr] | [INFO] [stderr] 160 | C_SetPIN: Some(C_SetPIN), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SetPIN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:161:25 [INFO] [stderr] | [INFO] [stderr] 161 | C_OpenSession: Some(C_OpenSession), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:162:26 [INFO] [stderr] | [INFO] [stderr] 162 | C_CloseSession: Some(C_CloseSession), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CloseAllSessions` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:163:30 [INFO] [stderr] | [INFO] [stderr] 163 | C_CloseAllSessions: Some(C_CloseAllSessions), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CloseAllSessions; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetSessionInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:164:28 [INFO] [stderr] | [INFO] [stderr] 164 | C_GetSessionInfo: Some(C_GetSessionInfo), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetSessionInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetOperationState` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | C_GetOperationState: Some(C_GetOperationState), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetOperationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SetOperationState` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:166:31 [INFO] [stderr] | [INFO] [stderr] 166 | C_SetOperationState: Some(C_SetOperationState), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SetOperationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Login` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:167:19 [INFO] [stderr] | [INFO] [stderr] 167 | C_Login: Some(C_Login), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Login; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Logout` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:168:20 [INFO] [stderr] | [INFO] [stderr] 168 | C_Logout: Some(C_Logout), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Logout; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CreateObject` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:169:26 [INFO] [stderr] | [INFO] [stderr] 169 | C_CreateObject: Some(C_CreateObject), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CreateObject; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CopyObject` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:170:24 [INFO] [stderr] | [INFO] [stderr] 170 | C_CopyObject: Some(C_CopyObject), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CopyObject; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DestroyObject` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | C_DestroyObject: Some(C_DestroyObject), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DestroyObject; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetObjectSize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:172:27 [INFO] [stderr] | [INFO] [stderr] 172 | C_GetObjectSize: Some(C_GetObjectSize), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetObjectSize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetAttributeValue` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:173:31 [INFO] [stderr] | [INFO] [stderr] 173 | C_GetAttributeValue: Some(C_GetAttributeValue), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetAttributeValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SetAttributeValue` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:174:31 [INFO] [stderr] | [INFO] [stderr] 174 | C_SetAttributeValue: Some(C_SetAttributeValue), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SetAttributeValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_FindObjectsInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:175:29 [INFO] [stderr] | [INFO] [stderr] 175 | C_FindObjectsInit: Some(C_FindObjectsInit), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_FindObjectsInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_FindObjects` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:176:25 [INFO] [stderr] | [INFO] [stderr] 176 | C_FindObjects: Some(C_FindObjects), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_FindObjects; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_FindObjectsFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:177:30 [INFO] [stderr] | [INFO] [stderr] 177 | C_FindObjectsFinal: Some(C_FindObjectsFinal), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_FindObjectsFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_EncryptInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | C_EncryptInit: Some(C_EncryptInit), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_EncryptInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Encrypt` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | C_Encrypt: Some(C_Encrypt), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Encrypt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_EncryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:180:27 [INFO] [stderr] | [INFO] [stderr] 180 | C_EncryptUpdate: Some(C_EncryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_EncryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_EncryptFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:181:26 [INFO] [stderr] | [INFO] [stderr] 181 | C_EncryptFinal: Some(C_EncryptFinal), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_EncryptFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:182:25 [INFO] [stderr] | [INFO] [stderr] 182 | C_DecryptInit: Some(C_DecryptInit), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Decrypt` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | C_Decrypt: Some(C_Decrypt), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Decrypt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | C_DecryptUpdate: Some(C_DecryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:185:26 [INFO] [stderr] | [INFO] [stderr] 185 | C_DecryptFinal: Some(C_DecryptFinal), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:186:24 [INFO] [stderr] | [INFO] [stderr] 186 | C_DigestInit: Some(C_DigestInit), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Digest` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:187:20 [INFO] [stderr] | [INFO] [stderr] 187 | C_Digest: Some(C_Digest), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Digest; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | C_DigestUpdate: Some(C_DigestUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:189:23 [INFO] [stderr] | [INFO] [stderr] 189 | C_DigestKey: Some(C_DigestKey), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:190:25 [INFO] [stderr] | [INFO] [stderr] 190 | C_DigestFinal: Some(C_DigestFinal), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:191:22 [INFO] [stderr] | [INFO] [stderr] 191 | C_SignInit: Some(C_SignInit), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Sign` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:192:18 [INFO] [stderr] | [INFO] [stderr] 192 | C_Sign: Some(C_Sign), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Sign; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:193:24 [INFO] [stderr] | [INFO] [stderr] 193 | C_SignUpdate: Some(C_SignUpdate), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:194:23 [INFO] [stderr] | [INFO] [stderr] 194 | C_SignFinal: Some(C_SignFinal), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignRecoverInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:195:29 [INFO] [stderr] | [INFO] [stderr] 195 | C_SignRecoverInit: Some(C_SignRecoverInit), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignRecoverInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignRecover` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | C_SignRecover: Some(C_SignRecover), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignRecover; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:197:24 [INFO] [stderr] | [INFO] [stderr] 197 | C_VerifyInit: Some(C_VerifyInit), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Verify` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:198:20 [INFO] [stderr] | [INFO] [stderr] 198 | C_Verify: Some(C_Verify), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Verify; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:199:26 [INFO] [stderr] | [INFO] [stderr] 199 | C_VerifyUpdate: Some(C_VerifyUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:200:25 [INFO] [stderr] | [INFO] [stderr] 200 | C_VerifyFinal: Some(C_VerifyFinal), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyRecoverInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | C_VerifyRecoverInit: Some(C_VerifyRecoverInit), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyRecoverInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyRecover` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:202:27 [INFO] [stderr] | [INFO] [stderr] 202 | C_VerifyRecover: Some(C_VerifyRecover), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyRecover; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestEncryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:203:33 [INFO] [stderr] | [INFO] [stderr] 203 | C_DigestEncryptUpdate: Some(C_DigestEncryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestEncryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptDigestUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:204:33 [INFO] [stderr] | [INFO] [stderr] 204 | C_DecryptDigestUpdate: Some(C_DecryptDigestUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptDigestUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignEncryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:205:31 [INFO] [stderr] | [INFO] [stderr] 205 | C_SignEncryptUpdate: Some(C_SignEncryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignEncryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptVerifyUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:206:33 [INFO] [stderr] | [INFO] [stderr] 206 | C_DecryptVerifyUpdate: Some(C_DecryptVerifyUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptVerifyUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GenerateKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:207:25 [INFO] [stderr] | [INFO] [stderr] 207 | C_GenerateKey: Some(C_GenerateKey), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GenerateKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GenerateKeyPair` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:208:29 [INFO] [stderr] | [INFO] [stderr] 208 | C_GenerateKeyPair: Some(C_GenerateKeyPair), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GenerateKeyPair; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_WrapKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | C_WrapKey: Some(C_WrapKey), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_WrapKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_UnwrapKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | C_UnwrapKey: Some(C_UnwrapKey), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_UnwrapKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DeriveKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | C_DeriveKey: Some(C_DeriveKey), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DeriveKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SeedRandom` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:212:24 [INFO] [stderr] | [INFO] [stderr] 212 | C_SeedRandom: Some(C_SeedRandom), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SeedRandom; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GenerateRandom` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:213:28 [INFO] [stderr] | [INFO] [stderr] 213 | C_GenerateRandom: Some(C_GenerateRandom), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GenerateRandom; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetFunctionStatus` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:214:31 [INFO] [stderr] | [INFO] [stderr] 214 | C_GetFunctionStatus: Some(C_GetFunctionStatus), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetFunctionStatus; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CancelFunction` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:215:28 [INFO] [stderr] | [INFO] [stderr] 215 | C_CancelFunction: Some(C_CancelFunction), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CancelFunction; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_WaitForSlotEvent` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:216:30 [INFO] [stderr] | [INFO] [stderr] 216 | C_WaitForSlotEvent: Some(C_WaitForSlotEvent), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_WaitForSlotEvent; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 236 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Checking tracing-opentelemetry v0.24.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.1 [INFO] [stderr] Checking sqlx-postgres v0.8.1 [INFO] [stderr] Checking sqlx-mysql v0.8.1 [INFO] [stderr] Migrating crate/kmip/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cosmian_pkcs11_module` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crate/pkcs11/module/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: expected identifier, found keyword `unsafe` [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | / cryptoki_fn!( [INFO] [stderr] 220 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stderr] 221 | | if !pInitArgs.is_null() { [INFO] [stderr] 222 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stderr] ... | [INFO] [stderr] 231 | | } [INFO] [stderr] 232 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | / cryptoki_fn!( [INFO] [stderr] 235 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stderr] 236 | | initialized!(); [INFO] [stderr] 237 | | if !pReserved.is_null() { [INFO] [stderr] ... | [INFO] [stderr] 242 | | } [INFO] [stderr] 243 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 245 | / cryptoki_fn!( [INFO] [stderr] 246 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stderr] 247 | | initialized!(); [INFO] [stderr] 248 | | not_null!(pInfo); [INFO] [stderr] ... | [INFO] [stderr] 265 | | } [INFO] [stderr] 266 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 268 | / cryptoki_fn!( [INFO] [stderr] 269 | | unsafe fn C_GetSlotList( [INFO] [stderr] 270 | | _tokenPresent: CK_BBOOL, [INFO] [stderr] 271 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stderr] ... | [INFO] [stderr] 285 | | } [INFO] [stderr] 286 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 288 | / cryptoki_fn!( [INFO] [stderr] 289 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stderr] 290 | | initialized!(); [INFO] [stderr] 291 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 309 | | } [INFO] [stderr] 310 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 312 | / cryptoki_fn!( [INFO] [stderr] 313 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stderr] 314 | | initialized!(); [INFO] [stderr] 315 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 345 | | } [INFO] [stderr] 346 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 348 | / cryptoki_fn!( [INFO] [stderr] 349 | | unsafe fn C_GetMechanismList( [INFO] [stderr] 350 | | slotID: CK_SLOT_ID, [INFO] [stderr] 351 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 369 | | } [INFO] [stderr] 370 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 372 | / cryptoki_fn!( [INFO] [stderr] 373 | | unsafe fn C_GetMechanismInfo( [INFO] [stderr] 374 | | slotID: CK_SLOT_ID, [INFO] [stderr] 375 | | mechType: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 390 | | } [INFO] [stderr] 391 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 393 | / cryptoki_fn!( [INFO] [stderr] 394 | | fn C_InitToken( [INFO] [stderr] 395 | | slotID: CK_SLOT_ID, [INFO] [stderr] 396 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 403 | | } [INFO] [stderr] 404 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 406 | / cryptoki_fn!( [INFO] [stderr] 407 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stderr] 408 | | initialized!(); [INFO] [stderr] 409 | | valid_session!(hSession); [INFO] [stderr] 410 | | Err(MError::TokenWriteProtected) [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 414 | / cryptoki_fn!( [INFO] [stderr] 415 | | fn C_SetPIN( [INFO] [stderr] 416 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 417 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 428 | / cryptoki_fn!( [INFO] [stderr] 429 | | unsafe fn C_OpenSession( [INFO] [stderr] 430 | | slotID: CK_SLOT_ID, [INFO] [stderr] 431 | | flags: CK_FLAGS, [INFO] [stderr] ... | [INFO] [stderr] 444 | | } [INFO] [stderr] 445 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 447 | / cryptoki_fn!( [INFO] [stderr] 448 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 449 | | initialized!(); [INFO] [stderr] 450 | | if sessions::close(hSession) { [INFO] [stderr] ... | [INFO] [stderr] 454 | | } [INFO] [stderr] 455 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 457 | / cryptoki_fn!( [INFO] [stderr] 458 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stderr] 459 | | initialized!(); [INFO] [stderr] 460 | | valid_slot!(slotID); [INFO] [stderr] ... | [INFO] [stderr] 463 | | } [INFO] [stderr] 464 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 466 | / cryptoki_fn!( [INFO] [stderr] 467 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stderr] 468 | | initialized!(); [INFO] [stderr] 469 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 485 | | } [INFO] [stderr] 486 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 488 | / cryptoki_fn_not_supported!( [INFO] [stderr] 489 | | C_GetOperationState, [INFO] [stderr] 490 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 491 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] 492 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stderr] 493 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 495 | / cryptoki_fn_not_supported!( [INFO] [stderr] 496 | | C_SetOperationState, [INFO] [stderr] 497 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 498 | | pOperationState: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 501 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stderr] 502 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 504 | / cryptoki_fn!( [INFO] [stderr] 505 | | fn C_Login( [INFO] [stderr] 506 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 507 | | _userType: CK_USER_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 514 | | } [INFO] [stderr] 515 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 517 | / cryptoki_fn!( [INFO] [stderr] 518 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 519 | | initialized!(); [INFO] [stderr] 520 | | valid_session!(hSession); [INFO] [stderr] 521 | | Ok(()) [INFO] [stderr] 522 | | } [INFO] [stderr] 523 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 525 | / cryptoki_fn_not_supported!( [INFO] [stderr] 526 | | C_CreateObject, [INFO] [stderr] 527 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 528 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 529 | | ulCount: CK_ULONG, [INFO] [stderr] 530 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 531 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 533 | / cryptoki_fn_not_supported!( [INFO] [stderr] 534 | | C_CopyObject, [INFO] [stderr] 535 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 536 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 539 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 540 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 542 | / cryptoki_fn_not_supported!( [INFO] [stderr] 543 | | C_DestroyObject, [INFO] [stderr] 544 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 545 | | hObject: CK_OBJECT_HANDLE [INFO] [stderr] 546 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 548 | / cryptoki_fn_not_supported!( [INFO] [stderr] 549 | | C_GetObjectSize, [INFO] [stderr] 550 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 551 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 552 | | pulSize: CK_ULONG_PTR [INFO] [stderr] 553 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 555 | / cryptoki_fn!( [INFO] [stderr] 556 | | unsafe fn C_GetAttributeValue( [INFO] [stderr] 557 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 558 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] ... | [INFO] [stderr] 618 | | } [INFO] [stderr] 619 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 621 | / cryptoki_fn_not_supported!( [INFO] [stderr] 622 | | C_SetAttributeValue, [INFO] [stderr] 623 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 624 | | hObject: CK_OBJECT_HANDLE, [INFO] [stderr] 625 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] 626 | | ulCount: CK_ULONG [INFO] [stderr] 627 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 629 | / cryptoki_fn!( [INFO] [stderr] 630 | | unsafe fn C_FindObjectsInit( [INFO] [stderr] 631 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 632 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 647 | | } [INFO] [stderr] 648 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 650 | / cryptoki_fn!( [INFO] [stderr] 651 | | unsafe fn C_FindObjects( [INFO] [stderr] 652 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 653 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 686 | | } [INFO] [stderr] 687 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 689 | / cryptoki_fn!( [INFO] [stderr] 690 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 691 | | initialized!(); [INFO] [stderr] 692 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 707 | | } [INFO] [stderr] 708 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 710 | / cryptoki_fn_not_supported!( [INFO] [stderr] 711 | | C_EncryptInit, [INFO] [stderr] 712 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 713 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 714 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 715 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 717 | / cryptoki_fn_not_supported!( [INFO] [stderr] 718 | | C_Encrypt, [INFO] [stderr] 719 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 720 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 723 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stderr] 724 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 726 | / cryptoki_fn_not_supported!( [INFO] [stderr] 727 | | C_EncryptUpdate, [INFO] [stderr] 728 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 729 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 732 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 733 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 735 | / cryptoki_fn_not_supported!( [INFO] [stderr] 736 | | C_EncryptFinal, [INFO] [stderr] 737 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 738 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] 739 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 740 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 742 | / cryptoki_fn!( [INFO] [stderr] 743 | | unsafe fn C_DecryptInit( [INFO] [stderr] 744 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 745 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 779 | | } [INFO] [stderr] 780 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 782 | / cryptoki_fn!( [INFO] [stderr] 783 | | unsafe fn C_Decrypt( [INFO] [stderr] 784 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 785 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 814 | | } [INFO] [stderr] 815 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 817 | / cryptoki_fn!( [INFO] [stderr] 818 | | unsafe fn C_DecryptUpdate( [INFO] [stderr] 819 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 820 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 834 | | } [INFO] [stderr] 835 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 837 | / cryptoki_fn!( [INFO] [stderr] 838 | | unsafe fn C_DecryptFinal( [INFO] [stderr] 839 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 840 | | pLastPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 848 | | } [INFO] [stderr] 849 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 851 | / cryptoki_fn_not_supported!( [INFO] [stderr] 852 | | C_DigestInit, [INFO] [stderr] 853 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 854 | | pMechanism: CK_MECHANISM_PTR [INFO] [stderr] 855 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 857 | / cryptoki_fn_not_supported!( [INFO] [stderr] 858 | | C_Digest, [INFO] [stderr] 859 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 860 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 863 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 864 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 866 | / cryptoki_fn_not_supported!( [INFO] [stderr] 867 | | C_DigestUpdate, [INFO] [stderr] 868 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 869 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 870 | | ulPartLen: CK_ULONG [INFO] [stderr] 871 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 873 | / cryptoki_fn_not_supported!( [INFO] [stderr] 874 | | C_DigestKey, [INFO] [stderr] 875 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 876 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 877 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 879 | / cryptoki_fn_not_supported!( [INFO] [stderr] 880 | | C_DigestFinal, [INFO] [stderr] 881 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 882 | | pDigest: CK_BYTE_PTR, [INFO] [stderr] 883 | | pulDigestLen: CK_ULONG_PTR [INFO] [stderr] 884 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 886 | / cryptoki_fn!( [INFO] [stderr] 887 | | unsafe fn C_SignInit( [INFO] [stderr] 888 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 889 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 912 | | } [INFO] [stderr] 913 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 915 | / cryptoki_fn!( [INFO] [stderr] 916 | | unsafe fn C_Sign( [INFO] [stderr] 917 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 918 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 932 | | } [INFO] [stderr] 933 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 935 | / cryptoki_fn!( [INFO] [stderr] 936 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stderr] 937 | | initialized!(); [INFO] [stderr] 938 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 951 | | } [INFO] [stderr] 952 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 954 | / cryptoki_fn!( [INFO] [stderr] 955 | | unsafe fn C_SignFinal( [INFO] [stderr] 956 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 957 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 968 | | } [INFO] [stderr] 969 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 971 | / cryptoki_fn_not_supported!( [INFO] [stderr] 972 | | C_SignRecoverInit, [INFO] [stderr] 973 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 974 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 975 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 976 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 978 | / cryptoki_fn_not_supported!( [INFO] [stderr] 979 | | C_SignRecover, [INFO] [stderr] 980 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 981 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 984 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stderr] 985 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 987 | / cryptoki_fn_not_supported!( [INFO] [stderr] 988 | | C_VerifyInit, [INFO] [stderr] 989 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 990 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 991 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 992 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 994 | / cryptoki_fn_not_supported!( [INFO] [stderr] 995 | | C_Verify, [INFO] [stderr] 996 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 997 | | pData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1000 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 1001 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1003 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1004 | | C_VerifyUpdate, [INFO] [stderr] 1005 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1006 | | pPart: CK_BYTE_PTR, [INFO] [stderr] 1007 | | ulPartLen: CK_ULONG [INFO] [stderr] 1008 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1010 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1011 | | C_VerifyFinal, [INFO] [stderr] 1012 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1013 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] 1014 | | ulSignatureLen: CK_ULONG [INFO] [stderr] 1015 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1017 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1018 | | C_VerifyRecoverInit, [INFO] [stderr] 1019 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1020 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] 1021 | | hKey: CK_OBJECT_HANDLE [INFO] [stderr] 1022 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1024 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1025 | | C_VerifyRecover, [INFO] [stderr] 1026 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1027 | | pSignature: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1030 | | pulDataLen: CK_ULONG_PTR [INFO] [stderr] 1031 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1033 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1034 | | C_DigestEncryptUpdate, [INFO] [stderr] 1035 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1036 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1039 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 1040 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1042 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1043 | | C_DecryptDigestUpdate, [INFO] [stderr] 1044 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1045 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1048 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 1049 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1051 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1052 | | C_SignEncryptUpdate, [INFO] [stderr] 1053 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1054 | | pPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1057 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stderr] 1058 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1060 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1061 | | C_DecryptVerifyUpdate, [INFO] [stderr] 1062 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1063 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1066 | | pulPartLen: CK_ULONG_PTR [INFO] [stderr] 1067 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1069 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1070 | | C_GenerateKey, [INFO] [stderr] 1071 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1072 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1075 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1076 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1078 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1079 | | C_GenerateKeyPair, [INFO] [stderr] 1080 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1081 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1087 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1088 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1090 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1091 | | C_WrapKey, [INFO] [stderr] 1092 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1093 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1097 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stderr] 1098 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1100 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1101 | | C_UnwrapKey, [INFO] [stderr] 1102 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1103 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1109 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1110 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1112 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1113 | | C_DeriveKey, [INFO] [stderr] 1114 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1115 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1119 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stderr] 1120 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1122 | / cryptoki_fn!( [INFO] [stderr] 1123 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stderr] 1124 | | initialized!(); [INFO] [stderr] 1125 | | valid_session!(hSession); [INFO] [stderr] ... | [INFO] [stderr] 1128 | | } [INFO] [stderr] 1129 | | ); [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] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stderr] | [INFO] [stderr] 99 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1131 | / cryptoki_fn!( [INFO] [stderr] 1132 | | unsafe fn C_GenerateRandom( [INFO] [stderr] 1133 | | hSession: CK_SESSION_HANDLE, [INFO] [stderr] 1134 | | pRandomData: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 1147 | | } [INFO] [stderr] 1148 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1150 | / cryptoki_fn!( [INFO] [stderr] 1151 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1152 | | initialized!(); [INFO] [stderr] 1153 | | valid_session!(hSession); [INFO] [stderr] 1154 | | Err(MError::FunctionNotParallel) [INFO] [stderr] 1155 | | } [INFO] [stderr] 1156 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1158 | / cryptoki_fn!( [INFO] [stderr] 1159 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stderr] 1160 | | initialized!(); [INFO] [stderr] 1161 | | valid_session!(hSession); [INFO] [stderr] 1162 | | Err(MError::FunctionNotParallel) [INFO] [stderr] 1163 | | } [INFO] [stderr] 1164 | | ); [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] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[unsafe(no_mangle)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1166 | / cryptoki_fn_not_supported!( [INFO] [stderr] 1167 | | C_WaitForSlotEvent, [INFO] [stderr] 1168 | | flags: CK_FLAGS, [INFO] [stderr] 1169 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stderr] 1170 | | pReserved: CK_VOID_PTR [INFO] [stderr] 1171 | | ); [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[E0425]: cannot find value `C_Initialize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:149:24 [INFO] [stderr] | [INFO] [stderr] 149 | C_Initialize: Some(C_Initialize), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Initialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Finalize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:150:22 [INFO] [stderr] | [INFO] [stderr] 150 | C_Finalize: Some(C_Finalize), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Finalize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | C_GetInfo: Some(C_GetInfo), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetSlotList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:153:25 [INFO] [stderr] | [INFO] [stderr] 153 | C_GetSlotList: Some(C_GetSlotList), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetSlotList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetSlotInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:154:25 [INFO] [stderr] | [INFO] [stderr] 154 | C_GetSlotInfo: Some(C_GetSlotInfo), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetSlotInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetTokenInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:155:26 [INFO] [stderr] | [INFO] [stderr] 155 | C_GetTokenInfo: Some(C_GetTokenInfo), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetTokenInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetMechanismList` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:156:30 [INFO] [stderr] | [INFO] [stderr] 156 | C_GetMechanismList: Some(C_GetMechanismList), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetMechanismList; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetMechanismInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:157:30 [INFO] [stderr] | [INFO] [stderr] 157 | C_GetMechanismInfo: Some(C_GetMechanismInfo), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetMechanismInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_InitToken` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:158:23 [INFO] [stderr] | [INFO] [stderr] 158 | C_InitToken: Some(C_InitToken), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_InitToken; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_InitPIN` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:159:21 [INFO] [stderr] | [INFO] [stderr] 159 | C_InitPIN: Some(C_InitPIN), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_InitPIN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SetPIN` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:160:20 [INFO] [stderr] | [INFO] [stderr] 160 | C_SetPIN: Some(C_SetPIN), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SetPIN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_OpenSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:161:25 [INFO] [stderr] | [INFO] [stderr] 161 | C_OpenSession: Some(C_OpenSession), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_OpenSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CloseSession` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:162:26 [INFO] [stderr] | [INFO] [stderr] 162 | C_CloseSession: Some(C_CloseSession), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CloseSession; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CloseAllSessions` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:163:30 [INFO] [stderr] | [INFO] [stderr] 163 | C_CloseAllSessions: Some(C_CloseAllSessions), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CloseAllSessions; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetSessionInfo` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:164:28 [INFO] [stderr] | [INFO] [stderr] 164 | C_GetSessionInfo: Some(C_GetSessionInfo), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetSessionInfo; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetOperationState` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | C_GetOperationState: Some(C_GetOperationState), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetOperationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SetOperationState` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:166:31 [INFO] [stderr] | [INFO] [stderr] 166 | C_SetOperationState: Some(C_SetOperationState), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SetOperationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Login` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:167:19 [INFO] [stderr] | [INFO] [stderr] 167 | C_Login: Some(C_Login), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Login; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Logout` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:168:20 [INFO] [stderr] | [INFO] [stderr] 168 | C_Logout: Some(C_Logout), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Logout; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CreateObject` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:169:26 [INFO] [stderr] | [INFO] [stderr] 169 | C_CreateObject: Some(C_CreateObject), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CreateObject; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_CopyObject` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:170:24 [INFO] [stderr] | [INFO] [stderr] 170 | C_CopyObject: Some(C_CopyObject), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_CopyObject; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DestroyObject` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | C_DestroyObject: Some(C_DestroyObject), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DestroyObject; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetObjectSize` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:172:27 [INFO] [stderr] | [INFO] [stderr] 172 | C_GetObjectSize: Some(C_GetObjectSize), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetObjectSize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetAttributeValue` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:173:31 [INFO] [stderr] | [INFO] [stderr] 173 | C_GetAttributeValue: Some(C_GetAttributeValue), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetAttributeValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SetAttributeValue` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:174:31 [INFO] [stderr] | [INFO] [stderr] 174 | C_SetAttributeValue: Some(C_SetAttributeValue), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SetAttributeValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_FindObjectsInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:175:29 [INFO] [stderr] | [INFO] [stderr] 175 | C_FindObjectsInit: Some(C_FindObjectsInit), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_FindObjectsInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_FindObjects` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:176:25 [INFO] [stderr] | [INFO] [stderr] 176 | C_FindObjects: Some(C_FindObjects), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_FindObjects; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_FindObjectsFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:177:30 [INFO] [stderr] | [INFO] [stderr] 177 | C_FindObjectsFinal: Some(C_FindObjectsFinal), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_FindObjectsFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_EncryptInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | C_EncryptInit: Some(C_EncryptInit), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_EncryptInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Encrypt` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | C_Encrypt: Some(C_Encrypt), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Encrypt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_EncryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:180:27 [INFO] [stderr] | [INFO] [stderr] 180 | C_EncryptUpdate: Some(C_EncryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_EncryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_EncryptFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:181:26 [INFO] [stderr] | [INFO] [stderr] 181 | C_EncryptFinal: Some(C_EncryptFinal), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_EncryptFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:182:25 [INFO] [stderr] | [INFO] [stderr] 182 | C_DecryptInit: Some(C_DecryptInit), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Decrypt` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | C_Decrypt: Some(C_Decrypt), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Decrypt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:184:27 [INFO] [stderr] | [INFO] [stderr] 184 | C_DecryptUpdate: Some(C_DecryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:185:26 [INFO] [stderr] | [INFO] [stderr] 185 | C_DecryptFinal: Some(C_DecryptFinal), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:186:24 [INFO] [stderr] | [INFO] [stderr] 186 | C_DigestInit: Some(C_DigestInit), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Digest` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:187:20 [INFO] [stderr] | [INFO] [stderr] 187 | C_Digest: Some(C_Digest), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Digest; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 188 | C_DigestUpdate: Some(C_DigestUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:189:23 [INFO] [stderr] | [INFO] [stderr] 189 | C_DigestKey: Some(C_DigestKey), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:190:25 [INFO] [stderr] | [INFO] [stderr] 190 | C_DigestFinal: Some(C_DigestFinal), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:191:22 [INFO] [stderr] | [INFO] [stderr] 191 | C_SignInit: Some(C_SignInit), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Sign` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:192:18 [INFO] [stderr] | [INFO] [stderr] 192 | C_Sign: Some(C_Sign), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Sign; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:193:24 [INFO] [stderr] | [INFO] [stderr] 193 | C_SignUpdate: Some(C_SignUpdate), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:194:23 [INFO] [stderr] | [INFO] [stderr] 194 | C_SignFinal: Some(C_SignFinal), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignRecoverInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:195:29 [INFO] [stderr] | [INFO] [stderr] 195 | C_SignRecoverInit: Some(C_SignRecoverInit), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignRecoverInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignRecover` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | C_SignRecover: Some(C_SignRecover), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignRecover; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:197:24 [INFO] [stderr] | [INFO] [stderr] 197 | C_VerifyInit: Some(C_VerifyInit), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_Verify` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:198:20 [INFO] [stderr] | [INFO] [stderr] 198 | C_Verify: Some(C_Verify), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_Verify; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:199:26 [INFO] [stderr] | [INFO] [stderr] 199 | C_VerifyUpdate: Some(C_VerifyUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyFinal` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:200:25 [INFO] [stderr] | [INFO] [stderr] 200 | C_VerifyFinal: Some(C_VerifyFinal), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyFinal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyRecoverInit` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | C_VerifyRecoverInit: Some(C_VerifyRecoverInit), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyRecoverInit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_VerifyRecover` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:202:27 [INFO] [stderr] | [INFO] [stderr] 202 | C_VerifyRecover: Some(C_VerifyRecover), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_VerifyRecover; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DigestEncryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:203:33 [INFO] [stderr] | [INFO] [stderr] 203 | C_DigestEncryptUpdate: Some(C_DigestEncryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DigestEncryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptDigestUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:204:33 [INFO] [stderr] | [INFO] [stderr] 204 | C_DecryptDigestUpdate: Some(C_DecryptDigestUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptDigestUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SignEncryptUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:205:31 [INFO] [stderr] | [INFO] [stderr] 205 | C_SignEncryptUpdate: Some(C_SignEncryptUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SignEncryptUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DecryptVerifyUpdate` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:206:33 [INFO] [stderr] | [INFO] [stderr] 206 | C_DecryptVerifyUpdate: Some(C_DecryptVerifyUpdate), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DecryptVerifyUpdate; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GenerateKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:207:25 [INFO] [stderr] | [INFO] [stderr] 207 | C_GenerateKey: Some(C_GenerateKey), [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GenerateKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GenerateKeyPair` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:208:29 [INFO] [stderr] | [INFO] [stderr] 208 | C_GenerateKeyPair: Some(C_GenerateKeyPair), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GenerateKeyPair; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_WrapKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | C_WrapKey: Some(C_WrapKey), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_WrapKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_UnwrapKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | C_UnwrapKey: Some(C_UnwrapKey), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_UnwrapKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_DeriveKey` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | C_DeriveKey: Some(C_DeriveKey), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_DeriveKey; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_SeedRandom` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:212:24 [INFO] [stderr] | [INFO] [stderr] 212 | C_SeedRandom: Some(C_SeedRandom), [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_SeedRandom; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GenerateRandom` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:213:28 [INFO] [stderr] | [INFO] [stderr] 213 | C_GenerateRandom: Some(C_GenerateRandom), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GenerateRandom; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `C_GetFunctionStatus` in this scope [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:214:31 [INFO] [stderr] | [INFO] [stderr] 214 | C_GetFunctionStatus: Some(C_GetFunctionStatus), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 26 + use pkcs11_sys::C_GetFunctionStatus; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 219 | / cryptoki_fn!( [INFO] [stdout] 220 | | fn C_Initialize(pInitArgs: CK_VOID_PTR) { [INFO] [stdout] 221 | | if !pInitArgs.is_null() { [INFO] [stdout] 222 | | let args = unsafe { *(pInitArgs as CK_C_INITIALIZE_ARGS_PTR) }; [INFO] [stdout] ... | [INFO] [stdout] 231 | | } [INFO] [stdout] 232 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 234 | / cryptoki_fn!( [INFO] [stdout] 235 | | fn C_Finalize(pReserved: CK_VOID_PTR) { [INFO] [stdout] 236 | | initialized!(); [INFO] [stdout] 237 | | if !pReserved.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 245 | / cryptoki_fn!( [INFO] [stdout] 246 | | unsafe fn C_GetInfo(pInfo: CK_INFO_PTR) { [INFO] [stdout] 247 | | initialized!(); [INFO] [stdout] 248 | | not_null!(pInfo); [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_CancelFunction` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 268 | / cryptoki_fn!( [INFO] [stdout] 269 | | unsafe fn C_GetSlotList( [INFO] [stdout] 270 | | _tokenPresent: CK_BBOOL, [INFO] [stdout] 271 | | pSlotList: CK_SLOT_ID_PTR, [INFO] [stdout] ... | [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:215:28 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 288 | / cryptoki_fn!( [INFO] [stdout] 289 | | unsafe fn C_GetSlotInfo(slotID: CK_SLOT_ID, pInfo: CK_SLOT_INFO_PTR) { [INFO] [stdout] 290 | | initialized!(); [INFO] [stdout] 291 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 309 | | } [INFO] [stdout] 310 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 312 | / cryptoki_fn!( [INFO] [stdout] 313 | | unsafe fn C_GetTokenInfo(slotID: CK_SLOT_ID, pInfo: CK_TOKEN_INFO_PTR) { [INFO] [stdout] 314 | | initialized!(); [INFO] [stdout] 315 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 215 | C_CancelFunction: Some(C_CancelFunction), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 348 | / cryptoki_fn!( [INFO] [stdout] 349 | | unsafe fn C_GetMechanismList( [INFO] [stdout] 350 | | slotID: CK_SLOT_ID, [INFO] [stdout] 351 | | pMechanismList: CK_MECHANISM_TYPE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 369 | | } [INFO] [stdout] 370 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 372 | / cryptoki_fn!( [INFO] [stdout] 373 | | unsafe fn C_GetMechanismInfo( [INFO] [stdout] 374 | | slotID: CK_SLOT_ID, [INFO] [stdout] 375 | | mechType: CK_MECHANISM_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 390 | | } [INFO] [stdout] 391 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 393 | / cryptoki_fn!( [INFO] [stdout] 394 | | fn C_InitToken( [INFO] [stdout] 395 | | slotID: CK_SLOT_ID, [INFO] [stdout] 396 | | _pPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 403 | | } [INFO] [stdout] 404 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 406 | / cryptoki_fn!( [INFO] [stdout] 407 | | fn C_InitPIN(hSession: CK_SESSION_HANDLE, _pPin: CK_UTF8CHAR_PTR, _ulPinLen: CK_ULONG) { [INFO] [stdout] 408 | | initialized!(); [INFO] [stdout] 409 | | valid_session!(hSession); [INFO] [stdout] 410 | | Err(MError::TokenWriteProtected) [INFO] [stdout] 411 | | } [INFO] [stdout] 412 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 414 | / cryptoki_fn!( [INFO] [stdout] 415 | | fn C_SetPIN( [INFO] [stdout] 416 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 417 | | _pOldPin: CK_UTF8CHAR_PTR, [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_CancelFunction; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 428 | / cryptoki_fn!( [INFO] [stdout] 429 | | unsafe fn C_OpenSession( [INFO] [stdout] 430 | | slotID: CK_SLOT_ID, [INFO] [stdout] 431 | | flags: CK_FLAGS, [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 447 | / cryptoki_fn!( [INFO] [stdout] 448 | | fn C_CloseSession(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 449 | | initialized!(); [INFO] [stdout] 450 | | if sessions::close(hSession) { [INFO] [stdout] ... | [INFO] [stdout] 454 | | } [INFO] [stdout] 455 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 457 | / cryptoki_fn!( [INFO] [stdout] 458 | | fn C_CloseAllSessions(slotID: CK_SLOT_ID) { [INFO] [stdout] 459 | | initialized!(); [INFO] [stdout] 460 | | valid_slot!(slotID); [INFO] [stdout] ... | [INFO] [stdout] 463 | | } [INFO] [stdout] 464 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find value `C_WaitForSlotEvent` in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 466 | / cryptoki_fn!( [INFO] [stdout] 467 | | unsafe fn C_GetSessionInfo(hSession: CK_SESSION_HANDLE, pInfo: CK_SESSION_INFO_PTR) { [INFO] [stdout] 468 | | initialized!(); [INFO] [stdout] 469 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 485 | | } [INFO] [stdout] 486 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crate/pkcs11/module/src/lib.rs:216:30 [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 488 | / cryptoki_fn_not_supported!( [INFO] [stdout] 489 | | C_GetOperationState, [INFO] [stdout] 490 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 491 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] 492 | | pulOperationStateLen: CK_ULONG_PTR [INFO] [stdout] 493 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 495 | / cryptoki_fn_not_supported!( [INFO] [stdout] 496 | | C_SetOperationState, [INFO] [stdout] 497 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 498 | | pOperationState: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 501 | | hAuthenticationKey: CK_OBJECT_HANDLE [INFO] [stdout] 502 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 216 | C_WaitForSlotEvent: Some(C_WaitForSlotEvent), [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 504 | / cryptoki_fn!( [INFO] [stdout] 505 | | fn C_Login( [INFO] [stdout] 506 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 507 | | _userType: CK_USER_TYPE, [INFO] [stdout] ... | [INFO] [stdout] 514 | | } [INFO] [stdout] 515 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 517 | / cryptoki_fn!( [INFO] [stdout] 518 | | fn C_Logout(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 519 | | initialized!(); [INFO] [stdout] 520 | | valid_session!(hSession); [INFO] [stdout] 521 | | Ok(()) [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 525 | / cryptoki_fn_not_supported!( [INFO] [stdout] 526 | | C_CreateObject, [INFO] [stdout] 527 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 528 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 529 | | ulCount: CK_ULONG, [INFO] [stdout] 530 | | phObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 531 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider importing this function [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 533 | / cryptoki_fn_not_supported!( [INFO] [stdout] 534 | | C_CopyObject, [INFO] [stdout] 535 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 536 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 539 | | phNewObject: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 540 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 542 | / cryptoki_fn_not_supported!( [INFO] [stdout] 543 | | C_DestroyObject, [INFO] [stdout] 544 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 545 | | hObject: CK_OBJECT_HANDLE [INFO] [stdout] 546 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 + use pkcs11_sys::C_WaitForSlotEvent; [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 548 | / cryptoki_fn_not_supported!( [INFO] [stdout] 549 | | C_GetObjectSize, [INFO] [stdout] 550 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 551 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 552 | | pulSize: CK_ULONG_PTR [INFO] [stdout] 553 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 555 | / cryptoki_fn!( [INFO] [stdout] 556 | | unsafe fn C_GetAttributeValue( [INFO] [stdout] 557 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 558 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] ... | [INFO] [stdout] 618 | | } [INFO] [stdout] 619 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 621 | / cryptoki_fn_not_supported!( [INFO] [stdout] 622 | | C_SetAttributeValue, [INFO] [stdout] 623 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 624 | | hObject: CK_OBJECT_HANDLE, [INFO] [stdout] 625 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] 626 | | ulCount: CK_ULONG [INFO] [stdout] 627 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 134 previous errors [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 629 | / cryptoki_fn!( [INFO] [stdout] 630 | | unsafe fn C_FindObjectsInit( [INFO] [stdout] 631 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 632 | | pTemplate: CK_ATTRIBUTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 647 | | } [INFO] [stdout] 648 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 650 | / cryptoki_fn!( [INFO] [stdout] 651 | | unsafe fn C_FindObjects( [INFO] [stdout] 652 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 653 | | phObject: CK_OBJECT_HANDLE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 686 | | } [INFO] [stdout] 687 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 689 | / cryptoki_fn!( [INFO] [stdout] 690 | | fn C_FindObjectsFinal(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 691 | | initialized!(); [INFO] [stdout] 692 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 707 | | } [INFO] [stdout] 708 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 710 | / cryptoki_fn_not_supported!( [INFO] [stdout] 711 | | C_EncryptInit, [INFO] [stdout] 712 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 713 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 714 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 715 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 717 | / cryptoki_fn_not_supported!( [INFO] [stdout] 718 | | C_Encrypt, [INFO] [stdout] 719 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 720 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 723 | | pulEncryptedDataLen: CK_ULONG_PTR [INFO] [stdout] 724 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 726 | / cryptoki_fn_not_supported!( [INFO] [stdout] 727 | | C_EncryptUpdate, [INFO] [stdout] 728 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 729 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 732 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 733 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 735 | / cryptoki_fn_not_supported!( [INFO] [stdout] 736 | | C_EncryptFinal, [INFO] [stdout] 737 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 738 | | pLastEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] 739 | | pulLastEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 740 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 742 | / cryptoki_fn!( [INFO] [stdout] 743 | | unsafe fn C_DecryptInit( [INFO] [stdout] 744 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 745 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 779 | | } [INFO] [stdout] 780 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 782 | / cryptoki_fn!( [INFO] [stdout] 783 | | unsafe fn C_Decrypt( [INFO] [stdout] 784 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 785 | | pEncryptedData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 814 | | } [INFO] [stdout] 815 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 817 | / cryptoki_fn!( [INFO] [stdout] 818 | | unsafe fn C_DecryptUpdate( [INFO] [stdout] 819 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 820 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 834 | | } [INFO] [stdout] 835 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 837 | / cryptoki_fn!( [INFO] [stdout] 838 | | unsafe fn C_DecryptFinal( [INFO] [stdout] 839 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 840 | | pLastPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 848 | | } [INFO] [stdout] 849 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 851 | / cryptoki_fn_not_supported!( [INFO] [stdout] 852 | | C_DigestInit, [INFO] [stdout] 853 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 854 | | pMechanism: CK_MECHANISM_PTR [INFO] [stdout] 855 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 857 | / cryptoki_fn_not_supported!( [INFO] [stdout] 858 | | C_Digest, [INFO] [stdout] 859 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 860 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 863 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 864 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 866 | / cryptoki_fn_not_supported!( [INFO] [stdout] 867 | | C_DigestUpdate, [INFO] [stdout] 868 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 869 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 870 | | ulPartLen: CK_ULONG [INFO] [stdout] 871 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 873 | / cryptoki_fn_not_supported!( [INFO] [stdout] 874 | | C_DigestKey, [INFO] [stdout] 875 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 876 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 877 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 879 | / cryptoki_fn_not_supported!( [INFO] [stdout] 880 | | C_DigestFinal, [INFO] [stdout] 881 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 882 | | pDigest: CK_BYTE_PTR, [INFO] [stdout] 883 | | pulDigestLen: CK_ULONG_PTR [INFO] [stdout] 884 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 886 | / cryptoki_fn!( [INFO] [stdout] 887 | | unsafe fn C_SignInit( [INFO] [stdout] 888 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 889 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 912 | | } [INFO] [stdout] 913 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 915 | / cryptoki_fn!( [INFO] [stdout] 916 | | unsafe fn C_Sign( [INFO] [stdout] 917 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 918 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 932 | | } [INFO] [stdout] 933 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 935 | / cryptoki_fn!( [INFO] [stdout] 936 | | unsafe fn C_SignUpdate(hSession: CK_SESSION_HANDLE, pPart: CK_BYTE_PTR, ulPartLen: CK_ULONG) { [INFO] [stdout] 937 | | initialized!(); [INFO] [stdout] 938 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 951 | | } [INFO] [stdout] 952 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 954 | / cryptoki_fn!( [INFO] [stdout] 955 | | unsafe fn C_SignFinal( [INFO] [stdout] 956 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 957 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 968 | | } [INFO] [stdout] 969 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 971 | / cryptoki_fn_not_supported!( [INFO] [stdout] 972 | | C_SignRecoverInit, [INFO] [stdout] 973 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 974 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 975 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 976 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 978 | / cryptoki_fn_not_supported!( [INFO] [stdout] 979 | | C_SignRecover, [INFO] [stdout] 980 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 981 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 984 | | pulSignatureLen: CK_ULONG_PTR [INFO] [stdout] 985 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 987 | / cryptoki_fn_not_supported!( [INFO] [stdout] 988 | | C_VerifyInit, [INFO] [stdout] 989 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 990 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 991 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 992 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 994 | / cryptoki_fn_not_supported!( [INFO] [stdout] 995 | | C_Verify, [INFO] [stdout] 996 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 997 | | pData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1000 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 1001 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1003 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1004 | | C_VerifyUpdate, [INFO] [stdout] 1005 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1006 | | pPart: CK_BYTE_PTR, [INFO] [stdout] 1007 | | ulPartLen: CK_ULONG [INFO] [stdout] 1008 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1010 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1011 | | C_VerifyFinal, [INFO] [stdout] 1012 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1013 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] 1014 | | ulSignatureLen: CK_ULONG [INFO] [stdout] 1015 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1017 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1018 | | C_VerifyRecoverInit, [INFO] [stdout] 1019 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1020 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] 1021 | | hKey: CK_OBJECT_HANDLE [INFO] [stdout] 1022 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1024 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1025 | | C_VerifyRecover, [INFO] [stdout] 1026 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1027 | | pSignature: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1030 | | pulDataLen: CK_ULONG_PTR [INFO] [stdout] 1031 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1033 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1034 | | C_DigestEncryptUpdate, [INFO] [stdout] 1035 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1036 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1039 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 1040 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1042 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1043 | | C_DecryptDigestUpdate, [INFO] [stdout] 1044 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1045 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1048 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 1049 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1051 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1052 | | C_SignEncryptUpdate, [INFO] [stdout] 1053 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1054 | | pPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1057 | | pulEncryptedPartLen: CK_ULONG_PTR [INFO] [stdout] 1058 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1060 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1061 | | C_DecryptVerifyUpdate, [INFO] [stdout] 1062 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1063 | | pEncryptedPart: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1066 | | pulPartLen: CK_ULONG_PTR [INFO] [stdout] 1067 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1069 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1070 | | C_GenerateKey, [INFO] [stdout] 1071 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1072 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1075 | | phKey: CK_OBJECT_HANDLE_PTR [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` 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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1078 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1079 | | C_GenerateKeyPair, [INFO] [stdout] 1080 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1081 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1087 | | phPrivateKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1088 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1090 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1091 | | C_WrapKey, [INFO] [stdout] 1092 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1093 | | _pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1097 | | _pulWrappedKeyLen: CK_ULONG_PTR [INFO] [stdout] 1098 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1100 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1101 | | C_UnwrapKey, [INFO] [stdout] 1102 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1103 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1109 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1110 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1112 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1113 | | C_DeriveKey, [INFO] [stdout] 1114 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1115 | | pMechanism: CK_MECHANISM_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1119 | | phKey: CK_OBJECT_HANDLE_PTR [INFO] [stdout] 1120 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1122 | / cryptoki_fn!( [INFO] [stdout] 1123 | | fn C_SeedRandom(hSession: CK_SESSION_HANDLE, pSeed: CK_BYTE_PTR, _ulSeedLen: CK_ULONG) { [INFO] [stdout] 1124 | | initialized!(); [INFO] [stdout] 1125 | | valid_session!(hSession); [INFO] [stdout] ... | [INFO] [stdout] 1128 | | } [INFO] [stdout] 1129 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1131 | / cryptoki_fn!( [INFO] [stdout] 1132 | | unsafe fn C_GenerateRandom( [INFO] [stdout] 1133 | | hSession: CK_SESSION_HANDLE, [INFO] [stdout] 1134 | | pRandomData: CK_BYTE_PTR, [INFO] [stdout] ... | [INFO] [stdout] 1147 | | } [INFO] [stdout] 1148 | | ); [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] 99 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1150 | / cryptoki_fn!( [INFO] [stdout] 1151 | | fn C_GetFunctionStatus(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1152 | | initialized!(); [INFO] [stdout] 1153 | | valid_session!(hSession); [INFO] [stdout] 1154 | | Err(MError::FunctionNotParallel) [INFO] [stdout] 1155 | | } [INFO] [stdout] 1156 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1158 | / cryptoki_fn!( [INFO] [stdout] 1159 | | fn C_CancelFunction(hSession: CK_SESSION_HANDLE) { [INFO] [stdout] 1160 | | initialized!(); [INFO] [stdout] 1161 | | valid_session!(hSession); [INFO] [stdout] 1162 | | Err(MError::FunctionNotParallel) [INFO] [stdout] 1163 | | } [INFO] [stdout] 1164 | | ); [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] 91 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] ... [INFO] [stdout] 1166 | / cryptoki_fn_not_supported!( [INFO] [stdout] 1167 | | C_WaitForSlotEvent, [INFO] [stdout] 1168 | | flags: CK_FLAGS, [INFO] [stdout] 1169 | | pSlot: CK_SLOT_ID_PTR, [INFO] [stdout] 1170 | | pReserved: CK_VOID_PTR [INFO] [stdout] 1171 | | ); [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] 91 | #[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] --> crate/pkcs11/module/src/lib.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | ($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] 114 | ($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] --> crate/pkcs11/module/src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | ($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] 130 | ($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] --> crate/pkcs11/module/src/lib.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | ($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] 138 | ($id:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crate/pkcs11/module/src/lib.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | 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] --> crate/pkcs11/module/src/lib.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | } else { [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] 592 ~ match object.attribute(type_) { Some(value) => { [INFO] [stdout] 593 | let value = value.as_raw_value(); [INFO] [stdout] ... [INFO] [stdout] 604 | .copy_from_slice(&value); [INFO] [stdout] 605 ~ } _ => { [INFO] [stdout] 606 | attribute.ulValueLen = CK_UNAVAILABLE_INFORMATION; [INFO] [stdout] 607 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crate/pkcs11/module/src/core/object.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | if let Some(attr) = self.attribute(other.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] --> crate/pkcs11/module/src/core/object.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } 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] 257 ~ match self.attribute(other.attribute_type()) { Some(attr) => { [INFO] [stdout] 258 | if *other != attr { [INFO] [stdout] 259 | return false; [INFO] [stdout] 260 | } [INFO] [stdout] 261 ~ } _ => { [INFO] [stdout] 262 | return false; [INFO] [stdout] 263 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking sqlx v0.8.1 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cloudproof_findex v5.0.4 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking actix-session v0.8.0 [INFO] [stderr] Checking actix-cors v0.6.5 [INFO] [stderr] Checking actix-identity v0.6.0 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking opentelemetry-proto v0.6.0 [INFO] [stderr] Checking opentelemetry-otlp v0.16.0 [INFO] [stderr] Fixed crate/kmip/src/kmip/kmip_messages.rs (1 fix) [INFO] [stderr] Fixed crate/kmip/src/openssl/certificate.rs (15 fixes) [INFO] [stderr] Fixed crate/kmip/src/error/mod.rs (9 fixes) [INFO] [stderr] Fixed crate/kmip/src/kmip/ttlv/serializer.rs (1 fix) [INFO] [stderr] Fixed crate/kmip/src/kmip/kmip_data_structures.rs (4 fixes) [INFO] [stderr] Checking cosmian_kms_client v4.19.3 (/tmp/fixit/crate/client) [INFO] [stderr] Migrating crate/client/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed crate/client/src/batch_utils.rs (1 fix) [INFO] [stderr] Fixed crate/client/src/error/mod.rs (4 fixes) [INFO] [stderr] Checking cosmian_kms_cli v4.19.3 (/tmp/fixit/crate/cli) [INFO] [stderr] Checking ckms_pkcs11 v4.19.3 (/tmp/fixit/crate/pkcs11/provider) [INFO] [stderr] Migrating crate/server/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed crate/server/src/database/mysql.rs (6 fixes) [INFO] [stderr] Migrating crate/cli/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed crate/server/src/middlewares/ssl_auth.rs (1 fix) [INFO] [stderr] Fixed crate/server/src/database/pgsql.rs (6 fixes) [INFO] [stderr] Fixed crate/server/src/database/cached_sqlite_struct.rs (3 fixes) [INFO] [stderr] Fixed crate/server/src/error.rs (9 fixes) [INFO] [stderr] Fixed crate/server/src/kms_server.rs (1 fix) [INFO] [stderr] Fixed crate/server/src/core/kms.rs (1 fix) [INFO] [stderr] Fixed crate/server/src/database/sqlite.rs (6 fixes) [INFO] [stderr] Fixed crate/server/src/core/operations/validate.rs (2 fixes) [INFO] [stderr] Fixed crate/server/src/config/params/server_params.rs (1 fix) [INFO] [stderr] Fixed crate/server/src/middlewares/api_token_auth.rs (1 fix) [INFO] [stderr] Fixed crate/server/src/core/implementation.rs (1 fix) [INFO] [stderr] Fixed crate/server/src/core/operations/certify/mod.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/core/certificate/find.rs:214:6 [INFO] [stdout] | [INFO] [stdout] 173 | let owm = retrieve_object_for_operation( [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `owm` calls a custom destructor [INFO] [stdout] | `owm` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/core/cover_crypt/create_user_decryption_key.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 67 | let mut owm_s = kmip_server [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `owm_s` calls a custom destructor [INFO] [stdout] | `owm_s` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let owm = owm_s [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `owm` calls a custom destructor [INFO] [stdout] | `owm` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | UserDecryptionKeysHandler::instantiate(cover_crypt, master_private_key)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_cover_crypt-14.0.0/src/core/mod.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Clone, PartialEq, Eq, Hash, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/asymmetric_crypto/curves/curve_25519/ristretto_25519/private_key.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Hash, Clone, Debug, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_cover_crypt-14.0.0/src/core/mod.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Clone, PartialEq, Eq, Hash, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/asymmetric_crypto/curves/curve_25519/ristretto_25519/private_key.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Hash, Clone, Debug, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: `owm_s` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm_s` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm_s` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the derive macro `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/core/operations/encrypt.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 54 | let owm = get_key(kms, &request, user, params).await?; [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `owm` calls a custom destructor [INFO] [stdout] | `owm` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | match BulkData::deserialize(data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `owm` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/core/operations/validate.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 552 | let crl = X509Crl::from_pem(crl_value.as_slice())?; [INFO] [stdout] | --- ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `crl` calls a custom destructor [INFO] [stdout] | `crl` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | match certificate.crl_distribution_points() { Some(crl_dp) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------ [INFO] [stdout] | | | [INFO] [stdout] | | `crl_dp` calls a custom destructor [INFO] [stdout] | | `crl_dp` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 581 | current_crls = get_crl_bytes(uri_list).await?; [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 588 | let crl = X509Crl::from_pem(crl_value.as_slice())?; [INFO] [stdout] | --- ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 592 | let cert_key = certificate.public_key()?; [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | `cert_key` calls a custom destructor [INFO] [stdout] | `cert_key` will be dropped later as of Edition 2024 [INFO] [stdout] 593 | debug!("Get certificate public key OK: {cert_key:?}"); [INFO] [stdout] 594 | if crl.verify(&cert_key)? { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 610 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `crl` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:1776:1 [INFO] [stdout] | [INFO] [stdout] 1776 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 1777 | | type CType = ffi::X509_CRL; [INFO] [stdout] 1778 | | fn drop = ffi::X509_CRL_free; [INFO] [stdout] ... | [INFO] [stdout] 1783 | | pub struct X509CrlRef; [INFO] [stdout] 1784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:1776:1 [INFO] [stdout] | [INFO] [stdout] 1776 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 1777 | | type CType = ffi::X509_CRL; [INFO] [stdout] 1778 | | fn drop = ffi::X509_CRL_free; [INFO] [stdout] ... | [INFO] [stdout] 1783 | | pub struct X509CrlRef; [INFO] [stdout] 1784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `crl_dp` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/ssl/mod.rs:1758:1 [INFO] [stdout] | [INFO] [stdout] 1758 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 1759 | | type CType = ffi::SSL_CTX; [INFO] [stdout] 1760 | | fn drop = ffi::SSL_CTX_free; [INFO] [stdout] ... | [INFO] [stdout] 1771 | | pub struct SslContextRef; [INFO] [stdout] 1772 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/time/entry.rs:652:1 [INFO] [stdout] | [INFO] [stdout] 652 | impl Drop for TimerEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/sync/rwlock/write_guard.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | impl<'a, T: ?Sized> Drop for RwLockWriteGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:1776:1 [INFO] [stdout] | [INFO] [stdout] 1776 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 1777 | | type CType = ffi::X509_CRL; [INFO] [stdout] 1778 | | fn drop = ffi::X509_CRL_free; [INFO] [stdout] ... | [INFO] [stdout] 1783 | | pub struct X509CrlRef; [INFO] [stdout] 1784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:1776:1 [INFO] [stdout] | [INFO] [stdout] 1776 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 1777 | | type CType = ffi::X509_CRL; [INFO] [stdout] 1778 | | fn drop = ffi::X509_CRL_free; [INFO] [stdout] ... | [INFO] [stdout] 1783 | | pub struct X509CrlRef; [INFO] [stdout] 1784 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `cert_key` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the macro `generic_foreign_type_and_impl_send_sync` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/database/mysql.rs:1050:6 [INFO] [stdout] | [INFO] [stdout] 1016 | let mut operations = Vec::with_capacity(rows.len()); [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `operations` calls a custom destructor [INFO] [stdout] | `operations` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1061 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/database/pgsql.rs:1057:6 [INFO] [stdout] | [INFO] [stdout] 1023 | let mut operations = Vec::with_capacity(rows.len()); [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `operations` calls a custom destructor [INFO] [stdout] | `operations` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1057 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1068 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/database/redis/redis_with_findex.rs:682:51 [INFO] [stdout] | [INFO] [stdout] 237 | #[async_trait(?Send)] [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 635 | let mut redis_operations: Vec = Vec::with_capacity(operations.len()); [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | `redis_operations` calls a custom destructor [INFO] [stdout] | `redis_operations` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | self.objects_db.atomic(&redis_operations).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/arc-swap-1.7.1/src/lib.rs:326:1 [INFO] [stdout] | [INFO] [stdout] 326 | impl> Drop for ArcSwapAny { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `redis_operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `redis_operations` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `redis_operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/database/sqlite.rs:1071:6 [INFO] [stdout] | [INFO] [stdout] 1037 | let mut operations = Vec::with_capacity(rows.len()); [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `operations` calls a custom destructor [INFO] [stdout] | `operations` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1071 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1082 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `operations` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zeroize-1.8.1/src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / impl Drop for Zeroizing [INFO] [stdout] 714 | | where [INFO] [stdout] 715 | | Z: Zeroize, [INFO] [stdout] | |_______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/middlewares/jwks.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 82 | let client = reqwest::Client::new(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `client` calls a custom destructor [INFO] [stdout] | `client` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/futures_unordered/mod.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | impl Drop for FuturesUnordered { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/runtime/time/entry.rs:652:1 [INFO] [stdout] | [INFO] [stdout] 652 | impl Drop for TimerEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `client` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `client` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `client` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `client` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `client` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `client` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/ssl/mod.rs:1758:1 [INFO] [stdout] | [INFO] [stdout] 1758 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 1759 | | type CType = ffi::SSL_CTX; [INFO] [stdout] 1760 | | fn drop = ffi::SSL_CTX_free; [INFO] [stdout] ... | [INFO] [stdout] 1771 | | pub struct SslContextRef; [INFO] [stdout] 1772 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the macro `foreign_type_and_impl_send_sync` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/routes/google_cse/mod.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 106 | let kms = kms.into_inner(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `kms` calls a custom destructor [INFO] [stdout] | `kms` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `kms` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 377 | | type CType = ffi::X509; [INFO] [stdout] 378 | | fn drop = ffi::X509_free; [INFO] [stdout] ... | [INFO] [stdout] 383 | | pub struct X509Ref; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the derive macro `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/routes/google_cse/mod.rs:215:56 [INFO] [stdout] | [INFO] [stdout] 212 | let kms = kms.into_inner(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `kms` calls a custom destructor [INFO] [stdout] | `kms` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | match operations::wrap(request, &cse_config, &kms).await.map(Json) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `kms` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 377 | | type CType = ffi::X509; [INFO] [stdout] 378 | | fn drop = ffi::X509_free; [INFO] [stdout] ... | [INFO] [stdout] 383 | | pub struct X509Ref; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the derive macro `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/routes/google_cse/mod.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 235 | let kms = kms.into_inner(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `kms` calls a custom destructor [INFO] [stdout] | `kms` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `kms` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 377 | | type CType = ffi::X509; [INFO] [stdout] 378 | | fn drop = ffi::X509_free; [INFO] [stdout] ... | [INFO] [stdout] 383 | | pub struct X509Ref; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the derive macro `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/routes/google_cse/mod.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 260 | let kms = kms.into_inner(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `kms` calls a custom destructor [INFO] [stdout] | `kms` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `kms` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 377 | | type CType = ffi::X509; [INFO] [stdout] 378 | | fn drop = ffi::X509_free; [INFO] [stdout] ... | [INFO] [stdout] 383 | | pub struct X509Ref; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the derive macro `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/server/src/routes/google_cse/mod.rs:289:10 [INFO] [stdout] | [INFO] [stdout] 285 | let kms = kms.into_inner(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `kms` calls a custom destructor [INFO] [stdout] | `kms` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `kms` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/x509/mod.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | / foreign_type_and_impl_send_sync! { [INFO] [stdout] 377 | | type CType = ffi::X509; [INFO] [stdout] 378 | | fn drop = ffi::X509_free; [INFO] [stdout] ... | [INFO] [stdout] 383 | | pub struct X509Ref; [INFO] [stdout] 384 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/stack.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl Drop for Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.66/src/pkey.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / generic_foreign_type_and_impl_send_sync! { [INFO] [stdout] 142 | | type CType = ffi::EVP_PKEY; [INFO] [stdout] 143 | | fn drop = ffi::EVP_PKEY_free; [INFO] [stdout] ... | [INFO] [stdout] 148 | | pub struct PKeyRef; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `kms` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmian_crypto_core-9.5.0/src/symmetric_crypto/key.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Hash, PartialEq, Eq, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `::foreign_types::foreign_type` which comes from the expansion of the derive macro `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kms_test_server v4.19.3 (/tmp/fixit/crate/test_server) [INFO] [stderr] Fixed crate/cli/src/actions/google/keypairs/create.rs (1 fix) [INFO] [stderr] Fixed crate/cli/src/error/mod.rs (9 fixes) [INFO] [stderr] Migrating crate/pkcs11/provider/src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> crate/cli/src/actions/certificates/import_certificate.rs:332:34 [INFO] [stdout] | [INFO] [stdout] 332 | while let Some(object) = objects.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | let unique_identifier = import_object( [INFO] [stdout] | _____________________________________- [INFO] [stdout] 349 | | kms_rest_client, [INFO] [stdout] 350 | | self.certificate_id.clone(), [INFO] [stdout] 351 | | object, [INFO] [stdout] ... | [INFO] [stdout] 356 | | ) [INFO] [stdout] 357 | | .await?; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__________________`__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 358 | previous_identifier = Some(unique_identifier); [INFO] [stdout] 359 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /tmp/fixit/crate/kmip/src/crypto/secret.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl Drop for SafeBigUint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [WARN] too many lines in the log, truncating it