[INFO] cloning repository https://github.com/Cosmian/native-pkcs11
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cosmian/native-pkcs11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fnative-pkcs11", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fnative-pkcs11'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 114c93de2e32c2b943578f0aad1c0f43d69e7726
[INFO] checking Cosmian/native-pkcs11 against master#bad50269f8eb0fda214f0478c3afb2c6fbb427fd for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmian%2Fnative-pkcs11" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Cosmian/native-pkcs11
[INFO] finished tweaking git repo https://github.com/Cosmian/native-pkcs11
[INFO] tweaked toml for git repo https://github.com/Cosmian/native-pkcs11 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Cosmian/native-pkcs11 on toolchain bad50269f8eb0fda214f0478c3afb2c6fbb427fd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Cosmian/native-pkcs11 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-targets v0.52.4
[INFO] [stderr]   Downloaded windows-result v0.1.0
[INFO] [stderr]   Downloaded serial_test_derive v3.0.0
[INFO] [stderr]   Downloaded strum v0.26.2
[INFO] [stderr]   Downloaded subtle v2.5.0
[INFO] [stderr]   Downloaded num-iter v0.1.44
[INFO] [stderr]   Downloaded sec1 v0.7.3
[INFO] [stderr]   Downloaded base16ct v0.2.0
[INFO] [stderr]   Downloaded ff v0.13.0
[INFO] [stderr]   Downloaded primeorder v0.13.6
[INFO] [stderr]   Downloaded tracing-journald v0.3.0
[INFO] [stderr]   Downloaded heck v0.4.1
[INFO] [stderr]   Downloaded group v0.13.0
[INFO] [stderr]   Downloaded lazycell v1.3.0
[INFO] [stderr]   Downloaded thiserror v1.0.58
[INFO] [stderr]   Downloaded rustversion v1.0.14
[INFO] [stderr]   Downloaded errno v0.3.8
[INFO] [stderr]   Downloaded apple-security-framework-sys v2.9.1
[INFO] [stderr]   Downloaded either v1.10.0
[INFO] [stderr]   Downloaded tracing-error v0.2.0
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.17
[INFO] [stderr]   Downloaded lock_api v0.4.11
[INFO] [stderr]   Downloaded spin v0.5.2
[INFO] [stderr]   Downloaded dashmap v5.5.3
[INFO] [stderr]   Downloaded parking_lot_core v0.9.9
[INFO] [stderr]   Downloaded base64ct v1.6.0
[INFO] [stderr]   Downloaded der_derive v0.7.2
[INFO] [stderr]   Downloaded zeroize v1.7.0
[INFO] [stderr]   Downloaded once_cell v1.19.0
[INFO] [stderr]   Downloaded libloading v0.8.3
[INFO] [stderr]   Downloaded bincode v1.3.3
[INFO] [stderr]   Downloaded clang-sys v1.7.0
[INFO] [stderr]   Downloaded typenum v1.17.0
[INFO] [stderr]   Downloaded smallvec v1.13.1
[INFO] [stderr]   Downloaded getrandom v0.2.12
[INFO] [stderr]   Downloaded serde_derive v1.0.197
[INFO] [stderr]   Downloaded proc-macro2 v1.0.79
[INFO] [stderr]   Downloaded bitflags v2.4.2
[INFO] [stderr]   Downloaded elliptic-curve v0.13.8
[INFO] [stderr]   Downloaded prettyplease v0.2.16
[INFO] [stderr]   Downloaded num-traits v0.2.18
[INFO] [stderr]   Downloaded der v0.7.8
[INFO] [stderr]   Downloaded serde v1.0.197
[INFO] [stderr]   Downloaded crypto-bigint v0.5.5
[INFO] [stderr]   Downloaded num-bigint v0.4.4
[INFO] [stderr]   Downloaded memchr v2.7.1
[INFO] [stderr]   Downloaded libm v0.2.8
[INFO] [stderr]   Downloaded hashbrown v0.14.3
[INFO] [stderr]   Downloaded apple-security-framework v2.9.2
[INFO] [stderr]   Downloaded aho-corasick v1.1.2
[INFO] [stderr]   Downloaded x509-cert v0.2.5
[INFO] [stderr]   Downloaded rsa v0.9.6
[INFO] [stderr]   Downloaded p256 v0.13.2
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.6
[INFO] [stderr]   Downloaded bindgen v0.69.4
[INFO] [stderr]   Downloaded regex v1.10.3
[INFO] [stderr]   Downloaded syn v2.0.52
[INFO] [stderr]   Downloaded unicode-ident v1.0.12
[INFO] [stderr]   Downloaded home v0.5.9
[INFO] [stderr]   Downloaded regex-syntax v0.8.2
[INFO] [stderr]   Downloaded pin-project-lite v0.2.13
[INFO] [stderr]   Downloaded strum_macros v0.26.2
[INFO] [stderr]   Downloaded rustix v0.38.31
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.4
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.4
[INFO] [stderr]   Downloaded log v0.4.21
[INFO] [stderr]   Downloaded quote v1.0.35
[INFO] [stderr]   Downloaded ecdsa v0.16.9
[INFO] [stderr]   Downloaded serial_test v3.0.0
[INFO] [stderr]   Downloaded flagset v0.4.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.58
[INFO] [stderr]   Downloaded regex-automata v0.4.6
[INFO] [stderr]   Downloaded libc v0.2.153
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.4
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.4
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.4
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.4
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.4
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e1d0c01f4e0419764e869e1613dfc25198d105b450f3e712ba9cfd6b97258108
[INFO] running `Command { std: "docker" "start" "-a" "e1d0c01f4e0419764e869e1613dfc25198d105b450f3e712ba9cfd6b97258108", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e1d0c01f4e0419764e869e1613dfc25198d105b450f3e712ba9cfd6b97258108", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1d0c01f4e0419764e869e1613dfc25198d105b450f3e712ba9cfd6b97258108", kill_on_drop: false }`
[INFO] [stdout] e1d0c01f4e0419764e869e1613dfc25198d105b450f3e712ba9cfd6b97258108
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb3212de6a5bbdde5e2633ce472410271a8c75ac150aab3dc3dafc2f7f2ab123
[INFO] running `Command { std: "docker" "start" "-a" "fb3212de6a5bbdde5e2633ce472410271a8c75ac150aab3dc3dafc2f7f2ab123", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking flagset v0.4.5
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]    Compiling pkcs11-sys v0.2.17 (/opt/rustwide/workdir/pkcs11-sys)
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking strum v0.26.2
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling der_derive v0.7.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling serial_test_derive v3.0.0
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]     Checking serial_test v3.0.0
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking x509-cert v0.2.5
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking rsa v0.9.6
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking native-pkcs11-traits v0.2.17 (/opt/rustwide/workdir/native-pkcs11-traits)
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking tracing-journald v0.3.0
[INFO] [stderr]     Checking native-pkcs11-windows v0.2.17 (/opt/rustwide/workdir/native-pkcs11-windows)
[INFO] [stderr]     Checking native-pkcs11-keychain v0.2.17 (/opt/rustwide/workdir/native-pkcs11-keychain)
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking native-pkcs11-core v0.2.17 (/opt/rustwide/workdir/native-pkcs11-core)
[INFO] [stderr]     Checking native-pkcs11 v0.2.17 (/opt/rustwide/workdir/native-pkcs11)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1114:20
[INFO] [stdout]      |
[INFO] [stdout] 1114 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1116:13
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             unsafe { C_Initialize(ptr::null_mut()) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1119:20
[INFO] [stdout]      |
[INFO] [stdout] 1119 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1122:13
[INFO] [stdout]      |
[INFO] [stdout] 1122 |             unsafe { C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1125:20
[INFO] [stdout]      |
[INFO] [stdout] 1125 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1129:13
[INFO] [stdout]      |
[INFO] [stdout] 1129 |             unsafe { C_Initialize(&mut args as CK_C_INITIALIZE_ARGS_PTR as *mut std::ffi::c_void) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1138:20
[INFO] [stdout]      |
[INFO] [stdout] 1138 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1141:13
[INFO] [stdout]      |
[INFO] [stdout] 1141 |             unsafe { C_Finalize(1 as *mut u32 as *mut std::ffi::c_void) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1144:20
[INFO] [stdout]      |
[INFO] [stdout] 1144 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1146:13
[INFO] [stdout]      |
[INFO] [stdout] 1146 |             unsafe { C_Finalize(ptr::null_mut()) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1155:20
[INFO] [stdout]      |
[INFO] [stdout] 1155 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1161:20
[INFO] [stdout]      |
[INFO] [stdout] 1161 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1189:20
[INFO] [stdout]      |
[INFO] [stdout] 1189 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1210:20
[INFO] [stdout]      |
[INFO] [stdout] 1210 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1221:20
[INFO] [stdout]      |
[INFO] [stdout] 1221 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1235:20
[INFO] [stdout]      |
[INFO] [stdout] 1235 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1246:20
[INFO] [stdout]      |
[INFO] [stdout] 1246 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1262:20
[INFO] [stdout]      |
[INFO] [stdout] 1262 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1273:20
[INFO] [stdout]      |
[INFO] [stdout] 1273 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1306:20
[INFO] [stdout]      |
[INFO] [stdout] 1306 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1317:20
[INFO] [stdout]      |
[INFO] [stdout] 1317 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1336:20
[INFO] [stdout]      |
[INFO] [stdout] 1336 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1349:20
[INFO] [stdout]      |
[INFO] [stdout] 1349 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1372:20
[INFO] [stdout]      |
[INFO] [stdout] 1372 |         assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1373:20
[INFO] [stdout]      |
[INFO] [stdout] 1373 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1380:20
[INFO] [stdout]      |
[INFO] [stdout] 1380 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1394:20
[INFO] [stdout]      |
[INFO] [stdout] 1394 |         assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1397:13
[INFO] [stdout]      |
[INFO] [stdout] 1397 |             unsafe { C_CloseSession(handle) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1402:13
[INFO] [stdout]      |
[INFO] [stdout] 1402 |             unsafe { C_CloseSession(CK_INVALID_HANDLE) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1405:20
[INFO] [stdout]      |
[INFO] [stdout] 1405 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1412:20
[INFO] [stdout]      |
[INFO] [stdout] 1412 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1441:20
[INFO] [stdout]      |
[INFO] [stdout] 1441 |         assert_eq!(unsafe { C_CloseSession(handle) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1442:20
[INFO] [stdout]      |
[INFO] [stdout] 1442 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1449:20
[INFO] [stdout]      |
[INFO] [stdout] 1449 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1476:20
[INFO] [stdout]      |
[INFO] [stdout] 1476 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1487:20
[INFO] [stdout]      |
[INFO] [stdout] 1487 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1506:20
[INFO] [stdout]      |
[INFO] [stdout] 1506 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1517:20
[INFO] [stdout]      |
[INFO] [stdout] 1517 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1546:20
[INFO] [stdout]      |
[INFO] [stdout] 1546 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1557:20
[INFO] [stdout]      |
[INFO] [stdout] 1557 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1576:20
[INFO] [stdout]      |
[INFO] [stdout] 1576 |         assert_eq!(unsafe { C_FindObjectsFinal(handle) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1577:20
[INFO] [stdout]      |
[INFO] [stdout] 1577 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1579:13
[INFO] [stdout]      |
[INFO] [stdout] 1579 |             unsafe { C_FindObjectsFinal(handle) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1588:20
[INFO] [stdout]      |
[INFO] [stdout] 1588 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1603:13
[INFO] [stdout]      |
[INFO] [stdout] 1603 |             unsafe { C_GetFunctionStatus(session_h) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1606:20
[INFO] [stdout]      |
[INFO] [stdout] 1606 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1613:20
[INFO] [stdout]      |
[INFO] [stdout] 1613 |         assert_eq!(unsafe { C_Initialize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1628:13
[INFO] [stdout]      |
[INFO] [stdout] 1628 |             unsafe { C_GetFunctionStatus(session_h) },
[INFO] [stdout]      |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> native-pkcs11/src/lib.rs:1631:20
[INFO] [stdout]      |
[INFO] [stdout] 1631 |         assert_eq!(unsafe { C_Finalize(ptr::null_mut()) }, CKR_OK);
[INFO] [stdout]      |                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.94s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "fb3212de6a5bbdde5e2633ce472410271a8c75ac150aab3dc3dafc2f7f2ab123", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb3212de6a5bbdde5e2633ce472410271a8c75ac150aab3dc3dafc2f7f2ab123", kill_on_drop: false }`
[INFO] [stdout] fb3212de6a5bbdde5e2633ce472410271a8c75ac150aab3dc3dafc2f7f2ab123
