libsodium-sys-stable 1.22.1

Maintained FFI bindings for libsodium stable
Documentation
Build #1450822 2024-10-27T21:57:53.757996+00:00
# rustc version
rustc 1.84.0-nightly (9b18a122f 2024-10-26)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libsodium-sys-stable-1.22.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libsodium-sys-stable-1.22.1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241026-1.84.0-nightly-9b18a122f\", \"--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-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", 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] c4da7e2e6e7bfdf8a66f8e631dd493cbb36835e895f1c8a10560d49e309859cd
[INFO] running `Command { std: "docker" "start" "-a" "c4da7e2e6e7bfdf8a66f8e631dd493cbb36835e895f1c8a10560d49e309859cd", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling libsodium-sys-stable v1.22.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `libsodium-sys-stable v1.22.1 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libsodium-sys-stable-3ba975b81cf963b9/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=SODIUM_LIB_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=SODIUM_SHARED
[INFO] [stderr]   cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[INFO] [stderr]   cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-stable-473d9282f11c8a2d/out)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   [build.rs:527:5] "Compiling for target:" = "Compiling for target:"
[INFO] [stderr]   [build.rs:527:5] Target::get().name = "x86_64-apple-darwin"
[INFO] [stderr]   thread 'main' panicked at build.rs:626:13:
[INFO] [stderr]   Unable to compile or find precompiled libsodium for target [x86_64-apple-darwin]: [
[INFO] [stderr]   cd "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-stable-473d9282f11c8a2d/out/source/libsodium-stable" && CC="cc" CFLAGS="-O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -m64 -arch x86_64 -mmacosx-version-min=10.7 -Wall -Wextra" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-stable-473d9282f11c8a2d/out/source/libsodium-stable/configure" "--disable-ssp" "--prefix=/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-stable-473d9282f11c8a2d/out/installed" "--host=x86_64-apple-darwin" "--enable-shared=no" "--disable-dependency-tracking"
[INFO] [stderr]   CFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -m64 -arch x86_64 -mmacosx-version-min=10.7 -Wall -Wextra
[INFO] [stderr]   LDFLAGS=
[INFO] [stderr]   CC=cc
[INFO] [stderr]   checking build system type... x86_64-pc-linux-gnu
[INFO] [stderr]   checking host system type... x86_64-apple-darwin
[INFO] [stderr]   checking target system type... x86_64-apple-darwin
[INFO] [stderr]   checking for a BSD-compatible install... /usr/bin/install -c
[INFO] [stderr]   checking whether sleep supports fractional seconds... yes
[INFO] [stderr]   checking filesystem timestamp resolution... 0.01
[INFO] [stderr]   checking whether build environment is sane... yes
[INFO] [stderr]   checking for x86_64-apple-darwin-strip... no
[INFO] [stderr]   checking for strip... strip
[INFO] [stderr]   checking for a race-free mkdir -p... /usr/bin/mkdir -p
[INFO] [stderr]   checking for gawk... no
[INFO] [stderr]   checking for mawk... mawk
[INFO] [stderr]   checking whether make sets $(MAKE)... yes
[INFO] [stderr]   checking whether make supports nested variables... yes
[INFO] [stderr]   checking xargs -n works... yes
[INFO] [stderr]   checking whether UID '1001' is supported by ustar format... yes
[INFO] [stderr]   checking whether GID '1001' is supported by ustar format... yes
[INFO] [stderr]   checking how to create a ustar tar archive... gnutar
[INFO] [stderr]   checking whether to enable maintainer-specific portions of Makefiles... no
[INFO] [stderr]   checking for x86_64-apple-darwin-gcc... cc
[INFO] [stderr]   checking whether the C compiler works... no
[INFO] [stderr] 
[INFO] [stderr]   configure: error: in '/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-stable-473d9282f11c8a2d/out/source/libsodium-stable':
[INFO] [stderr]   configure: error: C compiler cannot create executables
[INFO] [stderr]   See 'config.log' for more details
[INFO] [stderr] 
[INFO] [stderr]   ***********************************************************
[INFO] [stderr]   Use the 'cargo zigbuild' command to cross-compile Rust code
[INFO] [stderr]   with C dependencies such as libsodium.
[INFO] [stderr]   ***********************************************************
[INFO] [stderr] 
[INFO] [stderr]   ]
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "c4da7e2e6e7bfdf8a66f8e631dd493cbb36835e895f1c8a10560d49e309859cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4da7e2e6e7bfdf8a66f8e631dd493cbb36835e895f1c8a10560d49e309859cd", kill_on_drop: false }`
[INFO] [stdout] c4da7e2e6e7bfdf8a66f8e631dd493cbb36835e895f1c8a10560d49e309859cd