nettle 7.4.0

Rust bindings for the Nettle cryptographic library
Documentation
Build #1155515 2024-03-12T16:32:00.251189+00:00
# rustc version
rustc 1.78.0-nightly (4a0cc881d 2024-03-11)# docs.rs version
docsrs 0.6.0 (a82561c9 2024-03-11)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/nettle-7.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/nettle-7.4.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240311-1.78.0-nightly-4a0cc881d\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] 5c975843c0f3dafb2304e81bae8b90061c6d2203019dee72794823730511990f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5c975843c0f3dafb2304e81bae8b90061c6d2203019dee72794823730511990f", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.153
[INFO] [stderr]    Compiling nettle-sys v2.3.0
[INFO] [stderr]     Checking typenum v1.17.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr] error: failed to run custom build command for `nettle-sys v2.3.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/nettle-sys-0d65f34daa17d142/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=NETTLE_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   Building nettle-sys failed.
[INFO] [stderr]   Because: pkg-config has not been configured to support cross-compilation.
[INFO] [stderr] 
[INFO] [stderr]   Install a sysroot for the target platform and configure it via
[INFO] [stderr]   PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
[INFO] [stderr]   cross-compiling wrapper for pkg-config and set it via
[INFO] [stderr]   PKG_CONFIG environment variable.
[INFO] [stderr] 
[INFO] [stderr]   Please make sure the necessary build dependencies are installed.
[INFO] [stderr] 
[INFO] [stderr]   If you are using Debian (or a derivative), try:
[INFO] [stderr] 
[INFO] [stderr]       $ sudo apt install clang llvm pkg-config nettle-dev
[INFO] [stderr] 
[INFO] [stderr]   If you are using Arch (or a derivative), try:
[INFO] [stderr] 
[INFO] [stderr]       $ sudo pacman -S clang pkg-config nettle --needed
[INFO] [stderr] 
[INFO] [stderr]   If you are using Fedora (or a derivative), try:
[INFO] [stderr] 
[INFO] [stderr]       $ sudo dnf install clang pkg-config nettle-devel
[INFO] [stderr] 
[INFO] [stderr]   See https://gitlab.com/sequoia-pgp/nettle-sys#building for more information.
[INFO] [stderr] 
[INFO] [stderr]   Error: "Building nettle-sys failed."
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "5c975843c0f3dafb2304e81bae8b90061c6d2203019dee72794823730511990f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c975843c0f3dafb2304e81bae8b90061c6d2203019dee72794823730511990f", kill_on_drop: false }`
[INFO] [stdout] 5c975843c0f3dafb2304e81bae8b90061c6d2203019dee72794823730511990f