<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67708>67708</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc++] no member named 'ends_with' in namespace 'std::ranges'
</td>
</tr>
<tr>
<th>Labels</th>
<td>
infrastructure,
libc++
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
shafik
</td>
</tr>
</table>
<pre>
Looks like the test: `libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp` is failing on the build bots: https://buildkite.com/llvm-project/libcxx-ci/builds/30085#018adc40-6c02-4cd5-837a-2af2dfe0cd25
This is the error:
```console
libcxx/benchmarks/CMakeFiles/ranges_ends_with_libcxx.dir/algorithms/ranges_ends_with.bench.cpp.o -c /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-b863daf6ebb6-1/llvm-project/libcxx-ci/libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp
--
| /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-b863daf6ebb6-1/llvm-project/libcxx-ci/libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp:29:43: error: no member named 'ends_with' in namespace 'std::ranges'
| 29 \| benchmark::DoNotOptimize(std::ranges::ends_with(begin1, end1, begin2, end2));
| \| ~~~~~~~~~~~~~^
| /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-b863daf6ebb6-1/llvm-project/libcxx-ci/libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp:47:43: error: no member named 'ends_with' in namespace 'std::ranges'
| 47 \| benchmark::DoNotOptimize(std::ranges::ends_with(begin1, end1, begin2, end2));
| \| ~~~~~~~~~~~~~^
| /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-b863daf6ebb6-1/llvm-project/libcxx-ci/libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp:65:43: error: no member named 'ends_with' in namespace 'std::ranges'
| 65 \| benchmark::DoNotOptimize(std::ranges::ends_with(begin1, end1, begin2, end2));
| \| ~~~~~~~~~~~~~^
| /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-b863daf6ebb6-1/llvm-project/libcxx-ci/libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp:83:43: error: no member named 'ends_with' in namespace 'std::ranges'
| 83 \| benchmark::DoNotOptimize(std::ranges::ends_with(begin1, end1, begin2, end2));
| \| ~~~~~~~~~~~~~^
| /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-b863daf6ebb6-1/llvm-project/libcxx-ci/libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp:102:43: error: no member named 'ends_with' in namespace 'std::ranges'
| 102 \| benchmark::DoNotOptimize(std::ranges::ends_with(begin1, end1, begin2, end2));
| \| ~~~~~~~~~~~~~^
| 5 errors generated.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsV0tvrDYU_jVmY4HMMQ-zYDGZdFZ9bLqPjH0G3DF4ZJv2tov-9spwbzJpbqtKrRI1imXN-MF5fd-HxJEhmHFB7El9R-r7TK5xcr4PkzybSzY4_Wv_rXOXQK25II0T0oghEn6gpGHWDOrTJwKnARc1zdJfAoGTtKPzJk5z2ni5jBgecNHh4RcTp2J7tFDXK2kYNYGepbFmGalbNu_Daqymg4shxZhivKYFgVOKku4uJmKh3EzgZO3Pc3717idUMW23bHJlvjya4nPGRE2As1JIrSqWN4pBXild54K3Mgd5Bn1GpjTUhN0Tdth_f5xMSOmlnNB751MWN_ekYftUbgnO4n76dUCO38kLnozFrwHysNsU2vh_jl3haK4ogdPkZnwqfasak5_iEatcjrjEW0hG50aL-XObfBAN1_Lc4DA0efn36P473jek8vwzjkcgB0ZJe_y_lsMP0BF-qHgS7Bep0MXRGecBPV3kjJoSaB-NCbTULNtFuEqF6TJEnRTGD3skAu0LfKCjpD6mVRqPue5m9-57F3-4RjOb35CA-LO_bX2TgRhwNEtJ4Ehx0dv_dgKfT4BAlya_e8nTUxJ_OX6_HaT-5v2QXbWvQnbVfpD99mQ39auQ3dQfZL892YK_CtmCf5D99mSXDF6F7ZLBO6K73rEKdMQFvYyoi2cfxc8_jfdtpnuuO97JDPuy6eoOWCO6bOplVXEJpZCct6xVQlVdo6AUopZ6aAbMTA8MOOtAlC2rKlEIWeuq6rQspWg7dSYVw1kaWyShFM6PmQlhxb5pWyYyKwe0YWtsAMxy9jJEv6q4eiSQECMASUYE7rYJqf_x_Sa6YR0DqZg1IYYn79FEu3VKN2b1_X8gm2z1tn_e7IwmTutw0-m8fB-2YpPSt3r_CAAA___rF0Yo">