Skip to content

Conversation

philnik777
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Jul 7, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@philnik777 philnik777 force-pushed the refactor_find_equal branch 3 times, most recently from 0b1dda6 to eef8948 Compare August 7, 2025 08:41
@philnik777 philnik777 force-pushed the refactor_find_equal branch 2 times, most recently from 97ca009 to aa226b2 Compare August 20, 2025 13:46
@ldionne ldionne marked this pull request as ready for review August 28, 2025 15:53
@ldionne ldionne requested a review from a team as a code owner August 28, 2025 15:53
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Aug 28, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 28, 2025

@llvm/pr-subscribers-libcxx

Author: Nikolas Klauser (philnik777)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/147345.diff

2 Files Affected:

  • (modified) libcxx/include/__tree (+100-124)
  • (modified) libcxx/include/map (+4-7)
diff --git a/libcxx/include/__tree b/libcxx/include/__tree
index a84a0e43d3dda..778cac6ee7766 100644
--- a/libcxx/include/__tree
+++ b/libcxx/include/__tree
@@ -1045,8 +1045,7 @@ public:
 
   template <class _Key>
   _LIBCPP_HIDE_FROM_ABI iterator find(const _Key& __key) {
-    __end_node_pointer __parent;
-    __node_base_pointer __match = __find_equal(__parent, __key);
+    auto [__, __match] = __find_equal(__key);
     if (__match == nullptr)
       return end();
     return iterator(static_cast<__node_pointer>(__match));
@@ -1054,8 +1053,7 @@ public:
 
   template <class _Key>
   _LIBCPP_HIDE_FROM_ABI const_iterator find(const _Key& __key) const {
-    __end_node_pointer __parent;
-    __node_base_pointer __match = __find_equal(__parent, __key);
+    auto [__, __match] = __find_equal(__key);
     if (__match == nullptr)
       return end();
     return const_iterator(static_cast<__node_pointer>(__match));
@@ -1109,15 +1107,89 @@ public:
 
   // FIXME: Make this function const qualified. Unfortunately doing so
   // breaks existing code which uses non-const callable comparators.
+
+  // Find place to insert if __v doesn't exist
+  // Set __parent to parent of null leaf
+  // Return reference to null leaf
+  // If __v exists, set parent to node of __v and return reference to node of __v
   template <class _Key>
-  _LIBCPP_HIDE_FROM_ABI __node_base_pointer& __find_equal(__end_node_pointer& __parent, const _Key& __v);
+  _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) {
+    using _Pair = pair<__end_node_pointer, __node_base_pointer&>;
+
+    __node_pointer __nd = __root();
+
+    if (__nd == nullptr) {
+      auto __end = __end_node();
+      return _Pair(__end, __end->__left_);
+    }
+
+    __node_base_pointer* __node_ptr = __root_ptr();
+    while (true) {
+      if (value_comp()(__v, __nd->__get_value())) {
+        if (__nd->__left_ == nullptr)
+          return _Pair(static_cast<__end_node_pointer>(__nd), __nd->__left_);
+
+        __node_ptr = std::addressof(__nd->__left_);
+        __nd       = static_cast<__node_pointer>(__nd->__left_);
+      } else if (value_comp()(__nd->__get_value(), __v)) {
+        if (__nd->__right_ == nullptr)
+          return _Pair(static_cast<__end_node_pointer>(__nd), __nd->__right_);
+
+        __node_ptr = std::addressof(__nd->__right_);
+        __nd       = static_cast<__node_pointer>(__nd->__right_);
+      } else {
+        return _Pair(static_cast<__end_node_pointer>(__nd), *__node_ptr);
+      }
+    }
+  }
+
   template <class _Key>
-  _LIBCPP_HIDE_FROM_ABI __node_base_pointer& __find_equal(__end_node_pointer& __parent, const _Key& __v) const {
-    return const_cast<__tree*>(this)->__find_equal(__parent, __v);
+  _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
+    return const_cast<__tree*>(this)->__find_equal(__v);
   }
+
+  // Find place to insert if __v doesn't exist
+  // First check prior to __hint.
+  // Next check after __hint.
+  // Next do O(log N) search.
+  // Set __parent to parent of null leaf
+  // Return reference to null leaf
+  // If __v exists, set parent to node of __v and return reference to node of __v
   template <class _Key>
-  _LIBCPP_HIDE_FROM_ABI __node_base_pointer&
-  __find_equal(const_iterator __hint, __end_node_pointer& __parent, __node_base_pointer& __dummy, const _Key& __v);
+  _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&>
+  __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v) {
+    using _Pair = pair<__end_node_pointer, __node_base_pointer&>;
+
+    if (__hint == end() || value_comp()(__v, *__hint)) { // check before
+      // __v < *__hint
+      const_iterator __prior = __hint;
+      if (__prior == begin() || value_comp()(*--__prior, __v)) {
+        // *prev(__hint) < __v < *__hint
+        if (__hint.__ptr_->__left_ == nullptr)
+          return _Pair(__hint.__ptr_, __hint.__ptr_->__left_);
+        return _Pair(__prior.__ptr_, static_cast<__node_pointer>(__prior.__ptr_)->__right_);
+      }
+      // __v <= *prev(__hint)
+      return __find_equal(__v);
+    }
+
+    if (value_comp()(*__hint, __v)) { // check after
+      // *__hint < __v
+      const_iterator __next = std::next(__hint);
+      if (__next == end() || value_comp()(__v, *__next)) {
+        // *__hint < __v < *std::next(__hint)
+        if (__hint.__get_np()->__right_ == nullptr)
+          return _Pair(__hint.__ptr_, static_cast<__node_pointer>(__hint.__ptr_)->__right_);
+        return _Pair(__next.__ptr_, __next.__ptr_->__left_);
+      }
+      // *next(__hint) <= __v
+      return __find_equal(__v);
+    }
+
+    // else __v == *__hint
+    __dummy = static_cast<__node_base_pointer>(__hint.__ptr_);
+    return _Pair(__hint.__ptr_, __dummy);
+  }
 
   _LIBCPP_HIDE_FROM_ABI void __copy_assign_alloc(const __tree& __t) {
     __copy_assign_alloc(__t, integral_constant<bool, __node_traits::propagate_on_container_copy_assignment::value>());
@@ -1670,94 +1742,6 @@ typename __tree<_Tp, _Compare, _Allocator>::__node_base_pointer& __tree<_Tp, _Co
   return __find_leaf_low(__parent, __v);
 }
 
