Skip to content

Build Failure on macOS 15 since aws-lc-rs 1.14.1 (aws-lc-sys 0.32.0) #1008

@liss-h

Description

@liss-h

Problem:

Since aws-lc-rs version 1.14.1 (1.14.0 and previous are not affected), the build process includes a system header that uses a C-extension that only apple-clang can compile, namely Blocks. This means the build fails on non-apple-clang compilers (e.g. brew gcc).

Basically, this error message shows up

  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-base.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-base.c"cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:9,
  cargo:warning=                 from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:43,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy-base-user.h:90,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy.h:168,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-internal.h:45,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-gcd.h:23,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-gcd.c:22:
  cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h:178:69: error: expected ')' before '^' token
  cargo:warning=  178 | MD_EXPORT void MDItemGetCacheFileDescriptors(CFArrayRef items, void(^completionHandler)(CFArrayRef array) ) API_AVAILABLE( macos(15.2) ) API_UNAVAILABLE( ios, tvos, watchos );

How to reproduce

  • Cargo.toml
[package]
name = "aws-test"
version = "0.1.0"
edition = "2024"

[dependencies]
aws-lc-rs = "=1.14.1" # or later; alternatively aws-lc-sys = "=0.32.0" also reproduces the bug
  • main.rs
fn main() {
}

Relevant details

  • aws-lc-rs >=1.14.1
  • aws-lc-sys >=0.32.0
  • brew gcc-14 or gcc-15

System information: for linux, below info can be collected by running uname -srvmp

  • CPU architecture: ARMv8
  • CPU name: Apple M4 Pro
  • OS: macOS 15.3.1
  • Darwin 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:22 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6041 arm64 arm

Build log:

# Sample of build log
+ CC=$(brew --prefix gcc@15)/bin/gcc-15 CFLAGS="-march=armv8-a+aes+sha2" cargo build

Caused by:
  process didn't exit successfully: `/Users/dice/aws-test/target/debug/build/aws-lc-sys-a80676e2c4e9d489/build-script-main` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_PREFIX_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_PREFIX
  cargo:rerun-if-env-changed=AWS_LC_SYS_PREGENERATING_BINDINGS_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_PREGENERATING_BINDINGS
  cargo:rerun-if-env-changed=AWS_LC_SYS_EXTERNAL_BINDGEN_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_EXTERNAL_BINDGEN
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_ASM_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_ASM
  cargo:rerun-if-env-changed=AWS_LC_SYS_CFLAGS_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_CFLAGS
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  cargo:rerun-if-env-changed=CFLAGS
  cargo:warning=Environment Variable found 'CFLAGS': '-march=armv8-a+aes+sha2'
  cargo:rerun-if-env-changed=AWS_LC_SYS_PREBUILT_NASM_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_PREBUILT_NASM
  cargo:rerun-if-env-changed=AWS_LC_SYS_C_STD_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_C_STD
  cargo:rerun-if-env-changed=AWS_LC_SYS_CMAKE_BUILDER_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_CMAKE_BUILDER
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_PREGENERATED_SRC_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_PREGENERATED_SRC
  cargo:rerun-if-env-changed=AWS_LC_SYS_EFFECTIVE_TARGET_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_EFFECTIVE_TARGET
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_JITTER_ENTROPY_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_NO_JITTER_ENTROPY
  cargo:rustc-cfg=aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC
  default_for Target: 'aarch64-apple-darwin'
  cargo:rerun-if-env-changed=CARGO_FEATURE_SSL
  cargo:warning=Building with: CC
  cargo:warning=Symbol Prefix: Some("aws_lc_0_32_3")
  default_for Target: 'aarch64-apple-darwin'
  cargo:rerun-if-env-changed=CARGO_FEATURE_SSL
  cargo:root=/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out
  default_for Target: 'aarch64-apple-darwin'
  OPT_LEVEL = Some(0)
  OUT_DIR = Some(/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  OPT_LEVEL = Some(0)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=Compilation of 'c11.c' succeeded - Ok(["/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/out-c11/7dfda64fdf5a526c-c11.o"]).
  cargo:rerun-if-env-changed=AWS_LC_SYS_CC_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_CC
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  cargo:rerun-if-env-changed=CC
  cargo:warning=Environment Variable found 'CC': '/opt/homebrew/opt/gcc/bin/gcc-15'
  cargo:warning=Setting CC_aarch64_apple_darwin: /opt/homebrew/opt/gcc/bin/gcc-15
  cargo:rerun-if-env-changed=AWS_LC_SYS_CXX_aarch64_apple_darwin
  cargo:rerun-if-env-changed=AWS_LC_SYS_CXX
  cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
  cargo:rerun-if-env-changed=CXX
  OUT_DIR = Some(/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-apple-darwin)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  OUT_DIR = Some(/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(aarch64-apple-darwin)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=Setting CFLAGS_aarch64_apple_darwin: -march=armv8-a+aes+sha2
  OPT_LEVEL = Some(0)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=Compilation of 'stdalign_check.c' succeeded - Ok(["/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/out-stdalign_check/7dfda64fdf5a526c-stdalign_check.o"]).
  OPT_LEVEL = Some(0)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=Compilation of 'builtin_swap_check.c' succeeded - Ok(["/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/out-builtin_swap_check/7dfda64fdf5a526c-builtin_swap_check.o"]).
  OPT_LEVEL = Some(0)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=/var/folders/d4/qzm2bgp92rz53bn4bkrcn8kh0000gn/T//ccdPnsKL.s:13:2: error: instruction requires: sha3
  cargo:warning=        eor3 v0.16b, v1.16b, v2.16b, v3.16b
  cargo:warning=        ^
  cargo:warning=/var/folders/d4/qzm2bgp92rz53bn4bkrcn8kh0000gn/T//ccdPnsKL.s:17:2: error: instruction requires: sha3
  cargo:warning=        bcax v0.16b, v1.16b, v2.16b, v3.16b
  cargo:warning=        ^
  cargo:warning=/var/folders/d4/qzm2bgp92rz53bn4bkrcn8kh0000gn/T//ccdPnsKL.s:21:2: error: instruction requires: sha3
  cargo:warning=        rax1 v0.2d,  v1.2d,  v2.2d         
  cargo:warning=        ^
  cargo:warning=/var/folders/d4/qzm2bgp92rz53bn4bkrcn8kh0000gn/T//ccdPnsKL.s:25:2: error: instruction requires: sha3
  cargo:warning=        xar  v0.2d,  v1.2d,  v2.2d,  #0x2a 
  cargo:warning=        ^
  cargo:warning=Compilation of 'neon_sha3_check.c' failed - Err(Error { kind: ToolExecError, message: "command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL=\"C\" \"/opt/homebrew/opt/gcc/bin/gcc-15\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-gdwarf-2\" \"-fno-omit-frame-pointer\" \"-arch\" \"arm64\" \"-mmacosx-version-min=15.4\" \"-Werror\" \"-march=armv8.4-a+sha3\" \"-Wno-unused-parameter\" \"-march=armv8-a+aes+sha2\" \"-march=armv8-a+aes+sha2\" \"-o\" \"/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/out-neon_sha3_check/7dfda64fdf5a526c-neon_sha3_check.o\" \"-c\" \"/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/tests/compiler_features_tests/neon_sha3_check.c\"" }).
  OPT_LEVEL = Some(0)
  OUT_DIR = Some(/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  cargo:warning=Environment Variable found 'CFLAGS_aarch64_apple_darwin': '-march=armv8-a+aes+sha2'
  cargo:rerun-if-env-changed=CFLAGS
  cargo:warning=Environment Variable found 'CFLAGS': '-march=armv8-a+aes+sha2'
  cargo:warning=Setting CFLAGS_aarch64_apple_darwin: -march=armv8-a+aes+sha2 -O0
  OPT_LEVEL = Some(0)
  OUT_DIR = Some(/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out)
  TARGET = Some(aarch64-apple-darwin)
  CARGO_ENCODED_RUSTFLAGS = Some()
  HOST = Some(aarch64-apple-darwin)
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = Some(/opt/homebrew/opt/gcc/bin/gcc-15)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh)
  cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
  MACOSX_DEPLOYMENT_TARGET = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-march=armv8-a+aes+sha2)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = Some(-march=armv8-a+aes+sha2 -O0)
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:warning=Setting CFLAGS_aarch64_apple_darwin: -march=armv8-a+aes+sha2
  cargo:warning=Skipping due to missing compiler features: "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/arm/sha3/sha3_keccak2_f1600.S"
  cargo:warning=Skipping due to missing compiler features: "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/arm/sha3/sha3_keccak4_f1600_alt2.S"
  cargo:warning=Skipping due to missing compiler features: "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/arm/sha3/sha3_keccak_f1600_alt.S"
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:9,
  cargo:warning=                 from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:43,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy-base-user.h:90,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy.h:168,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-internal.h:45,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-gcd.h:23,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-base.c:33:
  cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h:178:69: error: expected ')' before '^' token
  cargo:warning=  178 | MD_EXPORT void MDItemGetCacheFileDescriptors(CFArrayRef items, void(^completionHandler)(CFArrayRef array) ) API_AVAILABLE( macos(15.2) ) API_UNAVAILABLE( ios, tvos, watchos );
  cargo:warning=      |                                                                     ^
  cargo:warning=      |                                                                     )
  exit status: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-base.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-base.c"cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:9,
  cargo:warning=                 from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:43,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy-base-user.h:90,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy.h:168,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-internal.h:45,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-gcd.h:23,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-gcd.c:22:
  cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h:178:69: error: expected ')' before '^' token
  cargo:warning=  178 | MD_EXPORT void MDItemGetCacheFileDescriptors(CFArrayRef items, void(^completionHandler)(CFArrayRef array) ) API_AVAILABLE( macos(15.2) ) API_UNAVAILABLE( ios, tvos, watchos );
  cargo:warning=      |                                                                     ^
  cargo:warning=      |                                                                     )

  exit status: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-gcd.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-gcd.c"cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:9,
  cargo:warning=                 from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:43,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy-base-user.h:90,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy.h:168,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-internal.h:45,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-health.h:23,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-health.c:22:
  cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h:178:69: error: expected ')' before '^' token
  cargo:warning=  178 | MD_EXPORT void MDItemGetCacheFileDescriptors(CFArrayRef items, void(^completionHandler)(CFArrayRef array) ) API_AVAILABLE( macos(15.2) ) API_UNAVAILABLE( ios, tvos, watchos );
  cargo:warning=      |                                                                     ^
  cargo:warning=      |                                                                     )

  exit status: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-health.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-health.c"cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:9,
  cargo:warning=                 from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:43,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy-base-user.h:90,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy.h:168,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-internal.h:45,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-noise.h:23,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-noise.c:21:
  cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h:178:69: error: expected ')' before '^' token
  cargo:warning=  178 | MD_EXPORT void MDItemGetCacheFileDescriptors(CFArrayRef items, void(^completionHandler)(CFArrayRef array) ) API_AVAILABLE( macos(15.2) ) API_UNAVAILABLE( ios, tvos, watchos );
  cargo:warning=      |                                                                     ^
  cargo:warning=      |                                                                     )

  exit status: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-noise.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-noise.c"cargo:warning=In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:9,
  cargo:warning=                 from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:43,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy-base-user.h:90,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/jitterentropy.h:168,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-internal.h:45,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-sha3.h:23,
  cargo:warning=                 from /Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-sha3.c:21:
  cargo:warning=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDItem.h:178:69: error: expected ')' before '^' token
  cargo:warning=  178 | MD_EXPORT void MDItemGetCacheFileDescriptors(CFArrayRef items, void(^completionHandler)(CFArrayRef array) ) API_AVAILABLE( macos(15.2) ) API_UNAVAILABLE( ios, tvos, watchos );
  cargo:warning=      |                                                                     ^
  cargo:warning=      |                                                                     )

  exit status: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-sha3.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-sha3.c"

  --- stderr


  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "/opt/homebrew/opt/gcc/bin/gcc-15" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-mmacosx-version-min=15.4" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include" "-I" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library" "-fwrapv" "--param" "ssp-buffer-size=4" "-fvisibility=hidden" "-Wcast-align" "-Wmissing-field-initializers" "-Wshadow" "-Wswitch-enum" "-Wextra" "-Wall" "-pedantic" "-O0" "-fwrapv" "-Wconversion" "--include=/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/generated-include/openssl/boringssl_prefix_symbols.h" "-DBORINGSSL_IMPLEMENTATION=1" "-DBORINGSSL_PREFIX=aws_lc_0_32_3" "-DAWSLC=1" "-march=armv8-a+aes+sha2" "-march=armv8-a+aes+sha2" "-O0" "-o" "/Users/dice/aws-test/target/debug/build/aws-lc-sys-0c5817743f8a0e22/out/2d40dbbd793ef942-jitterentropy-sha3.o" "-c" "/Users/dice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.3/aws-lc/third_party/jitterentropy/jitterentropy-library/src/jitterentropy-sha3.c"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions