boring-sys 4.12.0

FFI bindings to BoringSSL
Documentation
Build #1558484 2024-11-20T17:10:44.257047+00:00
# rustc version
rustc 1.84.0-nightly (ee612c45f 2024-11-19)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/boring-sys-4.12.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/boring-sys-4.12.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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" "--features" "rpk pq-experimental underscore-wildcards" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241119-1.84.0-nightly-ee612c45f\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 9cdcbf4560d40f2a2b3ebe50e6c1f27021fba14fdaa758c7d5074c8922a2d2df
[INFO] running `Command { std: "docker" "start" "-a" "9cdcbf4560d40f2a2b3ebe50e6c1f27021fba14fdaa758c7d5074c8922a2d2df", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling boring-sys v4.12.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: boring-sys@4.12.0: applying experimental post quantum crypto patch to boringssl
[INFO] [stderr] warning: boring-sys@4.12.0: applying RPK patch to boringssl
[INFO] [stderr] warning: boring-sys@4.12.0: applying underscore wildcards patch to boringssl
[INFO] [stderr] error: failed to run custom build command for `boring-sys v4.12.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/boring-sys-584bffd6585365ff/build-script-main` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_PATH_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_PATH_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_INCLUDE_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_SOURCE_PATH_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_SOURCE_PATH_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_SOURCE_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_SOURCE_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_PRECOMPILED_BCM_O_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_PRECOMPILED_BCM_O_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_PRECOMPILED_BCM_O
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_PRECOMPILED_BCM_O
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_ASSUME_PATCHED_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_ASSUME_PATCHED_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_ASSUME_PATCHED
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_ASSUME_PATCHED
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_SYSROOT_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_SYSROOT_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_SYSROOT
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_SYSROOT
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN
[INFO] [stderr]   cargo:rerun-if-env-changed=BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN
[INFO] [stderr]   cargo:rerun-if-env-changed=DEBUG_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=DEBUG_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_DEBUG
[INFO] [stderr]   cargo:rerun-if-env-changed=DEBUG
[INFO] [stderr]   cargo:rerun-if-env-changed=OPT_LEVEL_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=OPT_LEVEL_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_OPT_LEVEL
[INFO] [stderr]   cargo:rerun-if-env-changed=OPT_LEVEL
[INFO] [stderr]   cargo:rerun-if-env-changed=ANDROID_NDK_HOME_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=ANDROID_NDK_HOME_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_ANDROID_NDK_HOME
[INFO] [stderr]   cargo:rerun-if-env-changed=ANDROID_NDK_HOME
[INFO] [stderr]   cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CMAKE_TOOLCHAIN_FILE
[INFO] [stderr]   cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE
[INFO] [stderr]   Initialized empty Git repository in /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/boring-sys-412b63f12af18bf6/out/boringssl/.git/
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=applying experimental post quantum crypto patch to boringssl
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=applying RPK patch to boringssl
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=applying underscore wildcards patch to boringssl
[INFO] [stderr] 
[INFO] [stderr]   CMAKE_GENERATOR_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_GENERATOR_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE_GENERATOR = None
[INFO] [stderr]   CMAKE_GENERATOR = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_i686-unknown-linux-gnu = None
[INFO] [stderr]   CMAKE_i686_unknown_linux_gnu = None
[INFO] [stderr]   TARGET_CMAKE = None
[INFO] [stderr]   CMAKE = None
[INFO] [stderr]   running: cd "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/boring-sys-412b63f12af18bf6/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/boring-sys-412b63f12af18bf6/out/boringssl" "-DCMAKE_CROSSCOMPILING=true" "-DCMAKE_C_COMPILER_TARGET=i686-unknown-linux-gnu" "-DCMAKE_CXX_COMPILER_TARGET=i686-unknown-linux-gnu" "-DCMAKE_ASM_COMPILER_TARGET=i686-unknown-linux-gnu" "-DCMAKE_TOOLCHAIN_FILE=/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/boring-sys-412b63f12af18bf6/out/boringssl/src/util/32-bit-toolchain.cmake" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/boring-sys-412b63f12af18bf6/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m32 -march=i686" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m32 -march=i686" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m32 -march=i686" "-DCMAKE_BUILD_TYPE=Debug"
[INFO] [stderr]   -- Configuring incomplete, errors occurred!
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   hint: Using 'master' as the name for the initial branch. This default branch name
[INFO] [stderr]   hint: is subject to change. To configure the initial branch name to use in all
[INFO] [stderr]   hint: of your new repositories, which will suppress this warning, call:
[INFO] [stderr]   hint: 
[INFO] [stderr]   hint: 	git config --global init.defaultBranch <name>
[INFO] [stderr]   hint: 
[INFO] [stderr]   hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
[INFO] [stderr]   hint: 'development'. The just-created branch can be renamed via this command:
[INFO] [stderr]   hint: 
[INFO] [stderr]   hint: 	git branch -m <name>
[INFO] [stderr] 
[INFO] [stderr]   /opt/rustwide/workdir/patches/boring-pq.patch:141: trailing whitespace.
[INFO] [stderr]       "src/crypto/fipsmodule/fips_shared_support.c", 
[INFO] [stderr]   /opt/rustwide/workdir/patches/boring-pq.patch:142: trailing whitespace.
[INFO] [stderr]       "src/crypto/hpke/hpke.c", 
[INFO] [stderr]   /opt/rustwide/workdir/patches/boring-pq.patch:143: trailing whitespace.
[INFO] [stderr]       "src/crypto/hrss/hrss.c", 
[INFO] [stderr]   /opt/rustwide/workdir/patches/boring-pq.patch:146: trailing whitespace.
[INFO] [stderr]       "src/crypto/kyber/kyber512.c", 
[INFO] [stderr]   /opt/rustwide/workdir/patches/boring-pq.patch:147: trailing whitespace.
[INFO] [stderr]       "src/crypto/kyber/kyber768.c", 
[INFO] [stderr]   Checking patch BUILD.generated.bzl...
[INFO] [stderr]   Checking patch BUILD.generated_tests.bzl...
[INFO] [stderr]   Checking patch CMakeLists.txt...
[INFO] [stderr]   Checking patch sources.json...
[INFO] [stderr]   Checking patch src/crypto/CMakeLists.txt...
[INFO] [stderr]   Checking patch src/crypto/kyber/internal.h...
[INFO] [stderr]   Checking patch src/crypto/kyber/keccak.c...
[INFO] [stderr]   Checking patch src/crypto/kyber/kyber.c...
[INFO] [stderr]   Checking patch src/crypto/kyber/kyber512.c...
[INFO] [stderr]   Checking patch src/crypto/kyber/kyber768.c...
[INFO] [stderr]   Checking patch src/crypto/kyber/kyber_test.cc...
[INFO] [stderr]   Checking patch src/crypto/obj/obj_dat.h...
[INFO] [stderr]   Checking patch src/crypto/obj/obj_mac.num...
[INFO] [stderr]   Checking patch src/crypto/obj/objects.txt...
[INFO] [stderr]   Checking patch src/include/openssl/kyber.h...
[INFO] [stderr]   Checking patch src/include/openssl/nid.h...
[INFO] [stderr]   Checking patch src/include/openssl/ssl.h...
[INFO] [stderr]   Checking patch src/sources.cmake...
[INFO] [stderr]   Checking patch src/ssl/extensions.cc...
[INFO] [stderr]   Checking patch src/ssl/ssl_key_share.cc...
[INFO] [stderr]   Checking patch src/ssl/ssl_lib.cc...
[INFO] [stderr]   Checking patch src/ssl/ssl_test.cc...
[INFO] [stderr]   Checking patch src/tool/speed.cc...
[INFO] [stderr]   Applied patch BUILD.generated.bzl cleanly.
[INFO] [stderr]   Applied patch BUILD.generated_tests.bzl cleanly.
[INFO] [stderr]   Applied patch CMakeLists.txt cleanly.
[INFO] [stderr]   Applied patch sources.json cleanly.
[INFO] [stderr]   Applied patch src/crypto/CMakeLists.txt cleanly.
[INFO] [stderr]   Applied patch src/crypto/kyber/internal.h cleanly.
[INFO] [stderr]   Applied patch src/crypto/kyber/keccak.c cleanly.
[INFO] [stderr]   Applied patch src/crypto/kyber/kyber.c cleanly.
[INFO] [stderr]   Applied patch src/crypto/kyber/kyber512.c cleanly.
[INFO] [stderr]   Applied patch src/crypto/kyber/kyber768.c cleanly.
[INFO] [stderr]   Applied patch src/crypto/kyber/kyber_test.cc cleanly.
[INFO] [stderr]   Applied patch src/crypto/obj/obj_dat.h cleanly.
[INFO] [stderr]   Applied patch src/crypto/obj/obj_mac.num cleanly.
[INFO] [stderr]   Applied patch src/crypto/obj/objects.txt cleanly.
[INFO] [stderr]   Applied patch src/include/openssl/kyber.h cleanly.
[INFO] [stderr]   Applied patch src/include/openssl/nid.h cleanly.
[INFO] [stderr]   Applied patch src/include/openssl/ssl.h cleanly.
[INFO] [stderr]   Applied patch src/sources.cmake cleanly.
[INFO] [stderr]   Applied patch src/ssl/extensions.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/ssl_key_share.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/ssl_lib.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/ssl_test.cc cleanly.
[INFO] [stderr]   Applied patch src/tool/speed.cc cleanly.
[INFO] [stderr]   warning: squelched 20 whitespace errors
[INFO] [stderr]   warning: 5 lines applied after fixing whitespace errors.
[INFO] [stderr] 
[INFO] [stderr]   Checking patch src/include/openssl/ssl.h...
[INFO] [stderr]   Hunk #4 succeeded at 3066 (offset 4 lines).
[INFO] [stderr]   Checking patch src/include/openssl/tls1.h...
[INFO] [stderr]   Checking patch src/ssl/extensions.cc...
[INFO] [stderr]   Hunk #2 succeeded at 3117 (offset 4 lines).
[INFO] [stderr]   Hunk #3 succeeded at 3430 (offset 4 lines).
[INFO] [stderr]   Checking patch src/ssl/handshake.cc...
[INFO] [stderr]   Checking patch src/ssl/internal.h...
[INFO] [stderr]   Checking patch src/ssl/ssl_cert.cc...
[INFO] [stderr]   Checking patch src/ssl/ssl_lib.cc...
[INFO] [stderr]   Checking patch src/ssl/tls13_both.cc...
[INFO] [stderr]   Checking patch src/ssl/tls13_server.cc...
[INFO] [stderr]   Applied patch src/include/openssl/ssl.h cleanly.
[INFO] [stderr]   Applied patch src/include/openssl/tls1.h cleanly.
[INFO] [stderr]   Applied patch src/ssl/extensions.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/handshake.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/internal.h cleanly.
[INFO] [stderr]   Applied patch src/ssl/ssl_cert.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/ssl_lib.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/tls13_both.cc cleanly.
[INFO] [stderr]   Applied patch src/ssl/tls13_server.cc cleanly.
[INFO] [stderr] 
[INFO] [stderr]   Checking patch src/crypto/x509v3/v3_utl.c...
[INFO] [stderr]   Checking patch src/crypto/x509/x509_test.cc...
[INFO] [stderr]   Hunk #1 succeeded at 4420 (offset -80 lines).
[INFO] [stderr]   Checking patch src/include/openssl/x509v3.h...
[INFO] [stderr]   Hunk #1 succeeded at 936 (offset -3561 lines).
[INFO] [stderr]   Applied patch src/crypto/x509v3/v3_utl.c cleanly.
[INFO] [stderr]   Applied patch src/crypto/x509/x509_test.cc cleanly.
[INFO] [stderr]   Applied patch src/include/openssl/x509v3.h cleanly.
[INFO] [stderr] 
[INFO] [stderr]   CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:130 (message):
[INFO] [stderr]     Could not find toolchain file:
[INFO] [stderr]     /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/boring-sys-412b63f12af18bf6/out/boringssl/src/util/32-bit-toolchain.cmake
[INFO] [stderr]   Call Stack (most recent call first):
[INFO] [stderr]     CMakeLists.txt:19 (project)
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
[INFO] [stderr]   CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
[INFO] [stderr]   CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.51/src/lib.rs:1100:5:
[INFO] [stderr] 
[INFO] [stderr]   command did not execute successfully, got: exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   build script failed, must exit now
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "9cdcbf4560d40f2a2b3ebe50e6c1f27021fba14fdaa758c7d5074c8922a2d2df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cdcbf4560d40f2a2b3ebe50e6c1f27021fba14fdaa758c7d5074c8922a2d2df", kill_on_drop: false }`
[INFO] [stdout] 9cdcbf4560d40f2a2b3ebe50e6c1f27021fba14fdaa758c7d5074c8922a2d2df