-// Find place to insert if __v doesn't exist
-// Set __parent to parent of null leaf
-// Return reference to null leaf
-// If __v exists, set parent to node of __v and return reference to node of __v
-template <class _Tp, class _Compare, class _Allocator>
-template <class _Key>
-typename __tree<_Tp, _Compare, _Allocator>::__node_base_pointer&
-__tree<_Tp, _Compare, _Allocator>::__find_equal(__end_node_pointer& __parent, const _Key& __v) {
-  __node_pointer __nd           = __root();
-  __node_base_pointer* __nd_ptr = __root_ptr();
-  if (__nd != nullptr) {
-    while (true) {
-      if (value_comp()(__v, __nd->__get_value())) {
-        if (__nd->__left_ != nullptr) {
-          __nd_ptr = std::addressof(__nd->__left_);
-          __nd     = static_cast<__node_pointer>(__nd->__left_);
-        } else {
-          __parent = static_cast<__end_node_pointer>(__nd);
-          return __parent->__left_;
-        }
-      } else if (value_comp()(__nd->__get_value(), __v)) {
-        if (__nd->__right_ != nullptr) {
-          __nd_ptr = std::addressof(__nd->__right_);
-          __nd     = static_cast<__node_pointer>(__nd->__right_);
-        } else {
-          __parent = static_cast<__end_node_pointer>(__nd);
-          return __nd->__right_;
-        }
-      } else {
-        __parent = static_cast<__end_node_pointer>(__nd);
-        return *__nd_ptr;
-      }
-    }
-  }
-  __parent = __end_node();
-  return __parent->__left_;
-}
-
-// Find place to insert if __v doesn't exist
-// First check prior to __hint.
-// Next check after __hint.
-// Next do O(log N) search.
-// Set __parent to parent of null leaf
-// Return reference to null leaf
-// If __v exists, set parent to node of __v and return reference to node of __v
-template <class _Tp, class _Compare, class _Allocator>
-template <class _Key>
-typename __tree<_Tp, _Compare, _Allocator>::__node_base_pointer& __tree<_Tp, _Compare, _Allocator>::__find_equal(
-    const_iterator __hint, __end_node_pointer& __parent, __node_base_pointer& __dummy, const _Key& __v) {
-  if (__hint == end() || value_comp()(__v, *__hint)) // check before
-  {
-    // __v < *__hint
-    const_iterator __prior = __hint;
-    if (__prior == begin() || value_comp()(*--__prior, __v)) {
-      // *prev(__hint) < __v < *__hint
-      if (__hint.__ptr_->__left_ == nullptr) {
-        __parent = __hint.__ptr_;
-        return __parent->__left_;
-      } else {
-        __parent = __prior.__ptr_;
-        return static_cast<__node_base_pointer>(__prior.__ptr_)->__right_;
-      }
-    }
-    // __v <= *prev(__hint)
-    return __find_equal(__parent, __v);
-  } else if (value_comp()(*__hint, __v)) // check after
-  {
-    // *__hint < __v
-    const_iterator __next = std::next(__hint);
-    if (__next == end() || value_comp()(__v, *__next)) {
-      // *__hint < __v < *std::next(__hint)
-      if (__hint.__get_np()->__right_ == nullptr) {
-        __parent = __hint.__ptr_;
-        return static_cast<__node_base_pointer>(__hint.__ptr_)->__right_;
-      } else {
-        __parent = __next.__ptr_;
-        return __parent->__left_;
-      }
-    }
-    // *next(__hint) <= __v
-    return __find_equal(__parent, __v);
-  }
-  // else __v == *__hint
-  __parent = __hint.__ptr_;
-  __dummy  = static_cast<__node_base_pointer>(__hint.__ptr_);
-  return __dummy;
-}
-
 template <class _Tp, class _Compare, class _Allocator>
 void __tree<_Tp, _Compare, _Allocator>::__insert_node_at(
     __end_node_pointer __parent, __node_base_pointer& __child, __node_base_pointer __new_node) _NOEXCEPT {
@@ -1776,10 +1760,9 @@ template <class _Tp, class _Compare, class _Allocator>
 template <class _Key, class... _Args>
 pair<typename __tree<_Tp, _Compare, _Allocator>::iterator, bool>
 __tree<_Tp, _Compare, _Allocator>::__emplace_unique_key_args(_Key const& __k, _Args&&... __args) {
-  __end_node_pointer __parent;
-  __node_base_pointer& __child = __find_equal(__parent, __k);
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
-  bool __inserted              = false;
+  auto [__parent, __child] = __find_equal(__k);
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
+  bool __inserted          = false;
   if (__child == nullptr) {
     __node_holder __h = __construct_node(std::forward<_Args>(__args)...);
     __insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get()));
@@ -1794,11 +1777,10 @@ template <class _Key, class... _Args>
 pair<typename __tree<_Tp, _Compare, _Allocator>::iterator, bool>
 __tree<_Tp, _Compare, _Allocator>::__emplace_hint_unique_key_args(
     const_iterator __p, _Key const& __k, _Args&&... __args) {
-  __end_node_pointer __parent;
   __node_base_pointer __dummy;
-  __node_base_pointer& __child = __find_equal(__p, __parent, __dummy, __k);
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
-  bool __inserted              = false;
+  auto [__parent, __child] = __find_equal(__p, __dummy, __k);
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
+  bool __inserted          = false;
   if (__child == nullptr) {
     __node_holder __h = __construct_node(std::forward<_Args>(__args)...);
     __insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get()));
@@ -1823,11 +1805,10 @@ template <class _Tp, class _Compare, class _Allocator>
 template <class... _Args>
 pair<typename __tree<_Tp, _Compare, _Allocator>::iterator, bool>
 __tree<_Tp, _Compare, _Allocator>::__emplace_unique_impl(_Args&&... __args) {
-  __node_holder __h = __construct_node(std::forward<_Args>(__args)...);
-  __end_node_pointer __parent;
-  __node_base_pointer& __child = __find_equal(__parent, __h->__get_value());
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
-  bool __inserted              = false;
+  __node_holder __h        = __construct_node(std::forward<_Args>(__args)...);
+  auto [__parent, __child] = __find_equal(__h->__get_value());
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
+  bool __inserted          = false;
   if (__child == nullptr) {
     __insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get()));
     __r        = __h.release();
@@ -1841,10 +1822,9 @@ template <class... _Args>
 typename __tree<_Tp, _Compare, _Allocator>::iterator
 __tree<_Tp, _Compare, _Allocator>::__emplace_hint_unique_impl(const_iterator __p, _Args&&... __args) {
   __node_holder __h = __construct_node(std::forward<_Args>(__args)...);
-  __end_node_pointer __parent;
   __node_base_pointer __dummy;
-  __node_base_pointer& __child = __find_equal(__p, __parent, __dummy, __h->__get_value());
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
+  auto [__parent, __child] = __find_equal(__p, __dummy, __h->__get_value());
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
   if (__child == nullptr) {
     __insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get()));
     __r = __h.release();
@@ -1877,10 +1857,9 @@ __tree<_Tp, _Compare, _Allocator>::__emplace_hint_multi(const_iterator __p, _Arg
 template <class _Tp, class _Compare, class _Allocator>
 pair<typename __tree<_Tp, _Compare, _Allocator>::iterator, bool>
 __tree<_Tp, _Compare, _Allocator>::__node_assign_unique(const value_type& __v, __node_pointer __nd) {
-  __end_node_pointer __parent;
-  __node_base_pointer& __child = __find_equal(__parent, __v);
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
-  bool __inserted              = false;
+  auto [__parent, __child] = __find_equal(__v);
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
+  bool __inserted          = false;
   if (__child == nullptr) {
     __assign_value(__nd->__get_value(), __v);
     __insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__nd));
@@ -1929,8 +1908,7 @@ __tree<_Tp, _Compare, _Allocator>::__node_handle_insert_unique(_NodeHandle&& __n
     return _InsertReturnType{end(), false, _NodeHandle()};
 
   __node_pointer __ptr = __nh.__ptr_;
-  __end_node_pointer __parent;
-  __node_base_pointer& __child = __find_equal(__parent, __ptr->__get_value());
+  auto [__parent, __child] = __find_equal(__ptr->__get_value());
   if (__child != nullptr)
     return _InsertReturnType{iterator(static_cast<__node_pointer>(__child)), false, std::move(__nh)};
 
@@ -1947,10 +1925,9 @@ __tree<_Tp, _Compare, _Allocator>::__node_handle_insert_unique(const_iterator __
     return end();
 
   __node_pointer __ptr = __nh.__ptr_;
-  __end_node_pointer __parent;
   __node_base_pointer __dummy;
-  __node_base_pointer& __child = __find_equal(__hint, __parent, __dummy, __ptr->__get_value());
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
+  auto [__parent, __child] = __find_equal(__hint, __dummy, __ptr->__get_value());
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
   if (__child == nullptr) {
     __insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__ptr));
     __r = __ptr;
@@ -1983,8 +1960,7 @@ _LIBCPP_HIDE_FROM_ABI void __tree<_Tp, _Compare, _Allocator>::__node_handle_merg
 
   for (typename _Tree::iterator __i = __source.begin(); __i != __source.end();) {
     __node_pointer __src_ptr = __i.__get_np();
-    __end_node_pointer __parent;
-    __node_base_pointer& __child = __find_equal(__parent, __src_ptr->__get_value());
+    auto [__parent, __child] = __find_equal(__src_ptr->__get_value());
     ++__i;
     if (__child != nullptr)
       continue;
diff --git a/libcxx/include/map b/libcxx/include/map
index 4dfce70e50e7f..9b54903b5b334 100644
--- a/libcxx/include/map
+++ b/libcxx/include/map
@@ -1429,9 +1429,8 @@ map<_Key, _Tp, _Compare, _Allocator>::__construct_node_with_key(const key_type&
 
 template <class _Key, class _Tp, class _Compare, class _Allocator>
 _Tp& map<_Key, _Tp, _Compare, _Allocator>::operator[](const key_type& __k) {
-  __parent_pointer __parent;
-  __node_base_pointer& __child = __tree_.__find_equal(__parent, __k);
-  __node_pointer __r           = static_cast<__node_pointer>(__child);
+  auto [__parent, __child] = __tree_.__find_equal(__k);
+  __node_pointer __r       = static_cast<__node_pointer>(__child);
   if (__child == nullptr) {
     __node_holder __h = __construct_node_with_key(__k);
     __tree_.__insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get()));
@@ -1444,8 +1443,7 @@ _Tp& map<_Key, _Tp, _Compare, _Allocator>::operator[](const key_type& __k) {
 
 template <class _Key, class _Tp, class _Compare, class _Allocator>
 _Tp& map<_Key, _Tp, _Compare, _Allocator>::at(const key_type& __k) {
-  __parent_pointer __parent;
-  __node_base_pointer& __child = __tree_.__find_equal(__parent, __k);
+  auto [_, __child] = __tree_.__find_equal(__k);
   if (__child == nullptr)
     std::__throw_out_of_range("map::at:  key not found");
   return static_cast<__node_pointer>(__child)->__get_value().second;
@@ -1453,8 +1451,7 @@ _Tp& map<_Key, _Tp, _Compare, _Allocator>::at(const key_type& __k) {
 
 template <class _Key, class _Tp, class _Compare, class _Allocator>
 const _Tp& map<_Key, _Tp, _Compare, _Allocator>::at(const key_type& __k) const {
-  __parent_pointer __parent;
-  __node_base_pointer __child = __tree_.__find_equal(__parent, __k);
+  auto [_, __child] = __tree_.__find_equal(__k);
   if (__child == nullptr)
     std::__throw_out_of_range("map::at:  key not found");
   return static_cast<__node_pointer>(__child)->__get_value().second;

@philnik777 philnik777 force-pushed the refactor_find_equal branch from aa226b2 to cb3793a Compare August 29, 2025 09:13
Copy link
Member

@ldionne ldionne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nitpicks.

philnik777 and others added 2 commits September 3, 2025 08:28
@philnik777 philnik777 merged commit 4a2dd31 into llvm:main Sep 3, 2025
7 of 14 checks passed
@philnik777 philnik777 deleted the refactor_find_equal branch September 3, 2025 06:29
@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-fuzzer running on sanitizer-buildbot12 while building libcxx at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/159/builds/30027

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[14/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.aarch64.dir/FuzzerMain.cpp.o
[15/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerExtFunctionsWeak.cpp.o
[16/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerSHA1.cpp.o
[17/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerCrossOver.cpp.o
[18/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIOPosix.cpp.o
[19/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilLinux.cpp.o
[20/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilPosix.cpp.o
[21/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtil.cpp.o
[22/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIO.cpp.o
[23/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o
FAILED: compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o 
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/./bin/clang++ --target=aarch64-unknown-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o -c /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:11:
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerCommand.h:15:
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:19:
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:537:
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1050:46: error: no matching member function for call to '__find_equal'
 1050 |               __node_base_pointer& __child = __find_equal(__parent, __key);
      |                                              ^~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1041:75: note: while substituting into a lambda expression here
 1041 |           [this, &__max_node](const key_type& __key, __reference&& __val) {
      |                                                                           ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1177:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1177 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1174:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1174 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v);
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1183:3: note: candidate function template not viable: requires 3 arguments, but 2 were provided
 1183 |   __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v);
      |   ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1066:46: error: no matching member function for call to '__find_equal'
 1066 |               __node_base_pointer& __child = __find_equal(__parent, __nd->__get_value());
      |                                              ^~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1057:52: note: while substituting into a lambda expression here
 1057 |           [this, &__max_node](__reference&& __val) {
      |                                                    ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
Step 7 (stage1 build all) failure: stage1 build all (failure)
...
[14/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.aarch64.dir/FuzzerMain.cpp.o
[15/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerExtFunctionsWeak.cpp.o
[16/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerSHA1.cpp.o
[17/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerCrossOver.cpp.o
[18/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIOPosix.cpp.o
[19/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilLinux.cpp.o
[20/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilPosix.cpp.o
[21/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtil.cpp.o
[22/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIO.cpp.o
[23/32] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o
FAILED: compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o 
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/./bin/clang++ --target=aarch64-unknown-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o -c /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:11:
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerCommand.h:15:
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:19:
In file included from /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:537:
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1050:46: error: no matching member function for call to '__find_equal'
 1050 |               __node_base_pointer& __child = __find_equal(__parent, __key);
      |                                              ^~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1041:75: note: while substituting into a lambda expression here
 1041 |           [this, &__max_node](const key_type& __key, __reference&& __val) {
      |                                                                           ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1177:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1177 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1174:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1174 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v);
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1183:3: note: candidate function template not viable: requires 3 arguments, but 2 were provided
 1183 |   __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v);
      |   ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1066:46: error: no matching member function for call to '__find_equal'
 1066 |               __node_base_pointer& __child = __find_equal(__parent, __nd->__get_value());
      |                                              ^~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1057:52: note: while substituting into a lambda expression here
 1057 |           [this, &__max_node](__reference&& __val) {
      |                                                    ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 3, 2025

LLVM Buildbot has detected a new failure on builder clang-hip-vega20 running on hip-vega20-0 while building libcxx at step 3 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/26400

Here is the relevant piece of the build log for the reference
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[3135/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp
[3136/3173] : && /usr/bin/cmake -E rm -f /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-ar Dqc /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a  compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-ranlib -D /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a && cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/cxx_x86_64_merge.dir && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -m64 -Wl,--whole-archive /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a -Wl,--no-whole-archive /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a -r -o fuzzer_interceptors.o && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-objcopy --localize-hidden fuzzer_interceptors.o && /usr/bin/cmake -E remove /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-ar qcs /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a fuzzer_interceptors.o
[3137/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerExtFunctionsWeak.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerExtFunctionsWeak.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerExtFunctionsWeak.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
[3138/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.i386.dir/FuzzerMain.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.i386.dir/FuzzerMain.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.i386.dir/FuzzerMain.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp
[3139/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerUtilLinux.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerUtilLinux.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerUtilLinux.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
[3140/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerSHA1.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerSHA1.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerSHA1.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerSHA1.cpp
[3141/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerCrossOver.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerCrossOver.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerCrossOver.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerCrossOver.cpp
[3142/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIOPosix.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIOPosix.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIOPosix.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
[3143/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIO.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIO.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIO.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerIO.cpp
[3144/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
FAILED: compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o 
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:11:
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerCommand.h:15:
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:19:
In file included from /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/set:537:
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1050:46: error: no matching member function for call to '__find_equal'
 1050 |               __node_base_pointer& __child = __find_equal(__parent, __key);
      |                                              ^~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1041:75: note: while substituting into a lambda expression here
 1041 |           [this, &__max_node](const key_type& __key, __reference&& __val) {
      |                                                                           ^
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1177:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1177 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1174:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1174 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v);
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1183:3: note: candidate function template not viable: requires 3 arguments, but 2 were provided
 1183 |   __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v);
      |   ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1066:46: error: no matching member function for call to '__find_equal'
 1066 |               __node_base_pointer& __child = __find_equal(__parent, __nd->__get_value());
      |                                              ^~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1057:52: note: while substituting into a lambda expression here
 1057 |           [this, &__max_node](__reference&& __val) {
      |                                                    ^
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
Step 7 (Building LLVM) failure: Building LLVM (failure)
...
[3135/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp
[3136/3173] : && /usr/bin/cmake -E rm -f /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-ar Dqc /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a  compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.x86_64.dir/FuzzerInterceptors.cpp.o && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-ranlib -D /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a && cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/cxx_x86_64_merge.dir && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -m64 -Wl,--whole-archive /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a -Wl,--no-whole-archive /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a -r -o fuzzer_interceptors.o && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-objcopy --localize-hidden fuzzer_interceptors.o && /usr/bin/cmake -E remove /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a && /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/bin/llvm-ar qcs /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a fuzzer_interceptors.o
[3137/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerExtFunctionsWeak.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerExtFunctionsWeak.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerExtFunctionsWeak.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
[3138/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.i386.dir/FuzzerMain.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.i386.dir/FuzzerMain.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.i386.dir/FuzzerMain.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp
[3139/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerUtilLinux.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerUtilLinux.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerUtilLinux.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
[3140/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerSHA1.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerSHA1.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerSHA1.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerSHA1.cpp
[3141/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerCrossOver.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerCrossOver.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerCrossOver.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerCrossOver.cpp
[3142/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIOPosix.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIOPosix.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIOPosix.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
[3143/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIO.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIO.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerIO.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerIO.cpp
[3144/3173] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
FAILED: compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o 
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/../../include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -D_LIBCPP_ABI_VERSION=Fuzzer -nostdinc++ -fno-omit-frame-pointer -isystem /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.i386.dir/FuzzerMerge.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:11:
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerCommand.h:15:
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:19:
In file included from /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/set:537:
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1050:46: error: no matching member function for call to '__find_equal'
 1050 |               __node_base_pointer& __child = __find_equal(__parent, __key);
      |                                              ^~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1041:75: note: while substituting into a lambda expression here
 1041 |           [this, &__max_node](const key_type& __key, __reference&& __val) {
      |                                                                           ^
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1177:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1177 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1174:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1174 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v);
      |                                                                        ^            ~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1183:3: note: candidate function template not viable: requires 3 arguments, but 2 were provided
 1183 |   __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v);
      |   ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1066:46: error: no matching member function for call to '__find_equal'
 1066 |               __node_base_pointer& __child = __find_equal(__parent, __nd->__get_value());
      |                                              ^~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/__tree:1057:52: note: while substituting into a lambda expression here
 1057 |           [this, &__max_node](__reference&& __val) {
      |                                                    ^
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/home/botworker/bbot/clang-hip-vega20/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 3, 2025

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-b-1 while building libcxx at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/23117

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[2436/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtil.cpp.obj
[2437/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIO.cpp.obj
[2438/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilFuchsia.cpp.obj
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp:21:
In file included from /usr/local/fuchsia/sdk/pkg/fdio/include/lib/fdio/fdio.h:10:
/usr/local/fuchsia/sdk/arch/arm64/sysroot/include/zircon/availability.h:31:2: warning: `__Fuchsia_API_level__` must be set to a non-zero value. For Clang, use `-ffuchsia-api-level`. [-W#warnings]
   31 | #warning `__Fuchsia_API_level__` must be set to a non-zero value. For Clang, use `-ffuchsia-api-level`.
      |  ^
1 warning generated.
[2439/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj
FAILED: compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj 
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/./bin/clang++ --target=aarch64-unknown-fuchsia --sysroot=/usr/local/fuchsia/sdk/arch/arm64/sysroot -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/../../include --target=aarch64-unknown-fuchsia -I/usr/local/fuchsia/sdk/pkg/sync/include -I/usr/local/fuchsia/sdk/pkg/fdio/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins=../../../../llvm-project -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/= -no-canonical-prefixes -Wall -Wno-unused-parameter -O2 -g -DNDEBUG -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -D_LIBCPP_ABI_VERSION=Fuzzer -fno-omit-frame-pointer -isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:11:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerCommand.h:15:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:19:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:537:
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1050:46: error: no matching member function for call to '__find_equal'
 1050 |               __node_base_pointer& __child = __find_equal(__parent, __key);
      |                                              ^~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1041:75: note: while substituting into a lambda expression here
 1041 |           [this, &__max_node](const key_type& __key, __reference&& __val) {
      |                                                                           ^
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1177:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1177 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
      |                                                                        ^            ~~~~~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1174:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1174 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v);
      |                                                                        ^            ~~~~~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1183:3: note: candidate function template not viable: requires 3 arguments, but 2 were provided
 1183 |   __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v);
      |   ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1066:46: error: no matching member function for call to '__find_equal'
 1066 |               __node_base_pointer& __child = __find_equal(__parent, __nd->__get_value());
      |                                              ^~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1057:52: note: while substituting into a lambda expression here
 1057 |           [this, &__max_node](__reference&& __val) {
      |                                                    ^
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
Step 6 (build) failure: build (failure)
...
[2436/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtil.cpp.obj
[2437/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIO.cpp.obj
[2438/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilFuchsia.cpp.obj
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp:21:
In file included from /usr/local/fuchsia/sdk/pkg/fdio/include/lib/fdio/fdio.h:10:
/usr/local/fuchsia/sdk/arch/arm64/sysroot/include/zircon/availability.h:31:2: warning: `__Fuchsia_API_level__` must be set to a non-zero value. For Clang, use `-ffuchsia-api-level`. [-W#warnings]
   31 | #warning `__Fuchsia_API_level__` must be set to a non-zero value. For Clang, use `-ffuchsia-api-level`.
      |  ^
1 warning generated.
[2439/2448] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj
FAILED: compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj 
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/./bin/clang++ --target=aarch64-unknown-fuchsia --sysroot=/usr/local/fuchsia/sdk/arch/arm64/sysroot -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/../../include --target=aarch64-unknown-fuchsia -I/usr/local/fuchsia/sdk/pkg/sync/include -I/usr/local/fuchsia/sdk/pkg/fdio/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins=../../../../llvm-project -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/= -no-canonical-prefixes -Wall -Wno-unused-parameter -O2 -g -DNDEBUG -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -D_LIBCPP_ABI_VERSION=Fuzzer -fno-omit-frame-pointer -isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1 -std=c++17 -MD -MT compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj -MF compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj.d -o compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.obj -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:11:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerCommand.h:15:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:19:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:537:
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1050:46: error: no matching member function for call to '__find_equal'
 1050 |               __node_base_pointer& __child = __find_equal(__parent, __key);
      |                                              ^~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1041:75: note: while substituting into a lambda expression here
 1041 |           [this, &__max_node](const key_type& __key, __reference&& __val) {
      |                                                                           ^
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1177:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1177 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v) const {
      |                                                                        ^            ~~~~~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1174:72: note: candidate function template not viable: requires single argument '__v', but 2 arguments were provided
 1174 |   _LIBCPP_HIDE_FROM_ABI pair<__end_node_pointer, __node_base_pointer&> __find_equal(const _Key& __v);
      |                                                                        ^            ~~~~~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1183:3: note: candidate function template not viable: requires 3 arguments, but 2 were provided
 1183 |   __find_equal(const_iterator __hint, __node_base_pointer& __dummy, const _Key& __v);
      |   ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1066:46: error: no matching member function for call to '__find_equal'
 1066 |               __node_base_pointer& __child = __find_equal(__parent, __nd->__get_value());
      |                                              ^~~~~~~~~~~~
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/__tree:1057:52: note: while substituting into a lambda expression here
 1057 |           [this, &__max_node](__reference&& __val) {
      |                                                    ^
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-7esf2gck/runtimes/runtimes-aarch64-unknown-fuchsia-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64/include/c++/v1/set:746:13: note: in instantiation of function template specialization 'std::__tree<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>::__insert_range_unique<std::__wrap_iter<unsigned int *>, std::__wrap_iter<unsigned int *>>' requested here
  746 |     __tree_.__insert_range_unique(__first, __last);
      |             ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/fuzzer/FuzzerMerge.cpp:153:17: note: in instantiation of function template specialization 'std::set<unsigned int>::insert<std::__wrap_iter<unsigned int *>>' requested here
  153 |     AllFeatures.insert(Cur.begin(), Cur.end());
      |                 ^

philnik777 added a commit that referenced this pull request Sep 3, 2025
#147345 refactored `__find_equal`. Unfortunately there was a merge
conflict with another patch. This fixes up the problematic places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants