[INFO] crate pkcs11 0.3.1 is already in cache [INFO] testing pkcs11-0.3.1 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate pkcs11 0.3.1 into work/builds/worker-6/source [INFO] validating manifest of crates.io crate pkcs11 0.3.1 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pkcs11 0.3.1 [INFO] finished tweaking crates.io crate pkcs11 0.3.1 [INFO] tweaked toml for crates.io crate pkcs11 0.3.1 written to work/builds/worker-6/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 6872cd59b8842747271d3ee9e315d907f3e8f5812325e23de6d91fdf8c26f215 [INFO] running `"docker" "start" "-a" "6872cd59b8842747271d3ee9e315d907f3e8f5812325e23de6d91fdf8c26f215"` [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling pkcs11 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | /// CK_SLOT_INFO provides information about a slot [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 149 | / cryptoki_aligned! { [INFO] [stderr] 150 | | pub struct CK_SLOT_INFO { [INFO] [stderr] 151 | | /// slotDescription and manufacturerID have been changed from [INFO] [stderr] 152 | | /// CK_CHAR to CK_UTF8CHAR for v2.10 [INFO] [stderr] ... | [INFO] [stderr] 161 | | } [INFO] [stderr] 162 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:631:1 [INFO] [stderr] | [INFO] [stderr] 631 | / /// CK_ATTRIBUTE is a structure that includes the type, length [INFO] [stderr] 632 | | /// and value of an attribute [INFO] [stderr] | |_____________________________^ [INFO] [stderr] 633 | / cryptoki_aligned! { [INFO] [stderr] 634 | | #[derive(Copy)] [INFO] [stderr] 635 | | pub struct CK_ATTRIBUTE { [INFO] [stderr] 636 | | pub attrType: CK_ATTRIBUTE_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 640 | | } [INFO] [stderr] 641 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:834:1 [INFO] [stderr] | [INFO] [stderr] 834 | /// CK_DATE is a structure that defines a date [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 835 | / cryptoki_aligned! { [INFO] [stderr] 836 | | #[derive(Debug, Default, Copy)] [INFO] [stderr] 837 | | pub struct CK_DATE { [INFO] [stderr] 838 | | /// the year ("1900" - "9999") [INFO] [stderr] ... | [INFO] [stderr] 844 | | } [INFO] [stderr] 845 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1249:1 [INFO] [stderr] | [INFO] [stderr] 1249 | / /// CK_MECHANISM is a structure that specifies a particular [INFO] [stderr] 1250 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1251 | / cryptoki_aligned! { [INFO] [stderr] 1252 | | #[derive(Debug, Copy)] [INFO] [stderr] 1253 | | pub struct CK_MECHANISM { [INFO] [stderr] 1254 | | pub mechanism: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1258 | | } [INFO] [stderr] 1259 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1264:1 [INFO] [stderr] | [INFO] [stderr] 1264 | / /// CK_MECHANISM_INFO provides information about a particular [INFO] [stderr] 1265 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1266 | / cryptoki_aligned! { [INFO] [stderr] 1267 | | #[derive(Debug, Default, Copy)] [INFO] [stderr] 1268 | | pub struct CK_MECHANISM_INFO { [INFO] [stderr] 1269 | | pub ulMinKeySize: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1272 | | } [INFO] [stderr] 1273 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1408:1 [INFO] [stderr] | [INFO] [stderr] 1408 | / /// CK_FUNCTION_LIST is a structure holding a Cryptoki spec [INFO] [stderr] 1409 | | /// version and pointers of appropriate types to all the [INFO] [stderr] 1410 | | /// Cryptoki functions [INFO] [stderr] | |______________________^ [INFO] [stderr] 1411 | / cryptoki_aligned! { [INFO] [stderr] 1412 | | #[derive(Debug, Copy)] [INFO] [stderr] 1413 | | pub struct CK_FUNCTION_LIST { [INFO] [stderr] 1414 | | pub version: CK_VERSION, [INFO] [stderr] ... | [INFO] [stderr] 1483 | | } [INFO] [stderr] 1484 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1501:1 [INFO] [stderr] | [INFO] [stderr] 1501 | / /// CK_C_INITIALIZE_ARGS provides the optional arguments to [INFO] [stderr] 1502 | | /// C_Initialize [INFO] [stderr] | |________________^ [INFO] [stderr] 1503 | / cryptoki_aligned! { [INFO] [stderr] 1504 | | #[derive(Debug, Copy)] [INFO] [stderr] 1505 | | pub struct CK_C_INITIALIZE_ARGS { [INFO] [stderr] 1506 | | pub CreateMutex: CK_CREATEMUTEX, [INFO] [stderr] ... | [INFO] [stderr] 1512 | | } [INFO] [stderr] 1513 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1564:1 [INFO] [stderr] | [INFO] [stderr] 1564 | / /// CK_RSA_PKCS_OAEP_PARAMS provides the parameters to the [INFO] [stderr] 1565 | | /// CKM_RSA_PKCS_OAEP mechanism. [INFO] [stderr] | |________________________________^ [INFO] [stderr] 1566 | / cryptoki_aligned! { [INFO] [stderr] 1567 | | #[derive(Debug, Copy)] [INFO] [stderr] 1568 | | pub struct CK_RSA_PKCS_OAEP_PARAMS { [INFO] [stderr] 1569 | | pub hashAlg: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1574 | | } [INFO] [stderr] 1575 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1580:1 [INFO] [stderr] | [INFO] [stderr] 1580 | / /// CK_RSA_PKCS_PSS_PARAMS provides the parameters to the [INFO] [stderr] 1581 | | /// CKM_RSA_PKCS_PSS mechanism(s). [INFO] [stderr] | |__________________________________^ [INFO] [stderr] 1582 | / cryptoki_aligned! { [INFO] [stderr] 1583 | | #[derive(Debug, Copy)] [INFO] [stderr] 1584 | | pub struct CK_RSA_PKCS_PSS_PARAMS { [INFO] [stderr] 1585 | | pub hashAlg: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1588 | | } [INFO] [stderr] 1589 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1609:1 [INFO] [stderr] | [INFO] [stderr] 1609 | / /// CK_ECDH1_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1610 | | /// CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE mechanisms, [INFO] [stderr] 1611 | | /// where each party contributes one key pair. [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] 1612 | / cryptoki_aligned! { [INFO] [stderr] 1613 | | pub struct CK_ECDH1_DERIVE_PARAMS { [INFO] [stderr] 1614 | | pub kdf: CK_EC_KDF_TYPE, [INFO] [stderr] 1615 | | pub ulSharedDataLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1619 | | } [INFO] [stderr] 1620 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1624:1 [INFO] [stderr] | [INFO] [stderr] 1624 | / /// CK_ECDH2_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1625 | | /// CKM_ECMQV_DERIVE mechanism, where each party contributes two key pairs. [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] 1626 | / cryptoki_aligned! { [INFO] [stderr] 1627 | | #[derive(Debug, Copy)] [INFO] [stderr] 1628 | | pub struct CK_ECDH2_DERIVE_PARAMS { [INFO] [stderr] 1629 | | pub kdf: CK_EC_KDF_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1638 | | } [INFO] [stderr] 1639 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1668:1 [INFO] [stderr] | [INFO] [stderr] 1668 | / /// CK_X9_42_DH1_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1669 | | /// CKM_X9_42_DH_DERIVE key derivation mechanism, where each party [INFO] [stderr] 1670 | | /// contributes one key pair [INFO] [stderr] | |____________________________^ [INFO] [stderr] 1671 | / cryptoki_aligned! { [INFO] [stderr] 1672 | | #[derive(Debug, Copy)] [INFO] [stderr] 1673 | | pub struct CK_X9_42_DH1_DERIVE_PARAMS { [INFO] [stderr] 1674 | | pub kdf: CK_X9_42_DH_KDF_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1679 | | } [INFO] [stderr] 1680 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1685:1 [INFO] [stderr] | [INFO] [stderr] 1685 | / /// CK_X9_42_DH2_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1686 | | /// CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation [INFO] [stderr] 1687 | | /// mechanisms, where each party contributes two key pairs [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] 1688 | / cryptoki_aligned! { [INFO] [stderr] 1689 | | #[derive(Debug, Copy)] [INFO] [stderr] 1690 | | pub struct CK_X9_42_DH2_DERIVE_PARAMS { [INFO] [stderr] 1691 | | pub kdf: CK_X9_42_DH_KDF_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1700 | | } [INFO] [stderr] 1701 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1725:1 [INFO] [stderr] | [INFO] [stderr] 1725 | / /// CK_KEA_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1726 | | /// CKM_KEA_DERIVE mechanism [INFO] [stderr] | |____________________________^ [INFO] [stderr] 1727 | / cryptoki_aligned! { [INFO] [stderr] 1728 | | #[derive(Debug, Copy)] [INFO] [stderr] 1729 | | pub struct CK_KEA_DERIVE_PARAMS { [INFO] [stderr] 1730 | | pub isSender: CK_BBOOL, [INFO] [stderr] ... | [INFO] [stderr] 1736 | | } [INFO] [stderr] 1737 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1750:1 [INFO] [stderr] | [INFO] [stderr] 1750 | / /// CK_RC2_CBC_PARAMS provides the parameters to the CKM_RC2_CBC [INFO] [stderr] 1751 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1752 | / cryptoki_aligned! { [INFO] [stderr] 1753 | | #[derive(Debug, Copy)] [INFO] [stderr] 1754 | | pub struct CK_RC2_CBC_PARAMS { [INFO] [stderr] 1755 | | /// effective bits (1-1024) [INFO] [stderr] ... | [INFO] [stderr] 1759 | | } [INFO] [stderr] 1760 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1766:1 [INFO] [stderr] | [INFO] [stderr] 1766 | / /// CK_RC2_MAC_GENERAL_PARAMS provides the parameters for the [INFO] [stderr] 1767 | | /// CKM_RC2_MAC_GENERAL mechanism [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 1768 | / cryptoki_aligned! { [INFO] [stderr] 1769 | | #[derive(Debug, Copy)] [INFO] [stderr] 1770 | | pub struct CK_RC2_MAC_GENERAL_PARAMS { [INFO] [stderr] 1771 | | /// effective bits (1-1024) [INFO] [stderr] ... | [INFO] [stderr] 1775 | | } [INFO] [stderr] 1776 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1782:1 [INFO] [stderr] | [INFO] [stderr] 1782 | / /// CK_RC5_PARAMS provides the parameters to the CKM_RC5_ECB and [INFO] [stderr] 1783 | | /// CKM_RC5_MAC mechanisms [INFO] [stderr] | |__________________________^ [INFO] [stderr] 1784 | / cryptoki_aligned! { [INFO] [stderr] 1785 | | #[derive(Debug, Copy)] [INFO] [stderr] 1786 | | pub struct CK_RC5_PARAMS { [INFO] [stderr] 1787 | | /// wordsize in bits [INFO] [stderr] ... | [INFO] [stderr] 1791 | | } [INFO] [stderr] 1792 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1798:1 [INFO] [stderr] | [INFO] [stderr] 1798 | / /// CK_RC5_CBC_PARAMS provides the parameters to the CKM_RC5_CBC [INFO] [stderr] 1799 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1800 | / cryptoki_aligned! { [INFO] [stderr] 1801 | | #[derive(Debug, Copy)] [INFO] [stderr] 1802 | | pub struct CK_RC5_CBC_PARAMS { [INFO] [stderr] 1803 | | /// wordsize in bits [INFO] [stderr] ... | [INFO] [stderr] 1811 | | } [INFO] [stderr] 1812 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1818:1 [INFO] [stderr] | [INFO] [stderr] 1818 | / /// CK_RC5_MAC_GENERAL_PARAMS provides the parameters for the [INFO] [stderr] 1819 | | /// CKM_RC5_MAC_GENERAL mechanism [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 1820 | / cryptoki_aligned! { [INFO] [stderr] 1821 | | #[derive(Debug, Copy)] [INFO] [stderr] 1822 | | pub struct CK_RC5_MAC_GENERAL_PARAMS { [INFO] [stderr] 1823 | | /// wordsize in bits [INFO] [stderr] ... | [INFO] [stderr] 1829 | | } [INFO] [stderr] 1830 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1866:1 [INFO] [stderr] | [INFO] [stderr] 1866 | / /// CK_SKIPJACK_PRIVATE_WRAP_PARAMS provides the parameters to the [INFO] [stderr] 1867 | | /// CKM_SKIPJACK_PRIVATE_WRAP mechanism [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 1868 | / cryptoki_aligned! { [INFO] [stderr] 1869 | | #[derive(Debug, Copy)] [INFO] [stderr] 1870 | | pub struct CK_SKIPJACK_PRIVATE_WRAP_PARAMS { [INFO] [stderr] 1871 | | pub ulPasswordLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1882 | | } [INFO] [stderr] 1883 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1889:1 [INFO] [stderr] | [INFO] [stderr] 1889 | / /// CK_SKIPJACK_RELAYX_PARAMS provides the parameters to the [INFO] [stderr] 1890 | | /// CKM_SKIPJACK_RELAYX mechanism [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 1891 | / cryptoki_aligned! { [INFO] [stderr] 1892 | | #[derive(Debug, Copy)] [INFO] [stderr] 1893 | | pub struct CK_SKIPJACK_RELAYX_PARAMS { [INFO] [stderr] 1894 | | pub ulOldWrappedXLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1908 | | } [INFO] [stderr] 1909 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1930:1 [INFO] [stderr] | [INFO] [stderr] 1930 | / /// CK_KEY_WRAP_SET_OAEP_PARAMS provides the parameters to the [INFO] [stderr] 1931 | | /// CKM_KEY_WRAP_SET_OAEP mechanism [INFO] [stderr] | |___________________________________^ [INFO] [stderr] 1932 | / cryptoki_aligned! { [INFO] [stderr] 1933 | | #[derive(Debug, Copy)] [INFO] [stderr] 1934 | | pub struct CK_KEY_WRAP_SET_OAEP_PARAMS { [INFO] [stderr] 1935 | | /// block contents byte [INFO] [stderr] ... | [INFO] [stderr] 1941 | | } [INFO] [stderr] 1942 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2147:1 [INFO] [stderr] | [INFO] [stderr] 2147 | / /// CK_PKCS5_PBKD2_PARAMS is a structure that provides the [INFO] [stderr] 2148 | | /// parameters to the CKM_PKCS5_PBKD2 mechanism. [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] 2149 | / cryptoki_aligned! { [INFO] [stderr] 2150 | | #[derive(Debug, Copy)] [INFO] [stderr] 2151 | | pub struct CK_PKCS5_PBKD2_PARAMS { [INFO] [stderr] 2152 | | pub saltSource: CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 2161 | | } [INFO] [stderr] 2162 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2167:1 [INFO] [stderr] | [INFO] [stderr] 2167 | / /// CK_PKCS5_PBKD2_PARAMS2 is a corrected version of the CK_PKCS5_PBKD2_PARAMS [INFO] [stderr] 2168 | | /// structure that provides the parameters to the CKM_PKCS5_PBKD2 mechanism [INFO] [stderr] 2169 | | /// noting that the ulPasswordLen field is a CK_ULONG and not a CK_ULONG_PTR. [INFO] [stderr] | |_____________________________________________________________________________^ [INFO] [stderr] 2170 | / cryptoki_aligned! { [INFO] [stderr] 2171 | | #[derive(Debug, Copy)] [INFO] [stderr] 2172 | | pub struct CK_PKCS5_PBKD2_PARAMS2 { [INFO] [stderr] 2173 | | pub saltSource: CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 2182 | | } [INFO] [stderr] 2183 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2296:1 [INFO] [stderr] | [INFO] [stderr] 2296 | /// Deprecated. Use CK_GCM_PARAMS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2297 | / cryptoki_aligned! { [INFO] [stderr] 2298 | | #[derive(Debug, Copy)] [INFO] [stderr] 2299 | | pub struct CK_AES_GCM_PARAMS { [INFO] [stderr] 2300 | | pub pIv: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 2306 | | } [INFO] [stderr] 2307 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2312:1 [INFO] [stderr] | [INFO] [stderr] 2312 | /// Deprecated. Use CK_CCM_PARAMS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2313 | / cryptoki_aligned! { [INFO] [stderr] 2314 | | #[derive(Debug, Copy)] [INFO] [stderr] 2315 | | pub struct CK_AES_CCM_PARAMS { [INFO] [stderr] 2316 | | pub ulDataLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 2322 | | } [INFO] [stderr] 2323 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:161:44 [INFO] [stderr] | [INFO] [stderr] 161 | let mut list: CK_FUNCTION_LIST_PTR = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:310:47 [INFO] [stderr] | [INFO] [stderr] 310 | let list: CK_FUNCTION_LIST_PTR = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.66s [INFO] running `"docker" "inspect" "6872cd59b8842747271d3ee9e315d907f3e8f5812325e23de6d91fdf8c26f215"` [INFO] running `"docker" "rm" "-f" "6872cd59b8842747271d3ee9e315d907f3e8f5812325e23de6d91fdf8c26f215"` [INFO] [stdout] 6872cd59b8842747271d3ee9e315d907f3e8f5812325e23de6d91fdf8c26f215 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 88da3c83c567aded4384fd7cac0bd7dc6673f1b6deb70dcd6fa12bed752e215e [INFO] running `"docker" "start" "-a" "88da3c83c567aded4384fd7cac0bd7dc6673f1b6deb70dcd6fa12bed752e215e"` [INFO] [stderr] Compiling pkcs11 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | /// CK_SLOT_INFO provides information about a slot [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 149 | / cryptoki_aligned! { [INFO] [stderr] 150 | | pub struct CK_SLOT_INFO { [INFO] [stderr] 151 | | /// slotDescription and manufacturerID have been changed from [INFO] [stderr] 152 | | /// CK_CHAR to CK_UTF8CHAR for v2.10 [INFO] [stderr] ... | [INFO] [stderr] 161 | | } [INFO] [stderr] 162 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:631:1 [INFO] [stderr] | [INFO] [stderr] 631 | / /// CK_ATTRIBUTE is a structure that includes the type, length [INFO] [stderr] 632 | | /// and value of an attribute [INFO] [stderr] | |_____________________________^ [INFO] [stderr] 633 | / cryptoki_aligned! { [INFO] [stderr] 634 | | #[derive(Copy)] [INFO] [stderr] 635 | | pub struct CK_ATTRIBUTE { [INFO] [stderr] 636 | | pub attrType: CK_ATTRIBUTE_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 640 | | } [INFO] [stderr] 641 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:834:1 [INFO] [stderr] | [INFO] [stderr] 834 | /// CK_DATE is a structure that defines a date [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 835 | / cryptoki_aligned! { [INFO] [stderr] 836 | | #[derive(Debug, Default, Copy)] [INFO] [stderr] 837 | | pub struct CK_DATE { [INFO] [stderr] 838 | | /// the year ("1900" - "9999") [INFO] [stderr] ... | [INFO] [stderr] 844 | | } [INFO] [stderr] 845 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1249:1 [INFO] [stderr] | [INFO] [stderr] 1249 | / /// CK_MECHANISM is a structure that specifies a particular [INFO] [stderr] 1250 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1251 | / cryptoki_aligned! { [INFO] [stderr] 1252 | | #[derive(Debug, Copy)] [INFO] [stderr] 1253 | | pub struct CK_MECHANISM { [INFO] [stderr] 1254 | | pub mechanism: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1258 | | } [INFO] [stderr] 1259 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1264:1 [INFO] [stderr] | [INFO] [stderr] 1264 | / /// CK_MECHANISM_INFO provides information about a particular [INFO] [stderr] 1265 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1266 | / cryptoki_aligned! { [INFO] [stderr] 1267 | | #[derive(Debug, Default, Copy)] [INFO] [stderr] 1268 | | pub struct CK_MECHANISM_INFO { [INFO] [stderr] 1269 | | pub ulMinKeySize: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1272 | | } [INFO] [stderr] 1273 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1408:1 [INFO] [stderr] | [INFO] [stderr] 1408 | / /// CK_FUNCTION_LIST is a structure holding a Cryptoki spec [INFO] [stderr] 1409 | | /// version and pointers of appropriate types to all the [INFO] [stderr] 1410 | | /// Cryptoki functions [INFO] [stderr] | |______________________^ [INFO] [stderr] 1411 | / cryptoki_aligned! { [INFO] [stderr] 1412 | | #[derive(Debug, Copy)] [INFO] [stderr] 1413 | | pub struct CK_FUNCTION_LIST { [INFO] [stderr] 1414 | | pub version: CK_VERSION, [INFO] [stderr] ... | [INFO] [stderr] 1483 | | } [INFO] [stderr] 1484 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1501:1 [INFO] [stderr] | [INFO] [stderr] 1501 | / /// CK_C_INITIALIZE_ARGS provides the optional arguments to [INFO] [stderr] 1502 | | /// C_Initialize [INFO] [stderr] | |________________^ [INFO] [stderr] 1503 | / cryptoki_aligned! { [INFO] [stderr] 1504 | | #[derive(Debug, Copy)] [INFO] [stderr] 1505 | | pub struct CK_C_INITIALIZE_ARGS { [INFO] [stderr] 1506 | | pub CreateMutex: CK_CREATEMUTEX, [INFO] [stderr] ... | [INFO] [stderr] 1512 | | } [INFO] [stderr] 1513 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1564:1 [INFO] [stderr] | [INFO] [stderr] 1564 | / /// CK_RSA_PKCS_OAEP_PARAMS provides the parameters to the [INFO] [stderr] 1565 | | /// CKM_RSA_PKCS_OAEP mechanism. [INFO] [stderr] | |________________________________^ [INFO] [stderr] 1566 | / cryptoki_aligned! { [INFO] [stderr] 1567 | | #[derive(Debug, Copy)] [INFO] [stderr] 1568 | | pub struct CK_RSA_PKCS_OAEP_PARAMS { [INFO] [stderr] 1569 | | pub hashAlg: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1574 | | } [INFO] [stderr] 1575 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1580:1 [INFO] [stderr] | [INFO] [stderr] 1580 | / /// CK_RSA_PKCS_PSS_PARAMS provides the parameters to the [INFO] [stderr] 1581 | | /// CKM_RSA_PKCS_PSS mechanism(s). [INFO] [stderr] | |__________________________________^ [INFO] [stderr] 1582 | / cryptoki_aligned! { [INFO] [stderr] 1583 | | #[derive(Debug, Copy)] [INFO] [stderr] 1584 | | pub struct CK_RSA_PKCS_PSS_PARAMS { [INFO] [stderr] 1585 | | pub hashAlg: CK_MECHANISM_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1588 | | } [INFO] [stderr] 1589 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1609:1 [INFO] [stderr] | [INFO] [stderr] 1609 | / /// CK_ECDH1_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1610 | | /// CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE mechanisms, [INFO] [stderr] 1611 | | /// where each party contributes one key pair. [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] 1612 | / cryptoki_aligned! { [INFO] [stderr] 1613 | | pub struct CK_ECDH1_DERIVE_PARAMS { [INFO] [stderr] 1614 | | pub kdf: CK_EC_KDF_TYPE, [INFO] [stderr] 1615 | | pub ulSharedDataLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1619 | | } [INFO] [stderr] 1620 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1624:1 [INFO] [stderr] | [INFO] [stderr] 1624 | / /// CK_ECDH2_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1625 | | /// CKM_ECMQV_DERIVE mechanism, where each party contributes two key pairs. [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] 1626 | / cryptoki_aligned! { [INFO] [stderr] 1627 | | #[derive(Debug, Copy)] [INFO] [stderr] 1628 | | pub struct CK_ECDH2_DERIVE_PARAMS { [INFO] [stderr] 1629 | | pub kdf: CK_EC_KDF_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1638 | | } [INFO] [stderr] 1639 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1668:1 [INFO] [stderr] | [INFO] [stderr] 1668 | / /// CK_X9_42_DH1_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1669 | | /// CKM_X9_42_DH_DERIVE key derivation mechanism, where each party [INFO] [stderr] 1670 | | /// contributes one key pair [INFO] [stderr] | |____________________________^ [INFO] [stderr] 1671 | / cryptoki_aligned! { [INFO] [stderr] 1672 | | #[derive(Debug, Copy)] [INFO] [stderr] 1673 | | pub struct CK_X9_42_DH1_DERIVE_PARAMS { [INFO] [stderr] 1674 | | pub kdf: CK_X9_42_DH_KDF_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1679 | | } [INFO] [stderr] 1680 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1685:1 [INFO] [stderr] | [INFO] [stderr] 1685 | / /// CK_X9_42_DH2_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1686 | | /// CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation [INFO] [stderr] 1687 | | /// mechanisms, where each party contributes two key pairs [INFO] [stderr] | |__________________________________________________________^ [INFO] [stderr] 1688 | / cryptoki_aligned! { [INFO] [stderr] 1689 | | #[derive(Debug, Copy)] [INFO] [stderr] 1690 | | pub struct CK_X9_42_DH2_DERIVE_PARAMS { [INFO] [stderr] 1691 | | pub kdf: CK_X9_42_DH_KDF_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 1700 | | } [INFO] [stderr] 1701 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1725:1 [INFO] [stderr] | [INFO] [stderr] 1725 | / /// CK_KEA_DERIVE_PARAMS provides the parameters to the [INFO] [stderr] 1726 | | /// CKM_KEA_DERIVE mechanism [INFO] [stderr] | |____________________________^ [INFO] [stderr] 1727 | / cryptoki_aligned! { [INFO] [stderr] 1728 | | #[derive(Debug, Copy)] [INFO] [stderr] 1729 | | pub struct CK_KEA_DERIVE_PARAMS { [INFO] [stderr] 1730 | | pub isSender: CK_BBOOL, [INFO] [stderr] ... | [INFO] [stderr] 1736 | | } [INFO] [stderr] 1737 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1750:1 [INFO] [stderr] | [INFO] [stderr] 1750 | / /// CK_RC2_CBC_PARAMS provides the parameters to the CKM_RC2_CBC [INFO] [stderr] 1751 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1752 | / cryptoki_aligned! { [INFO] [stderr] 1753 | | #[derive(Debug, Copy)] [INFO] [stderr] 1754 | | pub struct CK_RC2_CBC_PARAMS { [INFO] [stderr] 1755 | | /// effective bits (1-1024) [INFO] [stderr] ... | [INFO] [stderr] 1759 | | } [INFO] [stderr] 1760 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1766:1 [INFO] [stderr] | [INFO] [stderr] 1766 | / /// CK_RC2_MAC_GENERAL_PARAMS provides the parameters for the [INFO] [stderr] 1767 | | /// CKM_RC2_MAC_GENERAL mechanism [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 1768 | / cryptoki_aligned! { [INFO] [stderr] 1769 | | #[derive(Debug, Copy)] [INFO] [stderr] 1770 | | pub struct CK_RC2_MAC_GENERAL_PARAMS { [INFO] [stderr] 1771 | | /// effective bits (1-1024) [INFO] [stderr] ... | [INFO] [stderr] 1775 | | } [INFO] [stderr] 1776 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1782:1 [INFO] [stderr] | [INFO] [stderr] 1782 | / /// CK_RC5_PARAMS provides the parameters to the CKM_RC5_ECB and [INFO] [stderr] 1783 | | /// CKM_RC5_MAC mechanisms [INFO] [stderr] | |__________________________^ [INFO] [stderr] 1784 | / cryptoki_aligned! { [INFO] [stderr] 1785 | | #[derive(Debug, Copy)] [INFO] [stderr] 1786 | | pub struct CK_RC5_PARAMS { [INFO] [stderr] 1787 | | /// wordsize in bits [INFO] [stderr] ... | [INFO] [stderr] 1791 | | } [INFO] [stderr] 1792 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1798:1 [INFO] [stderr] | [INFO] [stderr] 1798 | / /// CK_RC5_CBC_PARAMS provides the parameters to the CKM_RC5_CBC [INFO] [stderr] 1799 | | /// mechanism [INFO] [stderr] | |_____________^ [INFO] [stderr] 1800 | / cryptoki_aligned! { [INFO] [stderr] 1801 | | #[derive(Debug, Copy)] [INFO] [stderr] 1802 | | pub struct CK_RC5_CBC_PARAMS { [INFO] [stderr] 1803 | | /// wordsize in bits [INFO] [stderr] ... | [INFO] [stderr] 1811 | | } [INFO] [stderr] 1812 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1818:1 [INFO] [stderr] | [INFO] [stderr] 1818 | / /// CK_RC5_MAC_GENERAL_PARAMS provides the parameters for the [INFO] [stderr] 1819 | | /// CKM_RC5_MAC_GENERAL mechanism [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 1820 | / cryptoki_aligned! { [INFO] [stderr] 1821 | | #[derive(Debug, Copy)] [INFO] [stderr] 1822 | | pub struct CK_RC5_MAC_GENERAL_PARAMS { [INFO] [stderr] 1823 | | /// wordsize in bits [INFO] [stderr] ... | [INFO] [stderr] 1829 | | } [INFO] [stderr] 1830 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1866:1 [INFO] [stderr] | [INFO] [stderr] 1866 | / /// CK_SKIPJACK_PRIVATE_WRAP_PARAMS provides the parameters to the [INFO] [stderr] 1867 | | /// CKM_SKIPJACK_PRIVATE_WRAP mechanism [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] 1868 | / cryptoki_aligned! { [INFO] [stderr] 1869 | | #[derive(Debug, Copy)] [INFO] [stderr] 1870 | | pub struct CK_SKIPJACK_PRIVATE_WRAP_PARAMS { [INFO] [stderr] 1871 | | pub ulPasswordLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1882 | | } [INFO] [stderr] 1883 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1889:1 [INFO] [stderr] | [INFO] [stderr] 1889 | / /// CK_SKIPJACK_RELAYX_PARAMS provides the parameters to the [INFO] [stderr] 1890 | | /// CKM_SKIPJACK_RELAYX mechanism [INFO] [stderr] | |_________________________________^ [INFO] [stderr] 1891 | / cryptoki_aligned! { [INFO] [stderr] 1892 | | #[derive(Debug, Copy)] [INFO] [stderr] 1893 | | pub struct CK_SKIPJACK_RELAYX_PARAMS { [INFO] [stderr] 1894 | | pub ulOldWrappedXLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 1908 | | } [INFO] [stderr] 1909 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:1930:1 [INFO] [stderr] | [INFO] [stderr] 1930 | / /// CK_KEY_WRAP_SET_OAEP_PARAMS provides the parameters to the [INFO] [stderr] 1931 | | /// CKM_KEY_WRAP_SET_OAEP mechanism [INFO] [stderr] | |___________________________________^ [INFO] [stderr] 1932 | / cryptoki_aligned! { [INFO] [stderr] 1933 | | #[derive(Debug, Copy)] [INFO] [stderr] 1934 | | pub struct CK_KEY_WRAP_SET_OAEP_PARAMS { [INFO] [stderr] 1935 | | /// block contents byte [INFO] [stderr] ... | [INFO] [stderr] 1941 | | } [INFO] [stderr] 1942 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2147:1 [INFO] [stderr] | [INFO] [stderr] 2147 | / /// CK_PKCS5_PBKD2_PARAMS is a structure that provides the [INFO] [stderr] 2148 | | /// parameters to the CKM_PKCS5_PBKD2 mechanism. [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] 2149 | / cryptoki_aligned! { [INFO] [stderr] 2150 | | #[derive(Debug, Copy)] [INFO] [stderr] 2151 | | pub struct CK_PKCS5_PBKD2_PARAMS { [INFO] [stderr] 2152 | | pub saltSource: CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 2161 | | } [INFO] [stderr] 2162 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2167:1 [INFO] [stderr] | [INFO] [stderr] 2167 | / /// CK_PKCS5_PBKD2_PARAMS2 is a corrected version of the CK_PKCS5_PBKD2_PARAMS [INFO] [stderr] 2168 | | /// structure that provides the parameters to the CKM_PKCS5_PBKD2 mechanism [INFO] [stderr] 2169 | | /// noting that the ulPasswordLen field is a CK_ULONG and not a CK_ULONG_PTR. [INFO] [stderr] | |_____________________________________________________________________________^ [INFO] [stderr] 2170 | / cryptoki_aligned! { [INFO] [stderr] 2171 | | #[derive(Debug, Copy)] [INFO] [stderr] 2172 | | pub struct CK_PKCS5_PBKD2_PARAMS2 { [INFO] [stderr] 2173 | | pub saltSource: CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE, [INFO] [stderr] ... | [INFO] [stderr] 2182 | | } [INFO] [stderr] 2183 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2296:1 [INFO] [stderr] | [INFO] [stderr] 2296 | /// Deprecated. Use CK_GCM_PARAMS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2297 | / cryptoki_aligned! { [INFO] [stderr] 2298 | | #[derive(Debug, Copy)] [INFO] [stderr] 2299 | | pub struct CK_AES_GCM_PARAMS { [INFO] [stderr] 2300 | | pub pIv: CK_BYTE_PTR, [INFO] [stderr] ... | [INFO] [stderr] 2306 | | } [INFO] [stderr] 2307 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/types.rs:2312:1 [INFO] [stderr] | [INFO] [stderr] 2312 | /// Deprecated. Use CK_CCM_PARAMS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2313 | / cryptoki_aligned! { [INFO] [stderr] 2314 | | #[derive(Debug, Copy)] [INFO] [stderr] 2315 | | pub struct CK_AES_CCM_PARAMS { [INFO] [stderr] 2316 | | pub ulDataLen: CK_ULONG, [INFO] [stderr] ... | [INFO] [stderr] 2322 | | } [INFO] [stderr] 2323 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for macro expansions [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:161:44 [INFO] [stderr] | [INFO] [stderr] 161 | let mut list: CK_FUNCTION_LIST_PTR = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:310:47 [INFO] [stderr] | [INFO] [stderr] 310 | let list: CK_FUNCTION_LIST_PTR = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `"docker" "inspect" "88da3c83c567aded4384fd7cac0bd7dc6673f1b6deb70dcd6fa12bed752e215e"` [INFO] running `"docker" "rm" "-f" "88da3c83c567aded4384fd7cac0bd7dc6673f1b6deb70dcd6fa12bed752e215e"` [INFO] [stdout] 88da3c83c567aded4384fd7cac0bd7dc6673f1b6deb70dcd6fa12bed752e215e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] 1dfa60f19328126cd9f4ebe7157667ebabdbb551dbbd16702ade66efde2f6c1f [INFO] running `"docker" "start" "-a" "1dfa60f19328126cd9f4ebe7157667ebabdbb551dbbd16702ade66efde2f6c1f"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pkcs11-6dac326ade7d3259 [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test tests::attr_bool ... ok [INFO] [stdout] test tests::attr_ck_long ... ok [INFO] [stdout] test tests::attr_bytes ... ok [INFO] [stdout] test tests::attr_biginteger ... ok [INFO] [stdout] test tests::attr_date ... ok [INFO] [stdout] test tests::attr_ck_ulong ... ok [INFO] [stdout] test tests::attr_string ... ok [INFO] [stdout] test tests::ctx_cancel_function ... FAILED [INFO] [stdout] test tests::ctx_close_session ... FAILED [INFO] [stdout] test tests::ctx_create_object ... FAILED [INFO] [stdout] test tests::ctx_get_function_list ... FAILED [INFO] [stdout] test tests::ctx_derive_key ... FAILED [INFO] [stdout] test tests::ctx_generate_random ... FAILED [INFO] [stdout] test tests::ctx_copy_object ... FAILED [INFO] [stdout] test tests::ctx_get_attribute_value ... FAILED [INFO] [stdout] test tests::ctx_generate_key ... FAILED [INFO] [stdout] test tests::ctx_find_objects_final ... FAILED [INFO] [stdout] test tests::ctx_generate_key_pair ... FAILED [INFO] [stdout] test tests::ctx_destroy_object ... FAILED [INFO] [stdout] test tests::ctx_find_objects_init ... FAILED [INFO] [stdout] test tests::ctx_find_objects ... FAILED [INFO] [stdout] test tests::ctx_get_function_status ... FAILED [INFO] [stdout] test tests::ctx_finalize ... FAILED [INFO] [stdout] test tests::ctx_get_info ... FAILED [INFO] [stdout] test tests::ctx_get_mechanism_lists ... FAILED [INFO] [stdout] test tests::ctx_get_slot_infos ... FAILED [INFO] [stdout] test tests::ctx_get_object_size ... FAILED [INFO] [stdout] test tests::ctx_get_mechanism_infos ... FAILED [INFO] [stdout] test tests::ctx_init_token ... FAILED [INFO] [stdout] test tests::ctx_new ... FAILED [INFO] [stdout] test tests::ctx_get_slot_list ... FAILED [INFO] [stdout] test tests::ctx_get_token_infos ... FAILED [INFO] [stdout] test tests::ctx_get_session_info ... FAILED [INFO] [stdout] test tests::ctx_init_pin ... FAILED [INFO] [stdout] test tests::ctx_logout ... FAILED [INFO] [stdout] test tests::ctx_initialize ... FAILED [INFO] [stdout] test tests::ctx_login ... FAILED [INFO] [stdout] test tests::ctx_new_and_initialize ... FAILED [INFO] [stdout] test tests::ctx_set_pin ... FAILED [INFO] [stdout] test tests::ctx_seed_random ... FAILED [INFO] [stdout] test tests::ctx_open_session ... FAILED [INFO] [stdout] test tests::test_label_from_str ... ok [INFO] [stdout] test tests::ctx_wait_for_slot_event ... FAILED [INFO] [stdout] test tests::ctx_set_attribute_value ... FAILED [INFO] [stdout] test tests::ctx_wrap_key ... FAILED [INFO] [stdout] test tests::ctx_unwrap_key ... FAILED [INFO] [stdout] test tests::ctx_close_all_sessions ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_cancel_function stdout ---- [INFO] [stdout] thread 'tests::ctx_cancel_function' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace. [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_close_session stdout ---- [INFO] [stdout] thread 'tests::ctx_close_session' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_create_object stdout ---- [INFO] [stdout] thread 'tests::ctx_create_object' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_function_list stdout ---- [INFO] [stdout] thread 'tests::ctx_get_function_list' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_derive_key stdout ---- [INFO] [stdout] thread 'tests::ctx_derive_key' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_generate_random stdout ---- [INFO] [stdout] thread 'tests::ctx_generate_random' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_copy_object stdout ---- [INFO] [stdout] thread 'tests::ctx_copy_object' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_attribute_value stdout ---- [INFO] [stdout] thread 'tests::ctx_get_attribute_value' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_generate_key stdout ---- [INFO] [stdout] thread 'tests::ctx_generate_key' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_find_objects_final stdout ---- [INFO] [stdout] thread 'tests::ctx_find_objects_final' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_generate_key_pair stdout ---- [INFO] [stdout] thread 'tests::ctx_generate_key_pair' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_destroy_object stdout ---- [INFO] [stdout] thread 'tests::ctx_destroy_object' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_find_objects_init stdout ---- [INFO] [stdout] thread 'tests::ctx_find_objects_init' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_find_objects stdout ---- [INFO] [stdout] thread 'tests::ctx_find_objects' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_function_status stdout ---- [INFO] [stdout] thread 'tests::ctx_get_function_status' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_finalize stdout ---- [INFO] [stdout] thread 'tests::ctx_finalize' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_info stdout ---- [INFO] [stdout] thread 'tests::ctx_get_info' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_mechanism_lists stdout ---- [INFO] [stdout] thread 'tests::ctx_get_mechanism_lists' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_slot_infos stdout ---- [INFO] [stdout] thread 'tests::ctx_get_slot_infos' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_object_size stdout ---- [INFO] [stdout] thread 'tests::ctx_get_object_size' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_mechanism_infos stdout ---- [INFO] [stdout] thread 'tests::ctx_get_mechanism_infos' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_init_token stdout ---- [INFO] [stdout] thread 'tests::ctx_init_token' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_new stdout ---- [INFO] [stdout] thread 'tests::ctx_new' panicked at 'failed to create new context: IO: /usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory', src/tests.rs:62:3 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_slot_list stdout ---- [INFO] [stdout] thread 'tests::ctx_get_slot_list' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_token_infos stdout ---- [INFO] [stdout] thread 'tests::ctx_get_token_infos' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_get_session_info stdout ---- [INFO] [stdout] thread 'tests::ctx_get_session_info' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_init_pin stdout ---- [INFO] [stdout] thread 'tests::ctx_init_pin' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_logout stdout ---- [INFO] [stdout] thread 'tests::ctx_logout' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_initialize stdout ---- [INFO] [stdout] thread 'tests::ctx_initialize' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_login stdout ---- [INFO] [stdout] thread 'tests::ctx_login' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_new_and_initialize stdout ---- [INFO] [stdout] thread 'tests::ctx_new_and_initialize' panicked at 'failed to create or initialize new context: IO: /usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory', src/tests.rs:84:3 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_set_pin stdout ---- [INFO] [stdout] thread 'tests::ctx_set_pin' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_seed_random stdout ---- [INFO] [stdout] thread 'tests::ctx_seed_random' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_open_session stdout ---- [INFO] [stdout] thread 'tests::ctx_open_session' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_wait_for_slot_event stdout ---- [INFO] [stdout] thread 'tests::ctx_wait_for_slot_event' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_set_attribute_value stdout ---- [INFO] [stdout] thread 'tests::ctx_set_attribute_value' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_wrap_key stdout ---- [INFO] [stdout] thread 'tests::ctx_wrap_key' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_unwrap_key stdout ---- [INFO] [stdout] thread 'tests::ctx_unwrap_key' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- tests::ctx_close_all_sessions stdout ---- [INFO] [stdout] thread 'tests::ctx_close_all_sessions' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: "/usr/local/lib/softhsm/libsofthsm2.so: cannot open shared object file: No such file or directory" })', src/libcore/result.rs:1165:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ed17899994 - backtrace::backtrace::libunwind::trace::hf625d18232cbbbd4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x55ed17899994 - backtrace::backtrace::trace_unsynchronized::h41d74150fc6ff542 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55ed17899994 - std::sys_common::backtrace::_print_fmt::h85d37830c667a1f9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:76 [INFO] [stdout] 3: 0x55ed17899994 - ::fmt::h2b7ac01d5feaf9b2 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:60 [INFO] [stdout] 4: 0x55ed178b49ec - core::fmt::write::h7fd0d904495c035f [INFO] [stdout] at src/libcore/fmt/mod.rs:1030 [INFO] [stdout] 5: 0x55ed17830745 - std::io::Write::write_fmt::h424452e6ba861394 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/io/mod.rs:1412 [INFO] [stdout] 6: 0x55ed178955f1 - std::io::impls::>::write_fmt::h814a51d8ae1dee4a [INFO] [stdout] at src/libstd/io/impls.rs:141 [INFO] [stdout] 7: 0x55ed1789bea5 - std::sys_common::backtrace::_print::h4c743f7c274a5a74 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:64 [INFO] [stdout] 8: 0x55ed1789bea5 - std::sys_common::backtrace::print::ha5c4f4bf03800d4d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55ed1789bea5 - std::panicking::default_hook::{{closure}}::h8b842185774c09e6 [INFO] [stdout] at src/libstd/panicking.rs:196 [INFO] [stdout] 10: 0x55ed1789bb2c - std::panicking::default_hook::hd8ec13ee1bc2a65a [INFO] [stdout] at src/libstd/panicking.rs:207 [INFO] [stdout] 11: 0x55ed1789c5a5 - std::panicking::rust_panic_with_hook::hf3b27166e5f403e7 [INFO] [stdout] at src/libstd/panicking.rs:473 [INFO] [stdout] 12: 0x55ed1789c142 - std::panicking::continue_panic_fmt::hd961751be84a6f83 [INFO] [stdout] at src/libstd/panicking.rs:380 [INFO] [stdout] 13: 0x55ed1789c036 - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:307 [INFO] [stdout] 14: 0x55ed178b20da - core::panicking::panic_fmt::h467e0364f9237670 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 15: 0x55ed178b21d7 - core::result::unwrap_failed::h38f3a56f1dadf080 [INFO] [stdout] at src/libcore/result.rs:1165 [INFO] [stdout] 16: 0x55ed17827c4e - core::result::Result::unwrap::ha3262fb484afb278 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libcore/result.rs:933 [INFO] [stdout] 17: 0x55ed17804131 - pkcs11::tests::ctx_close_all_sessions::h0638c7aa06cd2783 [INFO] [stdout] at src/tests.rs:340 [INFO] [stdout] 18: 0x55ed178040ca - pkcs11::tests::ctx_close_all_sessions::{{closure}}::h3a3d39eba7970362 [INFO] [stdout] at src/tests.rs:339 [INFO] [stdout] 19: 0x55ed1781688e - core::ops::function::FnOnce::call_once::hbbbcd5334ef92fc8 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libcore/ops/function.rs:227 [INFO] [stdout] 20: 0x55ed1783a63f - as core::ops::function::FnOnce>::call_once::h8b428e8a43aaf8e9 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/liballoc/boxed.rs:922 [INFO] [stdout] 21: 0x55ed1789ecaa - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:80 [INFO] [stdout] 22: 0x55ed17854e4e - std::panicking::try::heccce20d527a3513 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panicking.rs:271 [INFO] [stdout] 23: 0x55ed17854e4e - std::panic::catch_unwind::h7fd8f5d3271f1692 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55ed17854e4e - test::run_test::run_test_inner::{{closure}}::h88b46e5c359957e5 [INFO] [stdout] at src/libtest/lib.rs:1413 [INFO] [stdout] 25: 0x55ed1782feb5 - std::sys_common::backtrace::__rust_begin_short_backtrace::h00847676c8212941 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/sys_common/backtrace.rs:126 [INFO] [stdout] 26: 0x55ed17834045 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h5dd37acd2295488e [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/thread/mod.rs:470 [INFO] [stdout] 27: 0x55ed17834045 - as core::ops::function::FnOnce<()>>::call_once::h9d32b103da0b97c6 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panic.rs:315 [INFO] [stdout] 28: 0x55ed17834045 - std::panicking::try::do_call::h2bd819a3056c57cd [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panicking.rs:292 [INFO] [stdout] 29: 0x55ed1789ecaa - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:80 [INFO] [stdout] 30: 0x55ed178345f2 - std::panicking::try::h243a25457a848a1a [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panicking.rs:271 [INFO] [stdout] 31: 0x55ed178345f2 - std::panic::catch_unwind::h74b81f55e55e757c [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x55ed178345f2 - std::thread::Builder::spawn_unchecked::{{closure}}::h4c2d214a2cffa6cf [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libstd/thread/mod.rs:469 [INFO] [stdout] 33: 0x55ed178345f2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8a8a187b3fb58e53 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/libcore/ops/function.rs:227 [INFO] [stdout] 34: 0x55ed17891eff - as core::ops::function::FnOnce>::call_once::h3cdef3b7ea22cd61 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/liballoc/boxed.rs:922 [INFO] [stdout] 35: 0x55ed1789e400 - as core::ops::function::FnOnce>::call_once::hc8f25720bf0d5424 [INFO] [stdout] at /rustc/5752b6348ee6971573b278c315a02193c847ee32/src/liballoc/boxed.rs:922 [INFO] [stdout] 36: 0x55ed1789e400 - std::sys_common::thread::start_thread::h7e8885ccfd5d1932 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 37: 0x55ed1789e400 - std::sys::unix::thread::Thread::new::thread_start::h5d24df932d688baf [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 38: 0x7fcbe61ac6db - start_thread [INFO] [stdout] 39: 0x7fcbe5cbd88f - __clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::ctx_cancel_function [INFO] [stdout] tests::ctx_close_all_sessions [INFO] [stdout] tests::ctx_close_session [INFO] [stdout] tests::ctx_copy_object [INFO] [stdout] tests::ctx_create_object [INFO] [stdout] tests::ctx_derive_key [INFO] [stdout] tests::ctx_destroy_object [INFO] [stdout] tests::ctx_finalize [INFO] [stdout] tests::ctx_find_objects [INFO] [stdout] tests::ctx_find_objects_final [INFO] [stdout] tests::ctx_find_objects_init [INFO] [stdout] tests::ctx_generate_key [INFO] [stdout] tests::ctx_generate_key_pair [INFO] [stdout] tests::ctx_generate_random [INFO] [stdout] tests::ctx_get_attribute_value [INFO] [stdout] tests::ctx_get_function_list [INFO] [stdout] tests::ctx_get_function_status [INFO] [stdout] tests::ctx_get_info [INFO] [stdout] tests::ctx_get_mechanism_infos [INFO] [stdout] tests::ctx_get_mechanism_lists [INFO] [stdout] tests::ctx_get_object_size [INFO] [stdout] tests::ctx_get_session_info [INFO] [stdout] tests::ctx_get_slot_infos [INFO] [stdout] tests::ctx_get_slot_list [INFO] [stdout] tests::ctx_get_token_infos [INFO] [stdout] tests::ctx_init_pin [INFO] [stdout] tests::ctx_init_token [INFO] [stdout] tests::ctx_initialize [INFO] [stdout] tests::ctx_login [INFO] [stdout] tests::ctx_logout [INFO] [stdout] tests::ctx_new [INFO] [stdout] tests::ctx_new_and_initialize [INFO] [stdout] tests::ctx_open_session [INFO] [stdout] tests::ctx_seed_random [INFO] [stdout] tests::ctx_set_attribute_value [INFO] [stdout] tests::ctx_set_pin [INFO] [stdout] tests::ctx_unwrap_key [INFO] [stdout] tests::ctx_wait_for_slot_event [INFO] [stdout] tests::ctx_wrap_key [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 39 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `"docker" "inspect" "1dfa60f19328126cd9f4ebe7157667ebabdbb551dbbd16702ade66efde2f6c1f"` [INFO] running `"docker" "rm" "-f" "1dfa60f19328126cd9f4ebe7157667ebabdbb551dbbd16702ade66efde2f6c1f"` [INFO] [stdout] 1dfa60f19328126cd9f4ebe7157667ebabdbb551dbbd16702ade66efde2f6c1f