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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", 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] 6ddb337dee5ce6d2ae741a6855da8d96716ea56c4ac4d20e811b10078a85a287
[INFO] running `Command { std: "docker" "start" "-a" "6ddb337dee5ce6d2ae741a6855da8d96716ea56c4ac4d20e811b10078a85a287", 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] warning: libsodium-sys@0.2.7: GNU compiler is not supported for this target
[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-pc-windows-msvc/debug/build/libsodium-sys-cc164fef2896b4dd/out)
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-msvc)
[INFO] [stderr]   cargo:rerun-if-env-changed=VCINSTALLDIR
[INFO] [stderr]   VCINSTALLDIR = None
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = 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:warning=GNU compiler is not supported for this target
[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)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = 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... 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   Invalid configuration `x86_64-pc-windows-msvc': OS `msvc' not recognized
[INFO] [stderr]   configure: error: /bin/bash build-aux/config.sub x86_64-pc-windows-msvc failed
[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-pc-windows-msvc/debug/build/libsodium-sys-cc164fef2896b4dd/out/source/libsodium" && CC="cc" CFLAGS="-O0 -ffunction-sections -fdata-sections -g -fno-omit-frame-pointer -m64 -Wall -Wextra" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libsodium-sys-cc164fef2896b4dd/out/source/libsodium/configure" "--prefix=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libsodium-sys-cc164fef2896b4dd/out/installed" "--libdir=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libsodium-sys-cc164fef2896b4dd/out/installed/lib" "--host=x86_64-pc-windows-msvc" "--enable-shared=no"
[INFO] [stderr]   CFLAGS=-O0 -ffunction-sections -fdata-sections -g -fno-omit-frame-pointer -m64 -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" "6ddb337dee5ce6d2ae741a6855da8d96716ea56c4ac4d20e811b10078a85a287", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ddb337dee5ce6d2ae741a6855da8d96716ea56c4ac4d20e811b10078a85a287", kill_on_drop: false }`
[INFO] [stdout] 6ddb337dee5ce6d2ae741a6855da8d96716ea56c4ac4d20e811b10078a85a287