raulcd opened a new issue, #46077: URL: https://github.com/apache/arrow/issues/46077
### Describe the bug, including details regarding any error messages, version, and platform. C++ and Python macOS 13 jobs fail to build UTF 8 with: ``` FAILED: src/arrow/CMakeFiles/arrow_util.dir/util/utf8.cc.o /usr/local/bin/ccache /usr/bin/c++ -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_WITH_TIMING_TESTS -DURI_STATIC_BUILD -I/Users/runner/work/arrow/arrow/build/cpp/src -I/Users/runner/work/arrow/arrow/cpp/src -I/Users/runner/work/arrow/arrow/cpp/src/generated -isystem /usr/local/Cellar/boost/1.87.0_1/include -isystem /usr/local/Cellar/brotli/1.1.0/include -isystem /usr/local/opt/lz4/include -fno-aligned-new -Qunused-arguments -fcolor-diagnostics -Wall -Wextra -Wdocumentation -DARROW_WARN_DOCUMENTATION -Wshorten-64-to-32 -Wno-missing-braces -Wno-unused-parameter -Wno-constant-logical-operand -Wno-return-stack-address -Wdate-time -Wno-unknown-warning-option -Wno-pass-failed -msse4.2 -g -Werror -O0 -ggdb -g1 -std=c++17 -mmacosx-version-min=12 -fPIC -MD -MT src/arrow/CMakeFiles/arrow_util.dir/util/utf8.cc.o -MF src/arrow/CMakeFiles/arrow_util.dir/util/utf8.cc.o.d -o src/arrow/CMakeFiles/arrow_uti l.dir/util/utf8.cc.o -c /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8.cc In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8.cc:28: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8_internal.h:28: In file included from /usr/local/include/xsimd/xsimd.hpp:57: /usr/local/include/xsimd/memory/xsimd_aligned_allocator.hpp:165:15: error: parameter 'hint' not found in the function declaration [-Werror,-Wdocumentation] * @param hint unused parameter provided for standard compliance. ^~~~ /usr/local/include/xsimd/memory/xsimd_aligned_allocator.hpp:186:15: error: parameter 'n' not found in the function declaration [-Werror,-Wdocumentation] * @param n number of objects earlier passed to allocate(). ^ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8.cc:28: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8_internal.h:28: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:17: In file included from /usr/local/include/xsimd/arch/./xsimd_generic_fwd.hpp:15: /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:25:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type the type of the associated batch values. ^~~~~~~~~~ /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:127:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type the type of the associated batch values. ^~~~~~~~~~ /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:266:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type type of the (non-constant) batch to build ^~~~~~~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8.cc:28: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8_internal.h:28: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:24: /usr/local/include/xsimd/arch/./xsimd_sse2.hpp:1061:74: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4); ~~~~~~ ~~~~~~^~~~ /usr/local/include/xsimd/arch/./xsimd_sse2.hpp:1061:41: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4); ~~~~~~ ^~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8.cc:28: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8_internal.h:28: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:128: In file included from /usr/local/include/xsimd/arch/./xsimd_generic.hpp:17: /usr/local/include/xsimd/arch/./generic/xsimd_generic_logical.hpp:52:36: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] uint32_t m32 = m; ~~~ ^ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8.cc:28: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/utf8_internal.h:28: In file included from /usr/local/include/xsimd/xsimd.hpp:67: /usr/local/include/xsimd/types/xsimd_api.hpp:1013:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1013:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:1029:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1029:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:1552:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1552:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2014:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2014:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2239:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2239:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2386:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2386:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T 14 errors generated. [270/652] Building CXX object src/arrow/CMakeFiles/arrow_util.dir/util/value_parsing.cc.o [271/652] Building CXX object src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx2.cc.o FAILED: src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx2.cc.o /usr/local/bin/ccache /usr/bin/c++ -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_WITH_TIMING_TESTS -DURI_STATIC_BUILD -I/Users/runner/work/arrow/arrow/build/cpp/src -I/Users/runner/work/arrow/arrow/cpp/src -I/Users/runner/work/arrow/arrow/cpp/src/generated -isystem /usr/local/Cellar/boost/1.87.0_1/include -isystem /usr/local/Cellar/brotli/1.1.0/include -isystem /usr/local/opt/lz4/include -fno-aligned-new -Qunused-arguments -fcolor-diagnostics -Wall -Wextra -Wdocumentation -DARROW_WARN_DOCUMENTATION -Wshorten-64-to-32 -Wno-missing-braces -Wno-unused-parameter -Wno-constant-logical-operand -Wno-return-stack-address -Wdate-time -Wno-unknown-warning-option -Wno-pass-failed -msse4.2 -g -Werror -O0 -ggdb -g1 -std=c++17 -mmacosx-version-min=12 -fPIC -march=haswell -mavx2 -MD -MT src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx2.cc.o -MF src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx2. cc.o.d -o src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx2.cc.o -c /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd256_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:57: /usr/local/include/xsimd/memory/xsimd_aligned_allocator.hpp:165:15: error: parameter 'hint' not found in the function declaration [-Werror,-Wdocumentation] * @param hint unused parameter provided for standard compliance. ^~~~ /usr/local/include/xsimd/memory/xsimd_aligned_allocator.hpp:186:15: error: parameter 'n' not found in the function declaration [-Werror,-Wdocumentation] * @param n number of objects earlier passed to allocate(). ^ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd256_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:17: In file included from /usr/local/include/xsimd/arch/./xsimd_generic_fwd.hpp:15: /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:25:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type the type of the associated batch values. ^~~~~~~~~~ /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:127:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type the type of the associated batch values. ^~~~~~~~~~ /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:266:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type type of the (non-constant) batch to build ^~~~~~~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd256_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:24: /usr/local/include/xsimd/arch/./xsimd_sse2.hpp:1061:74: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4); ~~~~~~ ~~~~~~^~~~ /usr/local/include/xsimd/arch/./xsimd_sse2.hpp:1061:41: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4); ~~~~~~ ^~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd256_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:64: /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:151: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ~~~~~~^~~~~ /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:112: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ~~~~~~^~~~~ /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:74: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ~~~~~~^~~~ /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:41: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ^~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd256_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:128: In file included from /usr/local/include/xsimd/arch/./xsimd_generic.hpp:17: /usr/local/include/xsimd/arch/./generic/xsimd_generic_logical.hpp:52:36: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] uint32_t m32 = m; ~~~ ^ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx2.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd256_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:67: /usr/local/include/xsimd/types/xsimd_api.hpp:1013:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1013:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:1029:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1029:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:1552:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1552:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2014:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2014:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2239:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2239:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2386:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2386:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T 18 errors generated. [272/652] Building CXX object src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx512.cc.o FAILED: src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx512.cc.o /usr/local/bin/ccache /usr/bin/c++ -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_WITH_TIMING_TESTS -DURI_STATIC_BUILD -I/Users/runner/work/arrow/arrow/build/cpp/src -I/Users/runner/work/arrow/arrow/cpp/src -I/Users/runner/work/arrow/arrow/cpp/src/generated -isystem /usr/local/Cellar/boost/1.87.0_1/include -isystem /usr/local/Cellar/brotli/1.1.0/include -isystem /usr/local/opt/lz4/include -fno-aligned-new -Qunused-arguments -fcolor-diagnostics -Wall -Wextra -Wdocumentation -DARROW_WARN_DOCUMENTATION -Wshorten-64-to-32 -Wno-missing-braces -Wno-unused-parameter -Wno-constant-logical-operand -Wno-return-stack-address -Wdate-time -Wno-unknown-warning-option -Wno-pass-failed -msse4.2 -g -Werror -O0 -ggdb -g1 -std=c++17 -mmacosx-version-min=12 -fPIC -march=skylake-avx512 -mavx512f -mavx512cd -mavx512vl -mavx512dq -mavx512bw -MD -MT src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx512.cc.o -MF src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx512.cc.o.d -o src/arrow/CMakeFiles/arrow_util.dir/util/bpacking_avx512.cc.o -c /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd512_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:57: /usr/local/include/xsimd/memory/xsimd_aligned_allocator.hpp:165:15: error: parameter 'hint' not found in the function declaration [-Werror,-Wdocumentation] * @param hint unused parameter provided for standard compliance. ^~~~ /usr/local/include/xsimd/memory/xsimd_aligned_allocator.hpp:186:15: error: parameter 'n' not found in the function declaration [-Werror,-Wdocumentation] * @param n number of objects earlier passed to allocate(). ^ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd512_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:17: In file included from /usr/local/include/xsimd/arch/./xsimd_generic_fwd.hpp:15: /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:25:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type the type of the associated batch values. ^~~~~~~~~~ /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:127:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type the type of the associated batch values. ^~~~~~~~~~ /usr/local/include/xsimd/arch/../types/xsimd_batch_constant.hpp:266:16: error: template parameter 'batch_type' not found in the template declaration [-Werror,-Wdocumentation] * @tparam batch_type type of the (non-constant) batch to build ^~~~~~~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd512_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:24: /usr/local/include/xsimd/arch/./xsimd_sse2.hpp:1061:74: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4); ~~~~~~ ~~~~~~^~~~ /usr/local/include/xsimd/arch/./xsimd_sse2.hpp:1061:41: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4); ~~~~~~ ^~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd512_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:64: /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:151: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ~~~~~~^~~~~ /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:112: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ~~~~~~^~~~~ /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:74: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ~~~~~~^~~~ /usr/local/include/xsimd/arch/./xsimd_avx2.hpp:500:41: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Werror,-Wshorten-64-to-32] return detail::mask_lut(mask8) | (detail::mask_lut(mask8 >> 8) << 4) | (detail::mask_lut(mask8 >> 16) << 8) | (detail::mask_lut(mask8 >> 24) << 12); ~~~~~~ ^~~~~ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd512_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:62: In file included from /usr/local/include/xsimd/types/xsimd_batch.hpp:492: In file included from /usr/local/include/xsimd/config/../types/../arch/xsimd_isa.hpp:128: In file included from /usr/local/include/xsimd/arch/./xsimd_generic.hpp:17: /usr/local/include/xsimd/arch/./generic/xsimd_generic_logical.hpp:52:36: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] uint32_t m32 = m; ~~~ ^ In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_avx512.cc:19: In file included from /Users/runner/work/arrow/arrow/cpp/src/arrow/util/bpacking_simd512_generated_internal.h:25: In file included from /usr/local/include/xsimd/xsimd.hpp:67: /usr/local/include/xsimd/types/xsimd_api.hpp:1013:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1013:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:1029:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1029:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:1552:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:1552:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2014:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2014:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2239:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2239:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T /usr/local/include/xsimd/types/xsimd_api.hpp:2386:16: error: template parameter 'X' not found in the template declaration [-Werror,-Wdocumentation] * @tparam X the actual type of batch. ^ /usr/local/include/xsimd/types/xsimd_api.hpp:2386:16: note: did you mean 'T'? * @tparam X the actual type of batch. ^ T 18 errors generated ``` Some PR jobs that failed: - [AMD64 macOS 13 C++](https://github.com/apache/arrow/actions/runs/14340571689/job/40198533239) - [AMD64 macOS 13 Python 3](https://github.com/apache/arrow/actions/runs/14354330947/job/40242577066) ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org