pingora-boringssl 0.4.0

BoringSSL async APIs for Pingora.
Documentation
Build #1489989 2024-11-01T18:21:08.915682+00:00
# rustc version
rustc 1.84.0-nightly (a0d98ff0e 2024-10-31)# 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/pingora-boringssl-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/pingora-boringssl-0.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: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\", \"-20241031-1.84.0-nightly-a0d98ff0e\", \"--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] [stdout] fceb4da8403a55f002ea6526fecd76af90ae6d29df9a4b0425f64e8f79172139
[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" "fceb4da8403a55f002ea6526fecd76af90ae6d29df9a4b0425f64e8f79172139", 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.11.0
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: boring-sys@4.11.0: applying experimental post quantum crypto patch to boringssl
[INFO] [stderr] warning: boring-sys@4.11.0: macOS deployment target (10.7) too low, it will be increased
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `boring-sys v4.11.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/boring-sys-aa55316ccf32f2b1/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/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/boringssl/.git/
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=applying experimental post quantum crypto patch to boringssl
[INFO] [stderr] 
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_TOOLCHAIN_FILE = None
[INFO] [stderr]   CMAKE_GENERATOR_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_GENERATOR_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE_GENERATOR = None
[INFO] [stderr]   CMAKE_GENERATOR = None
[INFO] [stderr]   cargo:warning=macOS deployment target (10.7) too low, it will be increased
[INFO] [stderr]   CMAKE_PREFIX_PATH_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_PREFIX_PATH_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_PREFIX_PATH = None
[INFO] [stderr]   CMAKE_x86_64-apple-darwin = None
[INFO] [stderr]   CMAKE_x86_64_apple_darwin = None
[INFO] [stderr]   TARGET_CMAKE = None
[INFO] [stderr]   CMAKE = None
[INFO] [stderr]   running: cd "/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/boringssl" "-DCMAKE_CROSSCOMPILING=true" "-DCMAKE_C_COMPILER_TARGET=x86_64-apple-darwin" "-DCMAKE_CXX_COMPILER_TARGET=x86_64-apple-darwin" "-DCMAKE_ASM_COMPILER_TARGET=x86_64-apple-darwin" "-DCMAKE_OSX_ARCHITECTURES=x86_64" "-DCMAKE_OSX_SYSROOT=macosx" "-DCMAKE_SYSTEM_NAME=Darwin" "-DCMAKE_SYSTEM_PROCESSOR=x86_64" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
[INFO] [stderr]   -- The C compiler identification is GNU 11.4.0
[INFO] [stderr]   -- The CXX compiler identification is GNU 11.4.0
[INFO] [stderr]   -- Checking whether C compiler has -isysroot
[INFO] [stderr]   -- Checking whether C compiler has -isysroot - yes
[INFO] [stderr]   -- Checking whether C compiler supports OSX deployment target flag
[INFO] [stderr]   -- Checking whether C compiler supports OSX deployment target flag - no
[INFO] [stderr]   -- Detecting C compiler ABI info
[INFO] [stderr]   -- Detecting C compiler ABI info - failed
[INFO] [stderr]   -- Check for working C compiler: /usr/bin/cc
[INFO] [stderr]   -- Check for working C compiler: /usr/bin/cc - broken
[INFO] [stderr]   -- Configuring incomplete, errors occurred!
[INFO] [stderr]   See also "/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build/CMakeFiles/CMakeOutput.log".
[INFO] [stderr]   See also "/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build/CMakeFiles/CMakeError.log".
[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/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-4.11.0/patches/boring-pq.patch:141: trailing whitespace.
[INFO] [stderr]       "src/crypto/fipsmodule/fips_shared_support.c", 
[INFO] [stderr]   /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-4.11.0/patches/boring-pq.patch:142: trailing whitespace.
[INFO] [stderr]       "src/crypto/hpke/hpke.c", 
[INFO] [stderr]   /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-4.11.0/patches/boring-pq.patch:143: trailing whitespace.
[INFO] [stderr]       "src/crypto/hrss/hrss.c", 
[INFO] [stderr]   /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-4.11.0/patches/boring-pq.patch:146: trailing whitespace.
[INFO] [stderr]       "src/crypto/kyber/kyber512.c", 
[INFO] [stderr]   /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-4.11.0/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]   macos arch=x86_64 add CMAKE_OSX_ARCHITECTURES=x86_64
[INFO] [stderr]   macos arch=x86_64 add CMAKE_OSX_SYSROOT=macosx
[INFO] [stderr]   CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
[INFO] [stderr]     The C compiler
[INFO] [stderr] 
[INFO] [stderr]       "/usr/bin/cc"
[INFO] [stderr] 
[INFO] [stderr]     is not able to compile a simple test program.
[INFO] [stderr] 
[INFO] [stderr]     It fails with the following output:
[INFO] [stderr] 
[INFO] [stderr]       Change Dir: /opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build/CMakeFiles/CMakeTmp
[INFO] [stderr]       
[INFO] [stderr]       Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_43313/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_43313.dir/build.make CMakeFiles/cmTC_43313.dir/build
[INFO] [stderr]       gmake[1]: Entering directory '/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       Building C object CMakeFiles/cmTC_43313.dir/testCCompiler.c.o
[INFO] [stderr]       /usr/bin/cc   -ffunction-sections -fdata-sections -fPIC -m64 -arch x86_64 -mmacosx-version-min=10.7  -arch x86_64 -isysroot macosx -o CMakeFiles/cmTC_43313.dir/testCCompiler.c.o -c /opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build/CMakeFiles/CMakeTmp/testCCompiler.c
[INFO] [stderr]       cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]       cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]       cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]       gmake[1]: *** [CMakeFiles/cmTC_43313.dir/build.make:78: CMakeFiles/cmTC_43313.dir/testCCompiler.c.o] Error 1
[INFO] [stderr]       gmake[1]: Leaving directory '/opt/rustwide/target/x86_64-apple-darwin/debug/build/boring-sys-f57cf880842d38a9/out/build/CMakeFiles/CMakeTmp'
[INFO] [stderr]       gmake: *** [Makefile:127: cmTC_43313/fast] Error 2
[INFO] [stderr]       
[INFO] [stderr]       
[INFO] [stderr] 
[INFO] [stderr]     
[INFO] [stderr] 
[INFO] [stderr]     CMake will not be able to correctly generate this project.
[INFO] [stderr]   Call Stack (most recent call first):
[INFO] [stderr]     CMakeLists.txt:19 (project)
[INFO] [stderr] 
[INFO] [stderr] 
[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" "fceb4da8403a55f002ea6526fecd76af90ae6d29df9a4b0425f64e8f79172139", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fceb4da8403a55f002ea6526fecd76af90ae6d29df9a4b0425f64e8f79172139", kill_on_drop: false }`
[INFO] [stdout] fceb4da8403a55f002ea6526fecd76af90ae6d29df9a4b0425f64e8f79172139