libcryptsetup-sys 0.3.0

FFI bindings to the libcryptsetup library
Documentation
Build #2523766 2025-09-21 18:52:17

# rustc version rustc 1.92.0-nightly (dd7fda570 2025-09-20)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libcryptsetup-sys-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libcryptsetup-sys-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250920-1.92.0-nightly-dd7fda570\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6753f040d429deeb73d29955675220b2f609bfe75e1cfca80d81e5f225135292 [INFO] running `Command { std: "docker" "start" "-a" "6753f040d429deeb73d29955675220b2f609bfe75e1cfca80d81e5f225135292", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting libcryptsetup-sys v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_2` [INFO] [stderr] --> lib.rs:366:7 [INFO] [stderr] | [INFO] [stderr] 366 | #[cfg(cryptsetup2_2)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_2)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:443:11 [INFO] [stderr] | [INFO] [stderr] 443 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:446:11 [INFO] [stderr] | [INFO] [stderr] 446 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:495:11 [INFO] [stderr] | [INFO] [stderr] 495 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:617:11 [INFO] [stderr] | [INFO] [stderr] 617 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_2` [INFO] [stderr] --> lib.rs:775:11 [INFO] [stderr] | [INFO] [stderr] 775 | #[cfg(cryptsetup2_2)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_2)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_2` [INFO] [stderr] --> lib.rs:788:11 [INFO] [stderr] | [INFO] [stderr] 788 | #[cfg(cryptsetup2_2)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_2)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_2` [INFO] [stderr] --> lib.rs:800:11 [INFO] [stderr] | [INFO] [stderr] 800 | #[cfg(cryptsetup2_2)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_2)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_2` [INFO] [stderr] --> lib.rs:803:11 [INFO] [stderr] | [INFO] [stderr] 803 | #[cfg(cryptsetup2_2)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_2)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:806:11 [INFO] [stderr] | [INFO] [stderr] 806 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:809:11 [INFO] [stderr] | [INFO] [stderr] 809 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:812:11 [INFO] [stderr] | [INFO] [stderr] 812 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `cryptsetup2_3` [INFO] [stderr] --> lib.rs:815:11 [INFO] [stderr] | [INFO] [stderr] 815 | #[cfg(cryptsetup2_3)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cryptsetup2_3)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cryptsetup2_3)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `libcryptsetup-sys` (lib doc) generated 13 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/libcryptsetup_sys/index.html [INFO] running `Command { std: "docker" "inspect" "6753f040d429deeb73d29955675220b2f609bfe75e1cfca80d81e5f225135292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6753f040d429deeb73d29955675220b2f609bfe75e1cfca80d81e5f225135292", kill_on_drop: false }` [INFO] [stdout] 6753f040d429deeb73d29955675220b2f609bfe75e1cfca80d81e5f225135292