Description
Describe the bug
I cannot use cargo lambda
to build any Rust project that includes aws-sdk-s3
v1.86, whereas using v1.85 or earlier build fine. The build error only happens when using cargo lambda build
not cargo build
.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
No build errors.
Current Behavior
Following the reproduction steps produces this output:
Updating crates.io index
Locking 9 packages to latest Rust 1.86.0 compatible versions
Updating aws-sdk-s3 v1.85.0 -> v1.86.0
Updating aws-smithy-checksums v0.63.1 -> v0.63.2
Adding crc-fast v1.2.1
Adding ppv-lite86 v0.2.21
Adding rand v0.9.1
Adding rand_chacha v0.9.0
Adding rand_core v0.9.3
Adding zerocopy v0.8.25
Adding zerocopy-derive v0.8.25
Compiling crc-fast v1.2.1
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:42:18: error: always_inline function '_mm512_loadu_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
warning: [email protected]: 42 | __m512i x0 = _mm512_loadu_si512((const void*)buf), y0;
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:42:18: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:43:18: error: always_inline function '_mm512_loadu_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
warning: [email protected]: 43 | __m512i x1 = _mm512_loadu_si512((const void*)(buf + 64)), y1;
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:43:18: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:44:18: error: always_inline function '_mm512_loadu_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
warning: [email protected]: 44 | __m512i x2 = _mm512_loadu_si512((const void*)(buf + 128)), y2;
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:44:18: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:46:9: error: always_inline function '_mm512_broadcast_i32x4' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
warning: [email protected]: 46 | k = _mm512_broadcast_i32x4(_mm_setr_epi32(0xa87ab8a8, 0, 0xab7aff2a, 0));
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:46:9: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:27: error: always_inline function '_mm512_castsi128_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
warning: [email protected]: 47 | x0 = _mm512_xor_si512(_mm512_castsi128_si512(_mm_cvtsi32_si128(crc0)), x0);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:27: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:10: error: always_inline function '_mm512_xor_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
warning: [email protected]: 47 | x0 = _mm512_xor_si512(_mm512_castsi128_si512(_mm_cvtsi32_si128(crc0)), x0);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:10: error: AVX vector argument of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:48:10: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
warning: [email protected]: 48 | y0 = clmul_lo(x0, k), x0 = clmul_hi(x0, k);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:20:25: note: expanded from macro 'clmul_lo'
warning: [email protected]: 20 | #define clmul_lo(a, b) (_mm512_clmulepi64_epi128((a), (b), 0))
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
warning: [email protected]: 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:48:32: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
warning: [email protected]: 48 | y0 = clmul_lo(x0, k), x0 = clmul_hi(x0, k);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:21:25: note: expanded from macro 'clmul_hi'
warning: [email protected]: 21 | #define clmul_hi(a, b) (_mm512_clmulepi64_epi128((a), (b), 17))
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
warning: [email protected]: 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:49:10: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
warning: [email protected]: 49 | y1 = clmul_lo(x1, k), x1 = clmul_hi(x1, k);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:20:25: note: expanded from macro 'clmul_lo'
warning: [email protected]: 20 | #define clmul_lo(a, b) (_mm512_clmulepi64_epi128((a), (b), 0))
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
warning: [email protected]: 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:49:32: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
warning: [email protected]: 49 | y1 = clmul_lo(x1, k), x1 = clmul_hi(x1, k);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:21:25: note: expanded from macro 'clmul_hi'
warning: [email protected]: 21 | #define clmul_hi(a, b) (_mm512_clmulepi64_epi128((a), (b), 17))
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
warning: [email protected]: 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:50:10: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
warning: [email protected]: 50 | y2 = clmul_lo(x2, k), x2 = clmul_hi(x2, k);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:20:25: note: expanded from macro 'clmul_lo'
warning: [email protected]: 20 | #define clmul_lo(a, b) (_mm512_clmulepi64_epi128((a), (b), 0))
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
warning: [email protected]: 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:50:32: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
warning: [email protected]: 50 | y2 = clmul_lo(x2, k), x2 = clmul_hi(x2, k);
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:21:25: note: expanded from macro 'clmul_hi'
warning: [email protected]: 21 | #define clmul_hi(a, b) (_mm512_clmulepi64_epi128((a), (b), 17))
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
warning: [email protected]: 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
warning: [email protected]: | ^
warning: [email protected]: include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:51:10: error: '__builtin_ia32_pternlogq512_mask' needs target feature avx512f,evex512
warning: [email protected]: 51 | x0 = _mm512_ternarylogic_epi64(x0, y0, _mm512_loadu_si512((const void*)(buf + 192)), 0x96);
warning: [email protected]: | ^
warning: [email protected]: /home/ec2-user/bin/zig/lib/include/avx512fintrin.h:5971:13: note: expanded from macro '_mm512_ternarylogic_epi64'
warning: [email protected]: 5971 | ((__m512i)__builtin_ia32_pternlogq512_mask( \
warning: [email protected]: | ^
warning: [email protected]: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: [email protected]: 20 errors generated.
error: failed to run custom build command for `crc-fast v1.2.1`
Caused by:
process didn't exit successfully: `/home/ec2-user/aws-s3/target/debug/build/crc-fast-ef0cf203bf559223/build-script-build` (exit status: 1)
--- stdout
Building AVX512 VPCLMULQDQ v3x2
OUT_DIR = Some(/home/ec2-user/aws-s3/target/x86_64-unknown-linux-gnu/debug/build/crc-fast-922b7726669a341b/out)
OPT_LEVEL = Some(0)
TARGET = Some(x86_64-unknown-linux-gnu)
HOST = Some(x86_64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
CC_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
CC_x86_64_unknown_linux_gnu = Some(/home/ec2-user/.cache/cargo-zigbuild/0.20.0/zigcc-x86_64-unknown-linux-gnu-de6.sh)
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:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
CFLAGS_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
CFLAGS_x86_64-unknown-linux-gnu = None
CARGO_ENCODED_RUSTFLAGS = Some()
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:42:18: error: always_inline function '_mm512_loadu_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
cargo:warning= 42 | __m512i x0 = _mm512_loadu_si512((const void*)buf), y0;
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:42:18: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:43:18: error: always_inline function '_mm512_loadu_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
cargo:warning= 43 | __m512i x1 = _mm512_loadu_si512((const void*)(buf + 64)), y1;
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:43:18: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:44:18: error: always_inline function '_mm512_loadu_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
cargo:warning= 44 | __m512i x2 = _mm512_loadu_si512((const void*)(buf + 128)), y2;
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:44:18: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:46:9: error: always_inline function '_mm512_broadcast_i32x4' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
cargo:warning= 46 | k = _mm512_broadcast_i32x4(_mm_setr_epi32(0xa87ab8a8, 0, 0xab7aff2a, 0));
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:46:9: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:27: error: always_inline function '_mm512_castsi128_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
cargo:warning= 47 | x0 = _mm512_xor_si512(_mm512_castsi128_si512(_mm_cvtsi32_si128(crc0)), x0);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:27: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:10: error: always_inline function '_mm512_xor_si512' requires target feature 'evex512', but would be inlined into function 'crc32_iscsi_impl' that is compiled without support for 'evex512'
cargo:warning= 47 | x0 = _mm512_xor_si512(_mm512_castsi128_si512(_mm_cvtsi32_si128(crc0)), x0);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:47:10: error: AVX vector argument of type '__m512i' (vector of 8 'long long' values) without 'evex512' enabled changes the ABI
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:48:10: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
cargo:warning= 48 | y0 = clmul_lo(x0, k), x0 = clmul_hi(x0, k);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:20:25: note: expanded from macro 'clmul_lo'
cargo:warning= 20 | #define clmul_lo(a, b) (_mm512_clmulepi64_epi128((a), (b), 0))
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
cargo:warning= 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:48:32: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
cargo:warning= 48 | y0 = clmul_lo(x0, k), x0 = clmul_hi(x0, k);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:21:25: note: expanded from macro 'clmul_hi'
cargo:warning= 21 | #define clmul_hi(a, b) (_mm512_clmulepi64_epi128((a), (b), 17))
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
cargo:warning= 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:49:10: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
cargo:warning= 49 | y1 = clmul_lo(x1, k), x1 = clmul_hi(x1, k);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:20:25: note: expanded from macro 'clmul_lo'
cargo:warning= 20 | #define clmul_lo(a, b) (_mm512_clmulepi64_epi128((a), (b), 0))
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
cargo:warning= 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:49:32: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
cargo:warning= 49 | y1 = clmul_lo(x1, k), x1 = clmul_hi(x1, k);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:21:25: note: expanded from macro 'clmul_hi'
cargo:warning= 21 | #define clmul_hi(a, b) (_mm512_clmulepi64_epi128((a), (b), 17))
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
cargo:warning= 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:50:10: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
cargo:warning= 50 | y2 = clmul_lo(x2, k), x2 = clmul_hi(x2, k);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:20:25: note: expanded from macro 'clmul_lo'
cargo:warning= 20 | #define clmul_lo(a, b) (_mm512_clmulepi64_epi128((a), (b), 0))
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
cargo:warning= 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:50:32: error: '__builtin_ia32_pclmulqdq512' needs target feature avx512f,evex512,vpclmulqdq
cargo:warning= 50 | y2 = clmul_lo(x2, k), x2 = clmul_hi(x2, k);
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:21:25: note: expanded from macro 'clmul_hi'
cargo:warning= 21 | #define clmul_hi(a, b) (_mm512_clmulepi64_epi128((a), (b), 17))
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/vpclmulqdqintrin.h:24:13: note: expanded from macro '_mm512_clmulepi64_epi128'
cargo:warning= 24 | ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
cargo:warning= | ^
cargo:warning=include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c:51:10: error: '__builtin_ia32_pternlogq512_mask' needs target feature avx512f,evex512
cargo:warning= 51 | x0 = _mm512_ternarylogic_epi64(x0, y0, _mm512_loadu_si512((const void*)(buf + 192)), 0x96);
cargo:warning= | ^
cargo:warning=/home/ec2-user/bin/zig/lib/include/avx512fintrin.h:5971:13: note: expanded from macro '_mm512_ternarylogic_epi64'
cargo:warning= 5971 | ((__m512i)__builtin_ia32_pternlogq512_mask( \
cargo:warning= | ^
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
--- stderr
error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "/home/ec2-user/.cache/cargo-zigbuild/0.20.0/zigcc-x86_64-unknown-linux-gnu-de6.sh" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "--target=x86_64-unknown-linux-gnu" "-I" "include" "-Wall" "-Wextra" "-msse4.2" "-mpclmul" "-mavx512f" "-mavx512vl" "-mvpclmulqdq" "-o" "/home/ec2-user/aws-s3/target/x86_64-unknown-linux-gnu/debug/build/crc-fast-922b7726669a341b/out/b0926c13c671e7f9-crc32_iscsi_avx512_vpclmulqdq_v3x2.o" "-c" "include/crc32_iscsi_avx512_vpclmulqdq_v3x2.c"
Reproduction Steps
Install:
- Rust toolchain v1.86.0 (latest stable)
- cargo-lambda v1.8.5
Create and build this project:
cargo new aws-s3-test
cd aws-s3-test
cargo add aws-sdk-s3@=1.86.0
cargo lambda build
Possible Solution
The problem occurs when cargo tries to build crc-fast
, which is a new dependency of aws-smithy-checksums
v0.63.2. I'm not certain whether the problem is in the crate itself or in the build environment. I'm not sure how to isolate the problem further than I have.
Additional Information/Context
I am running Amazon Linux 2023 in Windows using WSL2. uname -a
produces this output:
Linux GLYN-PC 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Version
aws-s3 v0.1.0 (/home/ec2-user/aws-s3)
└── aws-sdk-s3 v1.86.0
├── aws-credential-types v1.2.3
│ ├── aws-smithy-async v1.2.5
│ ├── aws-smithy-runtime-api v1.8.0
│ │ ├── aws-smithy-async v1.2.5 (*)
│ │ ├── aws-smithy-types v1.3.1
│ ├── aws-smithy-types v1.3.1 (*)
├── aws-runtime v1.5.7
│ ├── aws-credential-types v1.2.3 (*)
│ ├── aws-sigv4 v1.3.2
│ │ ├── aws-credential-types v1.2.3 (*)
│ │ ├── aws-smithy-eventstream v0.60.8
│ │ │ ├── aws-smithy-types v1.3.1 (*)
│ │ ├── aws-smithy-http v0.62.1
│ │ │ ├── aws-smithy-eventstream v0.60.8 (*)
│ │ │ ├── aws-smithy-runtime-api v1.8.0 (*)
│ │ │ ├── aws-smithy-types v1.3.1 (*)
│ │ ├── aws-smithy-runtime-api v1.8.0 (*)
│ │ ├── aws-smithy-types v1.3.1 (*)
│ ├── aws-smithy-async v1.2.5 (*)
│ ├── aws-smithy-eventstream v0.60.8 (*)
│ ├── aws-smithy-http v0.62.1 (*)
│ ├── aws-smithy-runtime v1.8.3
│ │ ├── aws-smithy-async v1.2.5 (*)
│ │ ├── aws-smithy-http v0.62.1 (*)
│ │ ├── aws-smithy-http-client v1.0.2
│ │ │ ├── aws-smithy-async v1.2.5 (*)
│ │ │ ├── aws-smithy-runtime-api v1.8.0 (*)
│ │ │ ├── aws-smithy-types v1.3.1 (*)
│ │ │ │ │ ├── aws-lc-rs v1.13.1
│ │ │ │ │ │ ├── aws-lc-sys v0.29.0
│ │ │ │ │ │ ├── aws-lc-rs v1.13.1 (*)
│ │ ├── aws-smithy-observability v0.1.3
│ │ │ └── aws-smithy-runtime-api v1.8.0 (*)
│ │ ├── aws-smithy-runtime-api v1.8.0 (*)
│ │ ├── aws-smithy-types v1.3.1 (*)
│ ├── aws-smithy-runtime-api v1.8.0 (*)
│ ├── aws-smithy-types v1.3.1 (*)
│ ├── aws-types v1.3.7
│ │ ├── aws-credential-types v1.2.3 (*)
│ │ ├── aws-smithy-async v1.2.5 (*)
│ │ ├── aws-smithy-runtime-api v1.8.0 (*)
│ │ ├── aws-smithy-types v1.3.1 (*)
├── aws-sigv4 v1.3.2 (*)
├── aws-smithy-async v1.2.5 (*)
├── aws-smithy-checksums v0.63.2
│ ├── aws-smithy-http v0.62.1 (*)
│ ├── aws-smithy-types v1.3.1 (*)
├── aws-smithy-eventstream v0.60.8 (*)
├── aws-smithy-http v0.62.1 (*)
├── aws-smithy-json v0.61.3
│ └── aws-smithy-types v1.3.1 (*)
├── aws-smithy-runtime v1.8.3 (*)
├── aws-smithy-runtime-api v1.8.0 (*)
├── aws-smithy-types v1.3.1 (*)
├── aws-smithy-xml v0.60.9
├── aws-types v1.3.7 (*)
Environment details (OS name and version, etc.)
Amazon Linux 2023, x86_64
Logs
No response