aws-lc-rs 1.5.0

aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. This library strives to be API-compatible with the popular Rust library named ring.

Build #974611 2023-11-16 21:50:49

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.76.0-nightly (6b771f6b5 2023-11-15)

# docs.rs version docsrs 0.6.0 (30e2f2ce 2023-11-16)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/aws-lc-rs-1.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/aws-lc-rs-1.5.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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "fips" "-Z" "unstable-options" "--config" "build.rustflags=[\"--cfg\", \"docsrs\"]" "-Zhost-config" "-Ztarget-applies-to-host" "--config" "host.rustflags=[\"--cfg\", \"docsrs\"]" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20231115-1.76.0-nightly-6b771f6b5\", \"--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-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-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] 3413c66e5d9947b782548131388fe891957d5e6757527a3ce9b081811ca65900 [INFO] running `Command { std: "docker" "start" "-a" "3413c66e5d9947b782548131388fe891957d5e6757527a3ce9b081811ca65900", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: digest, cipher [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Compiling aws-lc-fips-sys v0.11.1 [INFO] [stderr] error: failed to run custom build command for `aws-lc-fips-sys v0.11.1` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/aws-lc-fips-sys-adc95ec700d323cd/build-script-main` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-cfg=linux_x86_64 [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE = None [INFO] [stderr] CMAKE = Some("cmake") [INFO] [stderr] running: cd "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/aws-lc-fips-sys-63e8c2431e1f62f3/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aws-lc-fips-sys-0.11.1" "-DBUILD_SHARED_LIBS=0" "-DBORINGSSL_PREFIX=aws_lc_fips_0_11_1_" "-DBORINGSSL_PREFIX_HEADERS=/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aws-lc-fips-sys-0.11.1/generated-include" "-DBUILD_TESTING=OFF" "-DBUILD_LIBSSL=OFF" "-DFIPS=1" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/aws-lc-fips-sys-63e8c2431e1f62f3/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug" "--no-warn-unused-cli" [INFO] [stderr] Not searching for unused variables given on the command line. [INFO] [stderr] -- FIPS build mode configured [INFO] [stderr] -- FIPS entropy source method configured: Passive [INFO] [stderr] -- stdalign_check.c probe is positive, enabling AWS_LC_STDALIGN_AVAILABLE [INFO] [stderr] -- builtin_swap_check.c probe is positive, enabling AWS_LC_BUILTIN_SWAP_SUPPORTED [INFO] [stderr] -- linux_u32.c probe is positive, enabling AWS_LC_URANDOM_U32 [INFO] [stderr] -- Configuring done [INFO] [stderr] -- Generating done [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/aws-lc-fips-sys-63e8c2431e1f62f3/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/aws-lc-fips-sys-63e8c2431e1f62f3/out/build" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "cmake" "--build" "." "--target" "install" "--config" "Debug" [INFO] [stderr] [ 0%] Built target global_target [INFO] [stderr] [ 0%] Built target boringssl_prefix_symbols [INFO] [stderr] [ 0%] Generating err_data.c [INFO] [stderr] Consolidate compiler generated dependencies of target fipsmodule [INFO] [stderr] Consolidate compiler generated dependencies of target jitterentropy [INFO] [stderr] Consolidate compiler generated dependencies of target bcm_c_generated_asm [INFO] [stderr] [ 1%] Built target fipsmodule [INFO] [stderr] [ 3%] Built target jitterentropy [INFO] [stderr] [ 3%] Built target bcm_c_generated_asm [INFO] [stderr] [ 3%] Generating sha512-x86_64.S [INFO] [stderr] [ 3%] Generating rsaz-avx2.S [INFO] [stderr] [ 4%] Generating delocate [INFO] [stderr] [ 5%] Generating sha1-x86_64.S [INFO] [stderr] [ 5%] Generating sha256-x86_64.S [INFO] [stderr] [ 6%] Generating vpaes-x86_64.S [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied [INFO] [stderr] failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied [INFO] [stderr] failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied [INFO] [stderr] gmake[2]: *** [aws-lc/crypto/CMakeFiles/crypto_objects.dir/build.make:98: aws-lc/crypto/err_data.c] Error 1 [INFO] [stderr] gmake[2]: *** Deleting file 'aws-lc/crypto/err_data.c' [INFO] [stderr] gmake[1]: *** [CMakeFiles/Makefile2:279: aws-lc/crypto/CMakeFiles/crypto_objects.dir/all] Error 2 [INFO] [stderr] gmake[1]: *** Waiting for unfinished jobs.... [INFO] [stderr] failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied [INFO] [stderr] gmake[2]: *** [aws-lc/crypto/fipsmodule/CMakeFiles/bcm_hashunset.dir/build.make:153: aws-lc/crypto/fipsmodule/delocate] Error 1 [INFO] [stderr] gmake[2]: *** Waiting for unfinished jobs.... [INFO] [stderr] gmake[1]: *** [CMakeFiles/Makefile2:364: aws-lc/crypto/fipsmodule/CMakeFiles/bcm_hashunset.dir/all] Error 2 [INFO] [stderr] gmake: *** [Makefile:136: all] Error 2 [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5: [INFO] [stderr] [INFO] [stderr] command did not execute successfully, got: exit status: 2 [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" "3413c66e5d9947b782548131388fe891957d5e6757527a3ce9b081811ca65900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3413c66e5d9947b782548131388fe891957d5e6757527a3ce9b081811ca65900", kill_on_drop: false }` [INFO] [stdout] 3413c66e5d9947b782548131388fe891957d5e6757527a3ce9b081811ca65900