=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/libcxxabi", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libcxxabi-21.1.8 [ 2%] Copying CXXABI header cxxabi.h [ 5%] Copying CXXABI header __cxxabi_config.h [ 5%] Built target generate-cxxabi-headers [ 7%] Building CXX object src/CMakeFiles/cxxabi_shared_objects.dir/cxa_aux_runtime.cpp.o [ 10%] Building CXX object src/CMakeFiles/cxxabi_static_objects.dir/cxa_aux_runtime.cpp.o [ 12%] Building CXX object src/CMakeFiles/cxxabi_shared_objects.dir/cxa_default_handlers.cpp.o In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stddef.h:30, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/include/cxxabi.h:17, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_aux_runtime.cpp:12: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__config:857:8: error: #error "No thread API" 857 | # error "No thread API" | ^~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/cstdlib:87, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_default_handlers.cpp:12: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__config:857:8: error: #error "No thread API" 857 | # error "No thread API" | ^~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stddef.h:30, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/include/cxxabi.h:17, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_aux_runtime.cpp:12: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__config:857:8: error: #error "No thread API" 857 | # error "No thread API" | ^~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:17, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/exception:84, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_aux_runtime.cpp:13: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/decay.h:22:32: error: expected type-specifier before '__decay' 22 | using type _LIBCPP_NODEBUG = __decay(_Tp); | ^~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:18: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:62: error: there are no arguments to '__is_pointer' that depend on a template parameter, so a declaration of '__is_pointer' must be available [-fpermissive] 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; | ^~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:62: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:79: error: template argument 1 is invalid 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:26:81: error: expected primary-expression before ')' token 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_pointer_v = __is_pointer(_Tp); | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:26:65: error: there are no arguments to '__is_pointer' that depend on a template parameter, so a declaration of '__is_pointer' must be available [-fpermissive] 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_pointer_v = __is_pointer(_Tp); | ^~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:17, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/exception:84, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_aux_runtime.cpp:13: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/decay.h:22:32: error: expected type-specifier before '__decay' 22 | using type _LIBCPP_NODEBUG = __decay(_Tp); | ^~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:18: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:62: error: there are no arguments to '__is_pointer' that depend on a template parameter, so a declaration of '__is_pointer' must be available [-fpermissive] 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; | ^~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:62: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:79: error: template argument 1 is invalid 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:26:81: error: expected primary-expression before ')' token 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_pointer_v = __is_pointer(_Tp); | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:26:65: error: there are no arguments to '__is_pointer' that depend on a template parameter, so a declaration of '__is_pointer' must be available [-fpermissive] 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_pointer_v = __is_pointer(_Tp); | ^~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__config:354:23: error: 'std::ldiv_t div(long int, long int)' conflicts with a previous declaration 354 | # define _NOEXCEPT noexcept | ^~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stdlib.h:126:61: note: in expansion of macro '_NOEXCEPT' 126 | inline _LIBCPP_HIDE_FROM_ABI ldiv_t div(long __x, long __y) _NOEXCEPT { return ::ldiv(__x, __y); } | ^~~~~~~~~ In file included from /usr/include/stdlib.h:41, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stdlib.h:89, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/cstdlib:90, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:19: /usr/include/iso/stdlib_iso.h:178:23: note: previous declaration 'std::ldiv_t std::div(long int, long int)' 178 | inline ldiv_t div(long __X, long __Y) { return ldiv(__X, __Y); } | ^~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_constructible.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/nested_exception.h:20, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/exception:85: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/add_reference.h:22:32: error: expected type-specifier before '__add_lvalue_reference' 22 | using type _LIBCPP_NODEBUG = __add_lvalue_reference(_Tp); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/add_reference.h:40:32: error: expected type-specifier before '__add_rvalue_reference' 40 | using type _LIBCPP_NODEBUG = __add_rvalue_reference(_Tp); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/new:94, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_aux_runtime.cpp:14: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__new/allocate.h: In function '_Tp* std::__1::__libcpp_allocate(__element_count, size_t)': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__new/allocate.h:40:30: error: there are no arguments to '__builtin_operator_new' that depend on a template parameter, so a declaration of '__builtin_operator_new' must be available [-fpermissive] 40 | return static_cast<_Tp*>(__builtin_operator_new(__size, static_cast(__align))); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__new/allocate.h:43:28: error: there are no arguments to '__builtin_operator_new' that depend on a template parameter, so a declaration of '__builtin_operator_new' must be available [-fpermissive] 43 | return static_cast<_Tp*>(__builtin_operator_new(__size)); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__config:354:23: error: 'std::ldiv_t div(long int, long int)' conflicts with a previous declaration 354 | # define _NOEXCEPT noexcept | ^~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stdlib.h:126:61: note: in expansion of macro '_NOEXCEPT' 126 | inline _LIBCPP_HIDE_FROM_ABI ldiv_t div(long __x, long __y) _NOEXCEPT { return ::ldiv(__x, __y); } | ^~~~~~~~~ In file included from /usr/include/stdlib.h:41, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stdlib.h:89, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/cstdlib:90, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:19: /usr/include/iso/stdlib_iso.h:178:23: note: previous declaration 'std::ldiv_t std::div(long int, long int)' 178 | inline ldiv_t div(long __X, long __Y) { return ldiv(__X, __Y); } | ^~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-nullability-completeness' may have been intended to silence earlier diagnostics --- src/CMakeFiles/cxxabi_shared_objects.dir/cxa_aux_runtime.cpp.o --- *** [src/CMakeFiles/cxxabi_shared_objects.dir/cxa_aux_runtime.cpp.o] Error code 1 bmake[2]: stopped making "src/CMakeFiles/cxxabi_shared_objects.dir/build" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build --- src/CMakeFiles/cxxabi_static_objects.dir/all --- *** [src/CMakeFiles/cxxabi_static_objects.dir/all] Error code 6 bmake[1]: stopped making "all" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__config:354:23: error: 'std::ldiv_t div(long int, long int)' conflicts with a previous declaration 354 | # define _NOEXCEPT noexcept | ^~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stdlib.h:126:61: note: in expansion of macro '_NOEXCEPT' 126 | inline _LIBCPP_HIDE_FROM_ABI ldiv_t div(long __x, long __y) _NOEXCEPT { return ::ldiv(__x, __y); } | ^~~~~~~~~ In file included from /usr/include/stdlib.h:41, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/stdlib.h:89, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/cstdlib:90: /usr/include/iso/stdlib_iso.h:178:23: note: previous declaration 'std::ldiv_t std::div(long int, long int)' 178 | inline ldiv_t div(long __X, long __Y) { return ldiv(__X, __Y); } | ^~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:17, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/exception:84, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_default_handlers.cpp:13: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/decay.h:22:32: error: expected type-specifier before '__decay' 22 | using type _LIBCPP_NODEBUG = __decay(_Tp); | ^~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/exception_ptr.h:18: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:62: error: there are no arguments to '__is_pointer' that depend on a template parameter, so a declaration of '__is_pointer' must be available [-fpermissive] 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; | ^~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:62: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:22:79: error: template argument 1 is invalid 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_pointer : _BoolConstant<__is_pointer(_Tp)> {}; | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:26:81: error: expected primary-expression before ')' token 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_pointer_v = __is_pointer(_Tp); | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_pointer.h:26:65: error: there are no arguments to '__is_pointer' that depend on a template parameter, so a declaration of '__is_pointer' must be available [-fpermissive] 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_pointer_v = __is_pointer(_Tp); | ^~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_constructible.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__exception/nested_exception.h:20, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/exception:85: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/add_reference.h:22:32: error: expected type-specifier before '__add_lvalue_reference' 22 | using type _LIBCPP_NODEBUG = __add_lvalue_reference(_Tp); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/add_reference.h:40:32: error: expected type-specifier before '__add_rvalue_reference' 40 | using type _LIBCPP_NODEBUG = __add_rvalue_reference(_Tp); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/new:94, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_default_handlers.cpp:14: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__new/allocate.h: In function '_Tp* std::__1::__libcpp_allocate(__element_count, size_t)': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__new/allocate.h:40:30: error: there are no arguments to '__builtin_operator_new' that depend on a template parameter, so a declaration of '__builtin_operator_new' must be available [-fpermissive] 40 | return static_cast<_Tp*>(__builtin_operator_new(__size, static_cast(__align))); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__new/allocate.h:43:28: error: there are no arguments to '__builtin_operator_new' that depend on a template parameter, so a declaration of '__builtin_operator_new' must be available [-fpermissive] 43 | return static_cast<_Tp*>(__builtin_operator_new(__size)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/allocator.h:21, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/memory:946, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/src/include/atomic_support.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/src/cxa_default_handlers.cpp:20: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_const.h: At global scope: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_const.h:22:60: error: there are no arguments to '__is_const' that depend on a template parameter, so a declaration of '__is_const' must be available [-fpermissive] 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_const : _BoolConstant<__is_const(_Tp)> {}; | ^~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_const.h:22:75: error: template argument 1 is invalid 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_const : _BoolConstant<__is_const(_Tp)> {}; | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_const.h:26:77: error: expected primary-expression before ')' token 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_const_v = __is_const(_Tp); | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_const.h:26:63: error: there are no arguments to '__is_const' that depend on a template parameter, so a declaration of '__is_const' must be available [-fpermissive] 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_const_v = __is_const(_Tp); | ^~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/allocator.h:25: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_volatile.h:22:63: error: there are no arguments to '__is_volatile' that depend on a template parameter, so a declaration of '__is_volatile' must be available [-fpermissive] 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_volatile : _BoolConstant<__is_volatile(_Tp)> {}; | ^~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_volatile.h:22:81: error: template argument 1 is invalid 22 | struct _LIBCPP_NO_SPECIALIZATIONS is_volatile : _BoolConstant<__is_volatile(_Tp)> {}; | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_volatile.h:26:83: error: expected primary-expression before ')' token 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_volatile_v = __is_volatile(_Tp); | ^ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_volatile.h:26:66: error: there are no arguments to '__is_volatile' that depend on a template parameter, so a declaration of '__is_volatile' must be available [-fpermissive] 26 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_volatile_v = __is_volatile(_Tp); | ^~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/common_reference.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__concepts/common_reference_with.h:15, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__compare/three_way_comparable.h:14, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__compare/compare_three_way.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/inout_ptr.h:16, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/memory:950: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/add_pointer.h:27:32: error: expected type-specifier before '__add_pointer' 27 | using type _LIBCPP_NODEBUG = __add_pointer(_Tp); | ^~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_destructible.h:16, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_nothrow_destructible.h:15, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__concepts/destructible.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__concepts/constructible.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__iterator/iterator_traits.h:14, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/unwrap_iter.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/copy_move_common.h:12, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/copy.h:12, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/uninitialized_algorithms.h:13, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:35: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/remove_all_extents.h:22:32: error: expected type-specifier before '__remove_all_extents' 22 | using type _LIBCPP_NODEBUG = __remove_all_extents(_Tp); | ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__iterator/readable_traits.h:21, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__iterator/iterator_traits.h:24: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/remove_extent.h:22:32: error: expected type-specifier before '__remove_extent' 22 | using type _LIBCPP_NODEBUG = __remove_extent(_Tp); | ^~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_constructible.h: In instantiation of 'struct std::__1::is_move_constructible': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h:45:47: required by substitution of 'template using std::__1::__swap_result_t = std::__1::__enable_if_t<((bool)(std::__1::is_move_constructible<_Tp>::value && std::__1::is_move_assignable<_Tp>::value))> [with _Tp = std::__1::__unique_ptr_array_bounds_stateless]' 45 | __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: required by substitution of 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&) [with _Tp = std::__1::__unique_ptr_array_bounds_stateless]' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:625:9: required from here 625 | swap(__checker_, __u.__checker_); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_constructible.h:41:31: error: no type named 'type' in 'struct std::__1::add_rvalue_reference' 41 | : integral_constant)> {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:29, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/unwrap_range.h:19, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/copy_move_common.h:13: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_assignable.h: In instantiation of 'struct std::__1::is_move_assignable': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h:45:81: required by substitution of 'template using std::__1::__swap_result_t = std::__1::__enable_if_t<((bool)(std::__1::is_move_constructible<_Tp>::value && std::__1::is_move_assignable<_Tp>::value))> [with _Tp = std::__1::__unique_ptr_array_bounds_stateless]' 45 | __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: required by substitution of 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&) [with _Tp = std::__1::__unique_ptr_array_bounds_stateless]' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:625:9: required from here 625 | swap(__checker_, __u.__checker_); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_assignable.h:41:31: error: no type named 'type' in 'struct std::__1::add_lvalue_reference' 41 | : integral_constant, __add_rvalue_reference_t<_Tp>)> {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_assignable.h:41:31: error: no type named 'type' in 'struct std::__1::add_rvalue_reference' In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:36: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h: In member function 'constexpr void std::__1::unique_ptr<_Tp [], _Dp>::swap(std::__1::unique_ptr<_Tp [], _Dp>&)': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:625:9: error: no matching function for call to 'swap(std::__1::unique_ptr<_Tp [], _Dp>::_BoundsChecker&, std::__1::unique_ptr<_Tp [], _Dp>::_BoundsChecker&)' 625 | swap(__checker_, __u.__checker_); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:543:1: note: candidate: 'template requires (__is_swappable_v) && (__is_swappable_v) constexpr void std::__1::swap(const pair<_Type1, _Type2>&, const pair<_Type1, _Type2>&)' 543 | swap(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) noexcept(noexcept(__x.swap(__y))) { | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:543:1: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:625:9: note: 'std::__1::unique_ptr<_Tp [], _Dp>::_BoundsChecker' {aka 'std::__1::__unique_ptr_array_bounds_stateless'} is not derived from 'const std::__1::pair<_Type1, _Type2>' 625 | swap(__checker_, __u.__checker_); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:534:65: note: candidate: 'template && __is_swappable_v<_T2>), int>::type > constexpr void std::__1::swap(pair<_Type1, _Type2>&, pair<_Type1, _Type2>&)' 534 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:534:65: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:625:9: note: 'std::__1::unique_ptr<_Tp [], _Dp>::_BoundsChecker' {aka 'std::__1::__unique_ptr_array_bounds_stateless'} is not derived from 'std::__1::pair<_Type1, _Type2>' 625 | swap(__checker_, __u.__checker_); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/iter_swap.h:14, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/iterator_operations.h:12, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__algorithm/move.h:15, from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/uninitialized_algorithms.h:14: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:49:65: note: candidate: 'template, int>::type > constexpr void std::__1::swap(_Tp (&)[_Np], _Tp (&)[_Np])' 49 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:49:65: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:625:9: note: mismatched types '_Tp [_Np]' and 'std::__1::unique_ptr<_Tp [], _Dp>::_BoundsChecker' {aka 'std::__1::__unique_ptr_array_bounds_stateless'} 625 | swap(__checker_, __u.__checker_); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: note: candidate: 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&)' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: note: substitution of deduced template arguments resulted in errors seen above /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_constructible.h: In instantiation of 'struct std::__1::is_move_constructible': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h:45:47: required by substitution of 'template using std::__1::__swap_result_t = std::__1::__enable_if_t<((bool)(std::__1::is_move_constructible<_Tp>::value && std::__1::is_move_assignable<_Tp>::value))> [with _Tp = std::__1::__shared_weak_count*]' 45 | __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: required by substitution of 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&) [with _Tp = std::__1::__shared_weak_count*]' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: required from here 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_constructible.h:41:31: error: no type named 'type' in 'struct std::__1::add_rvalue_reference' 41 | : integral_constant)> {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_assignable.h: In instantiation of 'struct std::__1::is_move_assignable': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h:45:81: required by substitution of 'template using std::__1::__swap_result_t = std::__1::__enable_if_t<((bool)(std::__1::is_move_constructible<_Tp>::value && std::__1::is_move_assignable<_Tp>::value))> [with _Tp = std::__1::__shared_weak_count*]' 45 | __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: required by substitution of 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&) [with _Tp = std::__1::__shared_weak_count*]' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: required from here 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_assignable.h:41:31: error: no type named 'type' in 'struct std::__1::add_lvalue_reference' 41 | : integral_constant, __add_rvalue_reference_t<_Tp>)> {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_assignable.h:41:31: error: no type named 'type' in 'struct std::__1::add_rvalue_reference' /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h: In member function 'void std::__1::shared_ptr<_Tp>::swap(std::__1::shared_ptr<_Tp>&)': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: error: no matching function for call to 'swap(std::__1::__shared_weak_count*&, std::__1::__shared_weak_count*&)' 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: note: candidate: 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&)' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: note: substitution of deduced template arguments resulted in errors seen above /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:49:65: note: candidate: 'template, int>::type > constexpr void std::__1::swap(_Tp (&)[_Np], _Tp (&)[_Np])' 49 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:49:65: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: note: mismatched types '_Tp [_Np]' and 'std::__1::__shared_weak_count*' 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:534:65: note: candidate: 'template && __is_swappable_v<_T2>), int>::type > constexpr void std::__1::swap(pair<_Type1, _Type2>&, pair<_Type1, _Type2>&)' 534 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:534:65: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: note: mismatched types 'std::__1::pair<_Type1, _Type2>' and 'std::__1::__shared_weak_count*' 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:543:1: note: candidate: 'template requires (__is_swappable_v) && (__is_swappable_v) constexpr void std::__1::swap(const pair<_Type1, _Type2>&, const pair<_Type1, _Type2>&)' 543 | swap(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) noexcept(noexcept(__x.swap(__y))) { | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:543:1: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: note: mismatched types 'const std::__1::pair<_Type1, _Type2>' and 'std::__1::__shared_weak_count*' 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:631:1: note: candidate: 'template, int>::type > constexpr void std::__1::swap(unique_ptr<_Tp, _Dp>&, unique_ptr<_Tp, _Dp>&)' 631 | swap(unique_ptr<_Tp, _Dp>& __x, unique_ptr<_Tp, _Dp>& __y) _NOEXCEPT { | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:631:1: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:608:14: note: mismatched types 'std::__1::unique_ptr<_Tp, _Dp>' and 'std::__1::__shared_weak_count*' 608 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h: In member function 'void std::__1::weak_ptr<_Tp>::swap(std::__1::weak_ptr<_Tp>&)': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: error: no matching function for call to 'swap(std::__1::__shared_weak_count*&, std::__1::__shared_weak_count*&)' 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: note: candidate: 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&)' 41 | inline _LIBCPP_HIDE_FROM_ABI __swap_result_t<_Tp> _LIBCPP_CONSTEXPR_SINCE_CXX20 swap(_Tp& __x, _Tp& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: note: template argument deduction/substitution failed: In file included from /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:37: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h: In substitution of 'template using std::__1::__swap_result_t = std::__1::__enable_if_t<((bool)(std::__1::is_move_constructible<_Tp>::value && std::__1::is_move_assignable<_Tp>::value))> [with _Tp = std::__1::__shared_weak_count*]': /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:41:81: required by substitution of 'template constexpr std::__1::__swap_result_t<_Tp> std::__1::swap(_Tp&, _Tp&) [with _Tp = std::__1::__shared_weak_count*]' /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: required from here 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h:45:47: error: 'value' is not a member of 'std::__1::is_move_constructible' 45 | __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__type_traits/is_swappable.h:45:81: error: 'value' is not a member of 'std::__1::is_move_assignable' 45 | __enable_if_t::value && is_move_assignable<_Tp>::value>; | ^~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:49:65: note: candidate: 'template, int>::type > constexpr void std::__1::swap(_Tp (&)[_Np], _Tp (&)[_Np])' 49 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/swap.h:49:65: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: note: mismatched types '_Tp [_Np]' and 'std::__1::__shared_weak_count*' 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:534:65: note: candidate: 'template && __is_swappable_v<_T2>), int>::type > constexpr void std::__1::swap(pair<_Type1, _Type2>&, pair<_Type1, _Type2>&)' 534 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:534:65: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: note: mismatched types 'std::__1::pair<_Type1, _Type2>' and 'std::__1::__shared_weak_count*' 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:543:1: note: candidate: 'template requires (__is_swappable_v) && (__is_swappable_v) constexpr void std::__1::swap(const pair<_Type1, _Type2>&, const pair<_Type1, _Type2>&)' 543 | swap(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) noexcept(noexcept(__x.swap(__y))) { | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__utility/pair.h:543:1: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: note: mismatched types 'const std::__1::pair<_Type1, _Type2>' and 'std::__1::__shared_weak_count*' 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:631:1: note: candidate: 'template, int>::type > constexpr void std::__1::swap(unique_ptr<_Tp, _Dp>&, unique_ptr<_Tp, _Dp>&)' 631 | swap(unique_ptr<_Tp, _Dp>& __x, unique_ptr<_Tp, _Dp>& __y) _NOEXCEPT { | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/unique_ptr.h:631:1: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: note: mismatched types 'std::__1::unique_ptr<_Tp, _Dp>' and 'std::__1::__shared_weak_count*' 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1133:35: note: candidate: 'template void std::__1::swap(shared_ptr<_Tp>&, shared_ptr<_Tp>&)' 1133 | inline _LIBCPP_HIDE_FROM_ABI void swap(shared_ptr<_Tp>& __x, shared_ptr<_Tp>& __y) _NOEXCEPT { | ^~~~ /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1133:35: note: template argument deduction/substitution failed: /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/../libcxx/include/__memory/shared_ptr.h:1358:12: note: mismatched types 'std::__1::shared_ptr<_Tp>' and 'std::__1::__shared_weak_count*' 1358 | std::swap(__cntrl_, __r.__cntrl_); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-nullability-completeness' may have been intended to silence earlier diagnostics --- src/CMakeFiles/cxxabi_shared_objects.dir/cxa_default_handlers.cpp.o --- *** [src/CMakeFiles/cxxabi_shared_objects.dir/cxa_default_handlers.cpp.o] Error code 1 bmake[2]: stopped making "src/CMakeFiles/cxxabi_shared_objects.dir/build" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build bmake[2]: 2 errors bmake[2]: stopped making "src/CMakeFiles/cxxabi_shared_objects.dir/build" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build --- src/CMakeFiles/cxxabi_shared_objects.dir/all --- *** [src/CMakeFiles/cxxabi_shared_objects.dir/all] Error code 2 bmake[1]: stopped making "all" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build bmake[1]: 2 errors bmake[1]: stopped making "all" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /tmp/work/lang/libcxxabi/work/llvm-project-21.1.8.src/libcxxabi/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/libcxxabi *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/libcxxabi