aws-lc-fips-sys 0.9.0

AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. This is the FIPS validated version of AWS-LC.

Build #844578 2023-06-23 19:49:52

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.72.0-nightly (04075b320 2023-06-22)

# docs.rs version docsrs 0.6.0 (4b18bfe6 2023-06-02)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/aws-lc-fips-sys-0.9.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/aws-lc-fips-sys-0.9.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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230622-1.72.0-nightly-04075b320\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--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] 190a00d9fe8b9687a191ea789801f1cf9b6fa3f8e3ebc5ab19bfad2b7138d825 [INFO] running `Command { std: "docker" "start" "-a" "190a00d9fe8b9687a191ea789801f1cf9b6fa3f8e3ebc5ab19bfad2b7138d825", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Compiling aws-lc-fips-sys v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `aws-lc-fips-sys v0.9.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/aws-lc-fips-sys-079cf4dbded0803b/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-3a9d84b3cba58d1f/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/workdir" "-DBORINGSSL_PREFIX=aws_lc_fips_0_9_0" "-DBORINGSSL_PREFIX_HEADERS=/opt/rustwide/workdir/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-3a9d84b3cba58d1f/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] -- 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-3a9d84b3cba58d1f/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/aws-lc-fips-sys-3a9d84b3cba58d1f/out/build" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "cmake" "--build" "." "--target" "install" "--config" "Debug" [INFO] [stderr] Consolidate compiler generated dependencies of target jitterentropy [INFO] [stderr] [ 0%] Built target global_target [INFO] [stderr] [ 2%] Built target jitterentropy [INFO] [stderr] Consolidate compiler generated dependencies of target fipsmodule [INFO] [stderr] [ 2%] Generating err_data.c [INFO] [stderr] Consolidate compiler generated dependencies of target bcm_c_generated_asm [INFO] [stderr] [ 3%] Built target fipsmodule [INFO] [stderr] [ 3%] Built target bcm_c_generated_asm [INFO] [stderr] [ 3%] Generating delocate [INFO] [stderr] [ 4%] Generating p256-x86_64-asm.S [INFO] [stderr] [ 4%] Generating p256_beeu-x86_64-asm.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:252: 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:140: aws-lc/crypto/fipsmodule/delocate] Error 1 [INFO] [stderr] gmake[2]: *** Waiting for unfinished jobs.... [INFO] [stderr] gmake[1]: *** [CMakeFiles/Makefile2:335: 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 ' [INFO] [stderr] command did not execute successfully, got: exit status: 2 [INFO] [stderr] [INFO] [stderr] build script failed, must exit now', /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5 [INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [INFO] running `Command { std: "docker" "inspect" "190a00d9fe8b9687a191ea789801f1cf9b6fa3f8e3ebc5ab19bfad2b7138d825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "190a00d9fe8b9687a191ea789801f1cf9b6fa3f8e3ebc5ab19bfad2b7138d825", kill_on_drop: false }` [INFO] [stdout] 190a00d9fe8b9687a191ea789801f1cf9b6fa3f8e3ebc5ab19bfad2b7138d825