libsodium-sys 0.2.7

FFI binding to libsodium
Documentation
Build #1540826 2024-11-15T11:50:42.892101+00:00
# rustc version
rustc 1.84.0-nightly (90ab8eaed 2024-11-14)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libsodium-sys-0.2.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libsodium-sys-0.2.7/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\", \"-20241114-1.84.0-nightly-90ab8eaed\", \"--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] 2e0a8bc4a785f9e3167ae41b30c431da65040f9e95130b4cb3a7bf0b16e71aa5
[INFO] running `Command { std: "docker" "start" "-a" "2e0a8bc4a785f9e3167ae41b30c431da65040f9e95130b4cb3a7bf0b16e71aa5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling libsodium-sys v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `libsodium-sys v0.2.7 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libsodium-sys-19b67830288a3cf0/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=SODIUM_DISABLE_PIE
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-698540c57b18567b/out)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[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]   checking build system type... x86_64-pc-linux-gnu
[INFO] [stderr]   checking host system type... x86_64-apple-darwin
[INFO] [stderr]   checking for a BSD-compatible install... /usr/bin/install -c
[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 thread-safe 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 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 make supports nested variables... (cached) yes
[INFO] [stderr]   checking whether to enable maintainer-specific portions of Makefiles... no
[INFO] [stderr]   checking whether make supports the include directive... yes (GNU style)
[INFO] [stderr]   checking for x86_64-apple-darwin-gcc... cc
[INFO] [stderr]   checking whether the C compiler works... no
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   configure: error: in `/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-698540c57b18567b/out/source/libsodium':
[INFO] [stderr]   configure: error: C compiler cannot create executables
[INFO] [stderr]   See `config.log' for more details
[INFO] [stderr]   thread 'main' panicked at build.rs:257:9:
[INFO] [stderr] 
[INFO] [stderr]   Failed to configure libsodium using cd "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-698540c57b18567b/out/source/libsodium" && 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-698540c57b18567b/out/source/libsodium/configure" "--prefix=/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-698540c57b18567b/out/installed" "--libdir=/opt/rustwide/target/x86_64-apple-darwin/debug/build/libsodium-sys-698540c57b18567b/out/installed/lib" "--host=x86_64-apple-darwin" "--enable-shared=no"
[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]   CC=cc
[INFO] [stderr]   ***********************************************************
[INFO] [stderr]   Possible missing dependencies.
[INFO] [stderr]   See https://github.com/sodiumoxide/sodiumoxide#cross-compiling
[INFO] [stderr]   ***********************************************************
[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" "2e0a8bc4a785f9e3167ae41b30c431da65040f9e95130b4cb3a7bf0b16e71aa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e0a8bc4a785f9e3167ae41b30c431da65040f9e95130b4cb3a7bf0b16e71aa5", kill_on_drop: false }`
[INFO] [stdout] 2e0a8bc4a785f9e3167ae41b30c431da65040f9e95130b4cb3a7bf0b16e71aa5