[INFO] cloning repository https://github.com/suddenabnormalsecrets/native-pkcs11 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suddenabnormalsecrets/native-pkcs11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuddenabnormalsecrets%2Fnative-pkcs11", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuddenabnormalsecrets%2Fnative-pkcs11'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c89858e59e21e575cea485cec5282bc25af7693 [INFO] checking suddenabnormalsecrets/native-pkcs11 against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuddenabnormalsecrets%2Fnative-pkcs11" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/suddenabnormalsecrets/native-pkcs11 [INFO] finished tweaking git repo https://github.com/suddenabnormalsecrets/native-pkcs11 [INFO] tweaked toml for git repo https://github.com/suddenabnormalsecrets/native-pkcs11 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/suddenabnormalsecrets/native-pkcs11 on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/suddenabnormalsecrets/native-pkcs11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb1240a236db3c042c1ec4c4b75a1484b88bf8cfb06fcfba0a195f88fae39687 [INFO] running `Command { std: "docker" "start" "-a" "fb1240a236db3c042c1ec4c4b75a1484b88bf8cfb06fcfba0a195f88fae39687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb1240a236db3c042c1ec4c4b75a1484b88bf8cfb06fcfba0a195f88fae39687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1240a236db3c042c1ec4c4b75a1484b88bf8cfb06fcfba0a195f88fae39687", kill_on_drop: false }` [INFO] [stdout] fb1240a236db3c042c1ec4c4b75a1484b88bf8cfb06fcfba0a195f88fae39687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a1f0d47e44d514126732ea0adcecf432576b208616996c6006aa345fd12322 [INFO] running `Command { std: "docker" "start" "-a" "39a1f0d47e44d514126732ea0adcecf432576b208616996c6006aa345fd12322", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Compiling getrandom v0.3.0 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling pkcs11-sys v0.2.25 (/opt/rustwide/workdir/pkcs11-sys) [INFO] [stderr] Checking sdd v3.0.4 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking scc v2.2.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cached v0.55.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking tracing-journald v0.3.1 [INFO] [stderr] Checking native-pkcs11-traits v0.2.27 (/opt/rustwide/workdir/native-pkcs11-traits) [INFO] [stderr] Checking native-pkcs11-core v0.2.27 (/opt/rustwide/workdir/native-pkcs11-core) [INFO] [stderr] Checking native-pkcs11-keychain v0.2.27 (/opt/rustwide/workdir/native-pkcs11-keychain) [INFO] [stderr] Checking native-pkcs11-windows v0.2.27 (/opt/rustwide/workdir/native-pkcs11-windows) [INFO] [stderr] Checking native-pkcs11 v0.2.27 (/opt/rustwide/workdir/native-pkcs11) [INFO] [stdout] error[E0659]: `C_GetFunctionList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1085:22 [INFO] [stdout] | [INFO] [stdout] 1085 | unsafe { C_GetFunctionList((&mut func_list) as *mut _ as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetFunctionList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionList` to disambiguate [INFO] [stdout] note: `C_GetFunctionList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1093:20 [INFO] [stdout] | [INFO] [stdout] 1093 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1094:20 [INFO] [stdout] | [INFO] [stdout] 1094 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_CRYPTOKI_ALREADY_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1095:20 [INFO] [stdout] | [INFO] [stdout] 1095 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1098:13 [INFO] [stdout] | [INFO] [stdout] 1098 | C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void), [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1101:20 [INFO] [stdout] | [INFO] [stdout] 1101 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void), [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1114:20 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1116:20 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_eq!(C_Finalize(1 as *mut u32 as *mut std::ffi::c_void), CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1117:20 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1118:20 [INFO] [stdout] | [INFO] [stdout] 1118 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1125:20 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1127:29 [INFO] [stdout] | [INFO] [stdout] 1127 | assert_eq!(unsafe { C_GetInfo(&mut info) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetInfo` to disambiguate [INFO] [stdout] note: `C_GetInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1129:29 [INFO] [stdout] | [INFO] [stdout] 1129 | assert_eq!(unsafe { C_GetInfo(ptr::null_mut()) }, CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetInfo` to disambiguate [INFO] [stdout] note: `C_GetInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1131:20 [INFO] [stdout] | [INFO] [stdout] 1131 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1132:29 [INFO] [stdout] | [INFO] [stdout] 1132 | assert_eq!(unsafe { C_GetInfo(&mut info) }, CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetInfo` to disambiguate [INFO] [stdout] note: `C_GetInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetFunctionList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1141:29 [INFO] [stdout] | [INFO] [stdout] 1141 | assert_eq!(unsafe { C_GetFunctionList(&mut function_list_pointer) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetFunctionList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionList` to disambiguate [INFO] [stdout] note: `C_GetFunctionList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetFunctionList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1143:29 [INFO] [stdout] | [INFO] [stdout] 1143 | assert_eq!(unsafe { C_GetFunctionList(ptr::null_mut()) }, CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetFunctionList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionList` to disambiguate [INFO] [stdout] note: `C_GetFunctionList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1150:20 [INFO] [stdout] | [INFO] [stdout] 1150 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1152:29 [INFO] [stdout] | [INFO] [stdout] 1152 | assert_eq!(unsafe { C_GetSlotList(CK_FALSE, std::ptr::null_mut(), &mut count) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] note: `C_GetSlotList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1156:22 [INFO] [stdout] | [INFO] [stdout] 1156 | unsafe { C_GetSlotList(CK_FALSE, ptr::null_mut(), ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] note: `C_GetSlotList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1164:22 [INFO] [stdout] | [INFO] [stdout] 1164 | unsafe { C_GetSlotList(CK_FALSE, slot_list.as_mut_ptr(), &mut count) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] note: `C_GetSlotList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1168:20 [INFO] [stdout] | [INFO] [stdout] 1168 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1170:22 [INFO] [stdout] | [INFO] [stdout] 1170 | unsafe { C_GetSlotList(CK_FALSE, std::ptr::null_mut(), &mut count) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] note: `C_GetSlotList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1179:20 [INFO] [stdout] | [INFO] [stdout] 1179 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1181:29 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(unsafe { C_GetSlotInfo(SLOT_ID, &mut slot_info) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] note: `C_GetSlotInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1183:29 [INFO] [stdout] | [INFO] [stdout] 1183 | assert_eq!(unsafe { C_GetSlotInfo(SLOT_ID, ptr::null_mut()) }, CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] note: `C_GetSlotInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1185:29 [INFO] [stdout] | [INFO] [stdout] 1185 | assert_eq!(unsafe { C_GetSlotInfo(SLOT_ID + 1, ptr::null_mut()) }, CKR_SLOT_ID_INVALID); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] note: `C_GetSlotInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1187:20 [INFO] [stdout] | [INFO] [stdout] 1187 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1188:29 [INFO] [stdout] | [INFO] [stdout] 1188 | assert_eq!(unsafe { C_GetSlotInfo(SLOT_ID, &mut slot_info) }, CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] note: `C_GetSlotInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1195:20 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetTokenInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1196:29 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_eq!(unsafe { C_GetTokenInfo(SLOT_ID, &mut CK_TOKEN_INFO::default()) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetTokenInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetTokenInfo` to disambiguate [INFO] [stdout] note: `C_GetTokenInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetTokenInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetTokenInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1198:29 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_eq!(unsafe { C_GetTokenInfo(SLOT_ID + 1, ptr::null_mut()) }, CKR_SLOT_ID_INVALID); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetTokenInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetTokenInfo` to disambiguate [INFO] [stdout] note: `C_GetTokenInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetTokenInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSlotInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1200:29 [INFO] [stdout] | [INFO] [stdout] 1200 | assert_eq!(unsafe { C_GetSlotInfo(SLOT_ID, ptr::null_mut()) }, CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSlotInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] note: `C_GetSlotInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSlotInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1202:20 [INFO] [stdout] | [INFO] [stdout] 1202 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetTokenInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1204:22 [INFO] [stdout] | [INFO] [stdout] 1204 | unsafe { C_GetTokenInfo(SLOT_ID, &mut CK_TOKEN_INFO::default()) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetTokenInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetTokenInfo` to disambiguate [INFO] [stdout] note: `C_GetTokenInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetTokenInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1213:20 [INFO] [stdout] | [INFO] [stdout] 1213 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1215:29 [INFO] [stdout] | [INFO] [stdout] 1215 | assert_eq!(unsafe { C_GetMechanismList(SLOT_ID, ptr::null_mut(), &mut count) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] note: `C_GetMechanismList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1219:22 [INFO] [stdout] | [INFO] [stdout] 1219 | unsafe { C_GetMechanismList(SLOT_ID, mechanisms.as_mut_ptr(), &mut count) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] note: `C_GetMechanismList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1228:22 [INFO] [stdout] | [INFO] [stdout] 1228 | unsafe { C_GetMechanismList(SLOT_ID + 1, ptr::null_mut(), &mut count) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] note: `C_GetMechanismList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1233:22 [INFO] [stdout] | [INFO] [stdout] 1233 | unsafe { C_GetMechanismList(SLOT_ID, ptr::null_mut(), ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] note: `C_GetMechanismList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1239:22 [INFO] [stdout] | [INFO] [stdout] 1239 | unsafe { C_GetMechanismList(SLOT_ID, mechanisms.as_mut_ptr(), &mut (count - 1)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] note: `C_GetMechanismList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1243:20 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismList` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1245:22 [INFO] [stdout] | [INFO] [stdout] 1245 | unsafe { C_GetMechanismList(SLOT_ID, ptr::null_mut(), ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismList` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] note: `C_GetMechanismList` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismList` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1254:20 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1257:22 [INFO] [stdout] | [INFO] [stdout] 1257 | unsafe { C_GetMechanismInfo(SLOT_ID, SUPPORTED_SIGNATURE_MECHANISMS[0], &mut info) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] note: `C_GetMechanismInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1262:22 [INFO] [stdout] | [INFO] [stdout] 1262 | unsafe { C_GetMechanismInfo(SLOT_ID, CKM_DSA, &mut info) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] note: `C_GetMechanismInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1268:17 [INFO] [stdout] | [INFO] [stdout] 1268 | C_GetMechanismInfo(SLOT_ID, SUPPORTED_SIGNATURE_MECHANISMS[0], ptr::null_mut()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] note: `C_GetMechanismInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1273:20 [INFO] [stdout] | [INFO] [stdout] 1273 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetMechanismInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1276:17 [INFO] [stdout] | [INFO] [stdout] 1276 | C_GetMechanismInfo(SLOT_ID, SUPPORTED_SIGNATURE_MECHANISMS[0], ptr::null_mut()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetMechanismInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] note: `C_GetMechanismInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetMechanismInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1286:20 [INFO] [stdout] | [INFO] [stdout] 1286 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1290:22 [INFO] [stdout] | [INFO] [stdout] 1290 | unsafe { C_OpenSession(SLOT_ID, flags, ptr::null_mut(), None, &mut handle) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1295:22 [INFO] [stdout] | [INFO] [stdout] 1295 | unsafe { C_OpenSession(SLOT_ID + 1, flags, ptr::null_mut(), None, &mut handle) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1301:22 [INFO] [stdout] | [INFO] [stdout] 1301 | unsafe { C_OpenSession(SLOT_ID, 0, ptr::null_mut(), None, &mut handle) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1306:22 [INFO] [stdout] | [INFO] [stdout] 1306 | unsafe { C_OpenSession(SLOT_ID, flags, ptr::null_mut(), None, ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_CloseSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1309:20 [INFO] [stdout] | [INFO] [stdout] 1309 | assert_eq!(C_CloseSession(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_CloseSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] note: `C_CloseSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1310:20 [INFO] [stdout] | [INFO] [stdout] 1310 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1317:20 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1321:17 [INFO] [stdout] | [INFO] [stdout] 1321 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut handle) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_CloseSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1325:20 [INFO] [stdout] | [INFO] [stdout] 1325 | assert_eq!(C_CloseSession(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_CloseSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] note: `C_CloseSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_CloseSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1327:20 [INFO] [stdout] | [INFO] [stdout] 1327 | assert_eq!(C_CloseSession(handle), CKR_SESSION_HANDLE_INVALID); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_CloseSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] note: `C_CloseSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_CloseSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1329:20 [INFO] [stdout] | [INFO] [stdout] 1329 | assert_eq!(C_CloseSession(CK_INVALID_HANDLE), CKR_SESSION_HANDLE_INVALID); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_CloseSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] note: `C_CloseSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1330:20 [INFO] [stdout] | [INFO] [stdout] 1330 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1337:20 [INFO] [stdout] | [INFO] [stdout] 1337 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1341:17 [INFO] [stdout] | [INFO] [stdout] 1341 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut handle) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSessionInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1346:29 [INFO] [stdout] | [INFO] [stdout] 1346 | assert_eq!(unsafe { C_GetSessionInfo(handle, &mut session_info) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSessionInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSessionInfo` to disambiguate [INFO] [stdout] note: `C_GetSessionInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSessionInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSessionInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1349:22 [INFO] [stdout] | [INFO] [stdout] 1349 | unsafe { C_GetSessionInfo(CK_INVALID_HANDLE, &mut session_info) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSessionInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSessionInfo` to disambiguate [INFO] [stdout] note: `C_GetSessionInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSessionInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetSessionInfo` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1353:29 [INFO] [stdout] | [INFO] [stdout] 1353 | assert_eq!(unsafe { C_GetSessionInfo(handle, ptr::null_mut()) }, CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetSessionInfo` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSessionInfo` to disambiguate [INFO] [stdout] note: `C_GetSessionInfo` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetSessionInfo` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_CloseSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1354:20 [INFO] [stdout] | [INFO] [stdout] 1354 | assert_eq!(C_CloseSession(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_CloseSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] note: `C_CloseSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_CloseSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1355:20 [INFO] [stdout] | [INFO] [stdout] 1355 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1362:20 [INFO] [stdout] | [INFO] [stdout] 1362 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1366:17 [INFO] [stdout] | [INFO] [stdout] 1366 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut session_h) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetAttributeValue` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1374:17 [INFO] [stdout] | [INFO] [stdout] 1374 | C_GetAttributeValue( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetAttributeValue` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetAttributeValue` to disambiguate [INFO] [stdout] note: `C_GetAttributeValue` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetAttributeValue` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1383:20 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetAttributeValue` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1385:22 [INFO] [stdout] | [INFO] [stdout] 1385 | unsafe { C_GetAttributeValue(session_h, 0, template.as_mut_ptr(), 0) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetAttributeValue` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetAttributeValue` to disambiguate [INFO] [stdout] note: `C_GetAttributeValue` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetAttributeValue` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1394:20 [INFO] [stdout] | [INFO] [stdout] 1394 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1398:17 [INFO] [stdout] | [INFO] [stdout] 1398 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut handle) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjectsInit` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1404:22 [INFO] [stdout] | [INFO] [stdout] 1404 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjectsInit` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] note: `C_FindObjectsInit` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1407:20 [INFO] [stdout] | [INFO] [stdout] 1407 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjectsInit` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1409:22 [INFO] [stdout] | [INFO] [stdout] 1409 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjectsInit` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] note: `C_FindObjectsInit` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1418:20 [INFO] [stdout] | [INFO] [stdout] 1418 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1422:17 [INFO] [stdout] | [INFO] [stdout] 1422 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut handle) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjectsInit` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1431:29 [INFO] [stdout] | [INFO] [stdout] 1431 | assert_eq!(unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), 0) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjectsInit` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] note: `C_FindObjectsInit` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjects` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1434:29 [INFO] [stdout] | [INFO] [stdout] 1434 | assert_eq!(unsafe { C_FindObjects(handle, objects.as_mut_ptr(), 1, &mut count) }, CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjects` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjects` to disambiguate [INFO] [stdout] note: `C_FindObjects` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjects` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1435:20 [INFO] [stdout] | [INFO] [stdout] 1435 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjects` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1437:22 [INFO] [stdout] | [INFO] [stdout] 1437 | unsafe { C_FindObjects(handle, ptr::null_mut(), 0, ptr::null_mut()) }, [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjects` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjects` to disambiguate [INFO] [stdout] note: `C_FindObjects` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjects` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1446:20 [INFO] [stdout] | [INFO] [stdout] 1446 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1450:17 [INFO] [stdout] | [INFO] [stdout] 1450 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut handle) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjectsInit` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1456:22 [INFO] [stdout] | [INFO] [stdout] 1456 | unsafe { C_FindObjectsInit(handle, template.as_mut_ptr(), template.len() as CK_ULONG) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjectsInit` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] note: `C_FindObjectsInit` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsInit` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjectsFinal` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1459:20 [INFO] [stdout] | [INFO] [stdout] 1459 | assert_eq!(C_FindObjectsFinal(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjectsFinal` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsFinal` to disambiguate [INFO] [stdout] note: `C_FindObjectsFinal` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsFinal` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1460:20 [INFO] [stdout] | [INFO] [stdout] 1460 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_FindObjectsFinal` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1461:20 [INFO] [stdout] | [INFO] [stdout] 1461 | assert_eq!(C_FindObjectsFinal(handle), CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_FindObjectsFinal` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsFinal` to disambiguate [INFO] [stdout] note: `C_FindObjectsFinal` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_FindObjectsFinal` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1468:20 [INFO] [stdout] | [INFO] [stdout] 1468 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1472:17 [INFO] [stdout] | [INFO] [stdout] 1472 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut session_h) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetFunctionStatus` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1476:20 [INFO] [stdout] | [INFO] [stdout] 1476 | assert_eq!(C_GetFunctionStatus(session_h), CKR_FUNCTION_NOT_PARALLEL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetFunctionStatus` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionStatus` to disambiguate [INFO] [stdout] note: `C_GetFunctionStatus` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionStatus` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1477:20 [INFO] [stdout] | [INFO] [stdout] 1477 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Initialize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1483:20 [INFO] [stdout] | [INFO] [stdout] 1483 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Initialize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] note: `C_Initialize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Initialize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_OpenSession` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1487:17 [INFO] [stdout] | [INFO] [stdout] 1487 | C_OpenSession(SLOT_ID, CKF_SERIAL_SESSION, ptr::null_mut(), None, &mut session_h) [INFO] [stdout] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_OpenSession` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] note: `C_OpenSession` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_OpenSession` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_GetFunctionStatus` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1491:20 [INFO] [stdout] | [INFO] [stdout] 1491 | assert_eq!(C_GetFunctionStatus(session_h), CKR_FUNCTION_NOT_PARALLEL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_GetFunctionStatus` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionStatus` to disambiguate [INFO] [stdout] note: `C_GetFunctionStatus` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_GetFunctionStatus` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `C_Finalize` is ambiguous [INFO] [stdout] --> native-pkcs11/src/lib.rs:1492:20 [INFO] [stdout] | [INFO] [stdout] 1492 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `C_Finalize` could refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] note: `C_Finalize` could also refer to the function imported here [INFO] [stdout] --> native-pkcs11/src/lib.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `C_Finalize` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1093:20 [INFO] [stdout] | [INFO] [stdout] 1093 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1094:20 [INFO] [stdout] | [INFO] [stdout] 1094 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_CRYPTOKI_ALREADY_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1095:20 [INFO] [stdout] | [INFO] [stdout] 1095 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1098:13 [INFO] [stdout] | [INFO] [stdout] 1098 | C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1101:20 [INFO] [stdout] | [INFO] [stdout] 1101 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1114:20 [INFO] [stdout] | [INFO] [stdout] 1114 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1116:20 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_eq!(C_Finalize(1 as *mut u32 as *mut std::ffi::c_void), CKR_ARGUMENTS_BAD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1117:20 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1118:20 [INFO] [stdout] | [INFO] [stdout] 1118 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1125:20 [INFO] [stdout] | [INFO] [stdout] 1125 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1131:20 [INFO] [stdout] | [INFO] [stdout] 1131 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1150:20 [INFO] [stdout] | [INFO] [stdout] 1150 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1168:20 [INFO] [stdout] | [INFO] [stdout] 1168 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1179:20 [INFO] [stdout] | [INFO] [stdout] 1179 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1187:20 [INFO] [stdout] | [INFO] [stdout] 1187 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1195:20 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1202:20 [INFO] [stdout] | [INFO] [stdout] 1202 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1213:20 [INFO] [stdout] | [INFO] [stdout] 1213 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1243:20 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1254:20 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1273:20 [INFO] [stdout] | [INFO] [stdout] 1273 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1286:20 [INFO] [stdout] | [INFO] [stdout] 1286 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_CloseSession` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1309:20 [INFO] [stdout] | [INFO] [stdout] 1309 | assert_eq!(C_CloseSession(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1310:20 [INFO] [stdout] | [INFO] [stdout] 1310 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1317:20 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_CloseSession` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1325:20 [INFO] [stdout] | [INFO] [stdout] 1325 | assert_eq!(C_CloseSession(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_CloseSession` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1327:20 [INFO] [stdout] | [INFO] [stdout] 1327 | assert_eq!(C_CloseSession(handle), CKR_SESSION_HANDLE_INVALID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_CloseSession` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1329:20 [INFO] [stdout] | [INFO] [stdout] 1329 | assert_eq!(C_CloseSession(CK_INVALID_HANDLE), CKR_SESSION_HANDLE_INVALID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1330:20 [INFO] [stdout] | [INFO] [stdout] 1330 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1337:20 [INFO] [stdout] | [INFO] [stdout] 1337 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_CloseSession` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1354:20 [INFO] [stdout] | [INFO] [stdout] 1354 | assert_eq!(C_CloseSession(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1355:20 [INFO] [stdout] | [INFO] [stdout] 1355 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1362:20 [INFO] [stdout] | [INFO] [stdout] 1362 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1383:20 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1394:20 [INFO] [stdout] | [INFO] [stdout] 1394 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1407:20 [INFO] [stdout] | [INFO] [stdout] 1407 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1418:20 [INFO] [stdout] | [INFO] [stdout] 1418 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1435:20 [INFO] [stdout] | [INFO] [stdout] 1435 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1446:20 [INFO] [stdout] | [INFO] [stdout] 1446 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_FindObjectsFinal` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1459:20 [INFO] [stdout] | [INFO] [stdout] 1459 | assert_eq!(C_FindObjectsFinal(handle), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1460:20 [INFO] [stdout] | [INFO] [stdout] 1460 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_FindObjectsFinal` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1461:20 [INFO] [stdout] | [INFO] [stdout] 1461 | assert_eq!(C_FindObjectsFinal(handle), CKR_CRYPTOKI_NOT_INITIALIZED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1468:20 [INFO] [stdout] | [INFO] [stdout] 1468 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_GetFunctionStatus` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1476:20 [INFO] [stdout] | [INFO] [stdout] 1476 | assert_eq!(C_GetFunctionStatus(session_h), CKR_FUNCTION_NOT_PARALLEL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1477:20 [INFO] [stdout] | [INFO] [stdout] 1477 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Initialize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1483:20 [INFO] [stdout] | [INFO] [stdout] 1483 | assert_eq!(C_Initialize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_GetFunctionStatus` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1491:20 [INFO] [stdout] | [INFO] [stdout] 1491 | assert_eq!(C_GetFunctionStatus(session_h), CKR_FUNCTION_NOT_PARALLEL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `pkcs11_sys::C_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> native-pkcs11/src/lib.rs:1492:20 [INFO] [stdout] | [INFO] [stdout] 1492 | assert_eq!(C_Finalize(ptr::null_mut()), CKR_OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `native-pkcs11` (lib test) due to 149 previous errors [INFO] running `Command { std: "docker" "inspect" "39a1f0d47e44d514126732ea0adcecf432576b208616996c6006aa345fd12322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a1f0d47e44d514126732ea0adcecf432576b208616996c6006aa345fd12322", kill_on_drop: false }` [INFO] [stdout] 39a1f0d47e44d514126732ea0adcecf432576b208616996c6006aa345fd12322