Skip to content

Instantly share code, notes, and snippets.

@ngoldbaum
Created April 22, 2024 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngoldbaum/495a699953e60bc95a776498de05604c to your computer and use it in GitHub Desktop.
Save ngoldbaum/495a699953e60bc95a776498de05604c to your computer and use it in GitHub Desktop.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_nonstdint
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
cpp_nonstdint.cpp:5897:25: error: no viable overloaded '|='
val |= ((Int24) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:5908:21: error: no viable overloaded '|='
val |= ((Int24) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6150:25: error: no viable overloaded '|='
val |= ((Int56) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6161:21: error: no viable overloaded '|='
val |= ((Int56) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6403:25: error: no viable overloaded '|='
val |= ((Int88) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6414:21: error: no viable overloaded '|='
val |= ((Int88) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6419:53: warning: shift count >= width of type [-Wshift-count-overflow]
if (unlikely(val & (((Int88) 1) << (sizeof(Int88) * 8 - 1))))
^ ~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:1176:43: note: expanded from macro 'unlikely'
#define unlikely(x) __builtin_expect(!!(x), 0)
^
cpp_nonstdint.cpp:6656:25: error: no viable overloaded '|='
val |= ((Int512) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6667:21: error: no viable overloaded '|='
val |= ((Int512) idigit) << bits;
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:6672:54: warning: shift count >= width of type [-Wshift-count-overflow]
if (unlikely(val & (((Int512) 1) << (sizeof(Int512) * 8 - 1))))
^ ~~~~~~~~~~~~~~~~~~~~~~~~
cpp_nonstdint.cpp:1176:43: note: expanded from macro 'unlikely'
#define unlikely(x) __builtin_expect(!!(x), 0)
^
2 warnings and 8 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_smart_ptr
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
cpp_smart_ptr.cpp:2496:22: error: no member named 'make_unique' in namespace 'std'
__pyx_t_2 = std::make_unique<int>(5);
~~~~~^
cpp_smart_ptr.cpp:2496:37: error: expected '(' for function-style cast or type construction
__pyx_t_2 = std::make_unique<int>(5);
~~~^
cpp_smart_ptr.cpp:2501:18: error: overload resolution selected deleted operator '='
__pyx_v_x_ptr4 = __PYX_STD_MOVE_IF_SUPPORTED(__pyx_t_2);
~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:260:15: note: candidate function has been explicitly deleted
unique_ptr& operator=(unique_ptr const&) = delete;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:230:71: note: candidate function not viable: expects an rvalue for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:240:71: note: candidate function [with _Up = int, _Ep = std::default_delete<int>, $2 = void, $3 = void] not viable: expects an rvalue for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:252:7: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
operator=(auto_ptr<_Up> __p) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:265:71: note: candidate function not viable: no known conversion from 'std::unique_ptr<int>' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(nullptr_t) _NOEXCEPT {
^
cpp_smart_ptr.cpp:2553:26: error: no member named 'make_unique' in namespace 'std'
__pyx_t_6 = std::make_unique<RaiseOnConstruct>();
~~~~~^
cpp_smart_ptr.cpp:2553:38: error: 'RaiseOnConstruct' does not refer to a value
__pyx_t_6 = std::make_unique<RaiseOnConstruct>();
^
./cpp_smart_ptr_helper.h:28:7: note: declared here
class RaiseOnConstruct {
^
cpp_smart_ptr.cpp:2553:56: error: expected expression
__pyx_t_6 = std::make_unique<RaiseOnConstruct>();
^
cpp_smart_ptr.cpp:2558:22: error: overload resolution selected deleted operator '='
__pyx_v_x_ptr5 = __PYX_STD_MOVE_IF_SUPPORTED(__pyx_t_6);
~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:260:15: note: candidate function has been explicitly deleted
unique_ptr& operator=(unique_ptr const&) = delete;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:230:71: note: candidate function not viable: expects an rvalue for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:240:71: note: candidate function [with _Up = RaiseOnConstruct, _Ep = std::default_delete<RaiseOnConstruct>, $2 = void, $3 = void] not viable: expects an rvalue for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:252:7: note: candidate template ignored: could not match 'auto_ptr' against 'unique_ptr'
operator=(auto_ptr<_Up> __p) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:265:71: note: candidate function not viable: no known conversion from 'std::unique_ptr<RaiseOnConstruct>' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(nullptr_t) _NOEXCEPT {
^
7 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_algo_comparison_ops
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
In file included from cpp_stl_algo_comparison_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1726:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/equal.h:65:10: error: no matching function for call to '__equal'
return _VSTD::__equal<_BinaryPredicate&>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:715:17: note: expanded from macro '_VSTD'
# define _VSTD std
^
cpp_stl_algo_comparison_ops.cpp:2850:22: note: in instantiation of function template specialization 'std::equal<std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
__pyx_t_1 = std::equal<std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_f_27cpp_stl_algo_comparison_ops_compare);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/equal.h:52:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 5th argument; dereference the argument with *
__equal(_RandomAccessIterator1 __first1, _RandomAccessIterator1 __last1, _RandomAccessIterator2 __first2,
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/equal.h:42:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 5th argument; dereference the argument with *
__equal(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2,
^
In file included from cpp_stl_algo_comparison_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1755:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/lexicographical_compare.h:45:12: error: no matching function for call to '__lexicographical_compare'
return _VSTD::__lexicographical_compare<__comp_ref_type<_Compare> >(__first1, __last1, __first2, __last2, __comp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:715:17: note: expanded from macro '_VSTD'
# define _VSTD std
^
cpp_stl_algo_comparison_ops.cpp:3194:22: note: in instantiation of function template specialization 'std::lexicographical_compare<std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (char, char)>' requested here
__pyx_t_1 = std::lexicographical_compare<std::vector<int> ::iterator,std::vector<int> ::iterator,bool (char, char)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_f_27cpp_stl_algo_comparison_ops_less_than);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/lexicographical_compare.h:25:1: note: candidate function template not viable: no known conversion from 'bool (*)(char, char)' to 'bool (&)(char, char)' for 5th argument; dereference the argument with *
__lexicographical_compare(_InputIterator1 __first1, _InputIterator1 __last1,
^
2 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_algo_permutation_ops
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
In file included from cpp_stl_algo_permutation_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1769:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/next_permutation.h:64:46: error: non-const lvalue reference to type 'bool (char, char)' cannot bind to a value of unrelated type 'bool (*)(char, char)'
std::move(__first), std::move(__last), static_cast<__comp_ref_type<_Compare> >(__comp)).second;
^ ~~~~~~
cpp_stl_algo_permutation_ops.cpp:3280:10: note: in instantiation of function template specialization 'std::next_permutation<std::__wrap_iter<char *>, bool (char, char)>' requested here
std::next_permutation<std::string::iterator,bool (char, char)>(__pyx_v_ss.begin(), __pyx_v_ss.end(), __pyx_f_28cpp_stl_algo_permutation_ops_less_than);
^
In file included from cpp_stl_algo_permutation_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1778:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/prev_permutation.h:65:46: error: non-const lvalue reference to type 'bool (char, char)' cannot bind to a value of unrelated type 'bool (*)(char, char)'
std::move(__first), std::move(__last), static_cast<__comp_ref_type<_Compare> >(__comp)).second;
^ ~~~~~~
cpp_stl_algo_permutation_ops.cpp:3689:10: note: in instantiation of function template specialization 'std::prev_permutation<std::__wrap_iter<char *>, bool (char, char)>' requested here
std::prev_permutation<std::string::iterator,bool (char, char)>(__pyx_v_ss.begin(), __pyx_v_ss.end(), __pyx_f_28cpp_stl_algo_permutation_ops_less_than);
^
2 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_algo_sorted_ranges_other_ops
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
In file included from cpp_stl_algo_sorted_ranges_other_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1760:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/merge.h:54:12: error: no matching function for call to '__merge'
return _VSTD::__merge<__comp_ref_type<_Compare> >(__first1, __last1, __first2, __last2, __result, __comp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:715:17: note: expanded from macro '_VSTD'
# define _VSTD std
^
cpp_stl_algo_sorted_ranges_other_ops.cpp:2860:10: note: in instantiation of function template specialization 'std::merge<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::merge<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_36cpp_stl_algo_sorted_ranges_other_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/merge.h:27:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__merge(_InputIterator1 __first1, _InputIterator1 __last1,
^
In file included from cpp_stl_algo_sorted_ranges_other_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1747:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:241:67: error: non-const lvalue reference to type 'bool (int, int)' cannot bind to a value of unrelated type 'bool (*)(int, int)'
std::move(__first), std::move(__middle), std::move(__last), static_cast<__comp_ref_type<_Compare> >(__comp));
^ ~~~~~~
cpp_stl_algo_sorted_ranges_other_ops.cpp:3185:10: note: in instantiation of function template specialization 'std::inplace_merge<std::__wrap_iter<int *>, bool (int, int)>' requested here
std::inplace_merge<std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v.begin(), (__pyx_v_v.begin() + 3), __pyx_v_v.end(), __pyx_f_36cpp_stl_algo_sorted_ranges_other_ops_less);
^
2 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_algo_sorted_ranges_other_ops
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
In file included from cpp_stl_algo_sorted_ranges_other_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1760:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/merge.h:54:12: error: no matching function for call to '__merge'
return _VSTD::__merge<__comp_ref_type<_Compare> >(__first1, __last1, __first2, __last2, __result, __comp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:715:17: note: expanded from macro '_VSTD'
# define _VSTD std
^
cpp_stl_algo_sorted_ranges_other_ops.cpp:2860:10: note: in instantiation of function template specialization 'std::merge<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::merge<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_36cpp_stl_algo_sorted_ranges_other_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/merge.h:27:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__merge(_InputIterator1 __first1, _InputIterator1 __last1,
^
In file included from cpp_stl_algo_sorted_ranges_other_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1747:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/inplace_merge.h:241:67: error: non-const lvalue reference to type 'bool (int, int)' cannot bind to a value of unrelated type 'bool (*)(int, int)'
std::move(__first), std::move(__middle), std::move(__last), static_cast<__comp_ref_type<_Compare> >(__comp));
^ ~~~~~~
cpp_stl_algo_sorted_ranges_other_ops.cpp:3185:10: note: in instantiation of function template specialization 'std::inplace_merge<std::__wrap_iter<int *>, bool (int, int)>' requested here
std::inplace_merge<std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v.begin(), (__pyx_v_v.begin() + 3), __pyx_v_v.end(), __pyx_f_36cpp_stl_algo_sorted_ranges_other_ops_less);
^
2 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_algo_sorted_ranges_set_ops
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1746:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/includes.h:56:7: error: non-const lvalue reference to type 'bool (int, int)' cannot bind to a value of unrelated type 'bool (*)(int, int)'
static_cast<__comp_ref_type<_Compare> >(__comp),
^ ~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:2838:22: note: in instantiation of function template specialization 'std::includes<std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
__pyx_t_1 = std::includes<std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1851:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_difference.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_difference.h:57:10: error: no matching function for call to '__set_difference'
return std::__set_difference<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:3224:10: note: in instantiation of function template specialization 'std::set_difference<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_difference<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_diff.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_difference.h:32:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__set_difference(
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1852:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_intersection.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_intersection.h:69:10: error: no matching function for call to '__set_intersection'
return std::__set_intersection<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:3618:10: note: in instantiation of function template specialization 'std::set_intersection<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_intersection<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_intersection.h:40:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__set_intersection(
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1853:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_symmetric_difference.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_symmetric_difference.h:76:10: error: no matching function for call to '__set_symmetric_difference'
return std::__set_symmetric_difference<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:4012:10: note: in instantiation of function template specialization 'std::set_symmetric_difference<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_symmetric_difference<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_symmetric_difference.h:41:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__set_symmetric_difference(
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1854:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_union.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_union.h:72:10: error: no matching function for call to '__set_union'
return std::__set_union<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:4405:10: note: in instantiation of function template specialization 'std::set_union<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_union<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_union.h:40:102: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __set_union_result<_InIter1, _InIter2, _OutIter> __set_union(
^
5 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_algo_sorted_ranges_set_ops
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1746:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/includes.h:56:7: error: non-const lvalue reference to type 'bool (int, int)' cannot bind to a value of unrelated type 'bool (*)(int, int)'
static_cast<__comp_ref_type<_Compare> >(__comp),
^ ~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:2838:22: note: in instantiation of function template specialization 'std::includes<std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
__pyx_t_1 = std::includes<std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1851:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_difference.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_difference.h:57:10: error: no matching function for call to '__set_difference'
return std::__set_difference<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:3224:10: note: in instantiation of function template specialization 'std::set_difference<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_difference<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_diff.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_difference.h:32:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__set_difference(
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1852:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_intersection.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_intersection.h:69:10: error: no matching function for call to '__set_intersection'
return std::__set_intersection<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:3618:10: note: in instantiation of function template specialization 'std::set_intersection<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_intersection<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_intersection.h:40:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__set_intersection(
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1853:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_symmetric_difference.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_symmetric_difference.h:76:10: error: no matching function for call to '__set_symmetric_difference'
return std::__set_symmetric_difference<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:4012:10: note: in instantiation of function template specialization 'std::set_symmetric_difference<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_symmetric_difference<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_symmetric_difference.h:41:1: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
__set_symmetric_difference(
^
In file included from cpp_stl_algo_sorted_ranges_set_ops.cpp:993:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:221:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:192:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:154:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:576:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:1025:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1854:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_set_union.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_union.h:72:10: error: no matching function for call to '__set_union'
return std::__set_union<_ClassicAlgPolicy, __comp_ref_type<_Compare> >(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpp_stl_algo_sorted_ranges_set_ops.cpp:4405:10: note: in instantiation of function template specialization 'std::set_union<std::__wrap_iter<int *>, std::__wrap_iter<int *>, std::__wrap_iter<int *>, bool (int, int)>' requested here
std::set_union<std::vector<int> ::iterator,std::vector<int> ::iterator,std::vector<int> ::iterator,bool (int, int)>(__pyx_v_v1.begin(), __pyx_v_v1.end(), __pyx_v_v2.begin(), __pyx_v_v2.end(), __pyx_v_out.begin(), __pyx_f_34cpp_stl_algo_sorted_ranges_set_ops_less);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/set_union.h:40:102: note: candidate function template not viable: no known conversion from 'bool (*)(int, int)' to 'bool (&)(int, int)' for 6th argument; dereference the argument with *
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __set_union_result<_InIter1, _InIter2, _OutIter> __set_union(
^
5 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_cmath_cpp17
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
cpp_stl_cmath_cpp17.cpp:2182:22: error: no member named 'beta' in namespace 'std'
__pyx_t_1 = std::beta(__pyx_v_x, __pyx_v_y);
~~~~~^
cpp_stl_cmath_cpp17.cpp:2355:22: error: no member named 'legendre' in namespace 'std'
__pyx_t_1 = std::legendre(__pyx_v_x, __pyx_v_y);
~~~~~^
2 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running cpp_stl_cmath_cpp17
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
cpp_stl_cmath_cpp17.cpp:2182:22: error: no member named 'beta' in namespace 'std'
__pyx_t_1 = std::beta(__pyx_v_x, __pyx_v_y);
~~~~~^
cpp_stl_cmath_cpp17.cpp:2355:22: error: no member named 'legendre' in namespace 'std'
__pyx_t_1 = std::legendre(__pyx_v_x, __pyx_v_y);
~~~~~^
2 errors generated.
======================================================================
ERROR: test_initvar_is_specified (test_dataclasses.TestReplace.test_initvar_is_specified)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/run/test_dataclasses.pyx", line 1241, in test_dataclasses.TestReplace.test_initvar_is_specified
with self.assertRaises(ValueError):
File "tests/run/test_dataclasses.pyx", line 1242, in test_dataclasses.TestReplace.test_initvar_is_specified
replace(c, x=3)
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1590, in replace
return _replace(obj, **changes)
~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1615, in _replace
raise TypeError(f"InitVar {f.name!r} "
f'must be specified with replace()')
TypeError: InitVar 'y' must be specified with replace()
======================================================================
ERROR: test_no_init (test_dataclasses.TestReplace.test_no_init)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/run/test_dataclasses.pyx", line 1222, in test_dataclasses.TestReplace.test_no_init
with self.assertRaises(ValueError):
File "tests/run/test_dataclasses.pyx", line 1223, in test_dataclasses.TestReplace.test_no_init
replace(c, x=2, y=30)
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1590, in replace
return _replace(obj, **changes)
~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1608, in _replace
raise TypeError(f'field {f.name} is declared with '
f'init=False, it cannot be specified with '
f'replace()')
TypeError: field y is declared with init=False, it cannot be specified with replace()
======================================================================
ERROR: test_initvar_is_specified (test_dataclasses.TestReplace.test_initvar_is_specified)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/run/test_dataclasses.pyx", line 1241, in test_dataclasses.TestReplace.test_initvar_is_specified
with self.assertRaises(ValueError):
File "tests/run/test_dataclasses.pyx", line 1242, in test_dataclasses.TestReplace.test_initvar_is_specified
replace(c, x=3)
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1590, in replace
return _replace(obj, **changes)
~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1615, in _replace
raise TypeError(f"InitVar {f.name!r} "
f'must be specified with replace()')
TypeError: InitVar 'y' must be specified with replace()
======================================================================
ERROR: test_no_init (test_dataclasses.TestReplace.test_no_init)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/run/test_dataclasses.pyx", line 1222, in test_dataclasses.TestReplace.test_no_init
with self.assertRaises(ValueError):
File "tests/run/test_dataclasses.pyx", line 1223, in test_dataclasses.TestReplace.test_no_init
replace(c, x=2, y=30)
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1590, in replace
return _replace(obj, **changes)
~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/dataclasses.py", line 1608, in _replace
raise TypeError(f'field {f.name} is declared with '
f'init=False, it cannot be specified with '
f'replace()')
TypeError: field y is declared with init=False, it cannot be specified with replace()
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (c/cy2) and running time_pxd
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
time_pxd.c:2739:3: error: unknown type name '_PyTime_t'; did you mean 'PyTime_t'?
_PyTime_t __pyx_v_tic;
^~~~~~~~~
PyTime_t
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/cpython/pytime.h:10:17: note: 'PyTime_t' declared here
typedef int64_t PyTime_t;
^
time_pxd.c:2749:17: error: call to undeclared function '_PyTime_TimeUnchecked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
__pyx_v_tic = __Pyx_PyTime_TimeUnchecked();
^
time_pxd.c:1005:50: note: expanded from macro '__Pyx_PyTime_TimeUnchecked'
#define __Pyx_PyTime_TimeUnchecked() _PyTime_TimeUnchecked()
^
2 errors generated.
======================================================================
ERROR: runTest (__main__.CythonRunTestCase.runTest)
[-1] compiling (cpp/cy2) and running time_pxd
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run
ext_so_path = self.runCompileTest()
~~~~~~~~~~~~~~~~~~~^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest
return self.compile(
~~~~~~~~~~~~^
self.test_directory, self.module, self.module_path, self.workdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.test_directory, self.expect_log,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.annotate, self.add_cython_import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1436, in compile
so_path = self.run_distutils(test_directory, module, workdir, incdir)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/goldbaum/Documents/cython/runtests.py", line 1348, in run_distutils
raise CompileError(u"%s\nCompiler output:\n%s" % (error, prepare_captured(stderr)))
distutils.errors.CompileError: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
Compiler output:
time_pxd.cpp:2754:3: error: unknown type name '_PyTime_t'; did you mean 'PyTime_t'?
_PyTime_t __pyx_v_tic;
^~~~~~~~~
PyTime_t
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/cpython/pytime.h:10:17: note: 'PyTime_t' declared here
typedef int64_t PyTime_t;
^
time_pxd.cpp:2764:17: error: use of undeclared identifier '_PyTime_TimeUnchecked'
__pyx_v_tic = __Pyx_PyTime_TimeUnchecked();
^
time_pxd.cpp:1017:50: note: expanded from macro '__Pyx_PyTime_TimeUnchecked'
#define __Pyx_PyTime_TimeUnchecked() _PyTime_TimeUnchecked()
^
2 errors generated.
======================================================================
FAIL: double_dealloc_T796 ()
Doctest: double_dealloc_T796
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/doctest.py", line 2298, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for double_dealloc_T796
File "/Users/goldbaum/Documents/cython/TEST_TMP/run/c/double_dealloc_T796/double_dealloc_T796.cpython-313t-darwin.so", line 1, in double_dealloc_T796
----------------------------------------------------------------------
File "/Users/goldbaum/Documents/cython/TEST_TMP/run/c/double_dealloc_T796/double_dealloc_T796.cpython-313t-darwin.so", line 16, in double_dealloc_T796
Failed example:
new_unreachable == old_unreachable or (old_unreachable, new_unreachable)
Expected:
True
Got:
(1, 0)
======================================================================
FAIL: double_dealloc_T796 ()
Doctest: double_dealloc_T796
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/lib/python3.13/doctest.py", line 2298, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for double_dealloc_T796
File "/Users/goldbaum/Documents/cython/TEST_TMP/run/cpp/double_dealloc_T796/double_dealloc_T796.cpython-313t-darwin.so", line 1, in double_dealloc_T796
----------------------------------------------------------------------
File "/Users/goldbaum/Documents/cython/TEST_TMP/run/cpp/double_dealloc_T796/double_dealloc_T796.cpython-313t-darwin.so", line 16, in double_dealloc_T796
Failed example:
new_unreachable == old_unreachable or (old_unreachable, new_unreachable)
Expected:
True
Got:
(1, 0)
======================================================================
FAIL: runTest (__main__.EndToEndTest.runTest)
[-1] End-to-end isolated_limited_api_tests
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/goldbaum/Documents/cython/runtests.py", line 2039, in runTest
self.assertEqual(0, res, "non-zero exit status, last output was:\n%r\n-- stdout:%s\n-- stderr:%s\n" % (
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
' '.join(command), out[-1], err[-1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 != 1 : non-zero exit status, last output was:
'/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/bin/python setup.py build_ext --inplace'
-- stdout:Compiling limited.pyx because it changed.
[1/1] Cythonizing limited.pyx
running build_ext
building 'limited' extension
creating build
creating build/temp.macosx-14.2-arm64-cpython-313
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -I/opt/homebrew/opt/zlib -I/opt/homebrew/opt/zlib -O0 -I/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t -c limited.c -o build/temp.macosx-14.2-arm64-cpython-313/limited.o -DCYTHON_LIMITED_API=1 -DPy_LIMITED_API=0x030700f0
-- stderr:/Users/goldbaum/Documents/cython/Cython/Compiler/Main.py:373: FutureWarning: Cython directive 'language_level' not set, using '3' (Py3). This has changed from earlier releases! File: /Users/goldbaum/Documents/cython/TEST_TMP/run/isolated_limited_api_tests/limited.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
In file included from limited.c:32:
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/Python.h:51:4: error: "The limited API is not currently supported in the free-threaded build"
# error "The limited API is not currently supported in the free-threaded build"
^
In file included from limited.c:32:
In file included from /Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/Python.h:63:
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:314:22: error: call to undeclared function '_Py_atomic_load_uint32_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:318:25: error: call to undeclared function '_Py_atomic_load_ssize_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:389:9: error: call to undeclared function '_Py_IsOwnedByCurrentThread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
if (_Py_IsOwnedByCurrentThread(ob)) {
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:429:5: error: call to undeclared function '_Py_atomic_store_ssize_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
_Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:803:22: error: call to undeclared function '_Py_atomic_load_uint32_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:809:9: error: call to undeclared function '_Py_IsOwnedByCurrentThread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
if (_Py_IsOwnedByCurrentThread(op)) {
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:810:9: error: call to undeclared function '_Py_atomic_store_uint32_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
_Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:813:9: error: call to undeclared function '_Py_atomic_add_ssize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
_Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:897:22: error: call to undeclared function '_Py_atomic_load_uint32_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:902:9: error: call to undeclared function '_Py_IsOwnedByCurrentThread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
if (_Py_IsOwnedByCurrentThread(op)) {
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:904:9: error: call to undeclared function '_Py_atomic_store_uint32_relaxed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
_Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:906:13: error: call to undeclared function '_Py_MergeZeroLocalRefcount'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
_Py_MergeZeroLocalRefcount(op);
^
/Users/goldbaum/.pyenv/versions/3.13-dev-nogil/include/python3.13t/object.h:910:9: error: call to undeclared function '_Py_DecRefShared'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
_Py_DecRefShared(op);
^
14 errors generated.
error: command '/opt/homebrew/opt/ccache/libexec/clang' failed with exit code 1
======================================================================
FAIL: test_find_etc_raise_correct_error_messages (test_unicode.UnicodeTest.test_find_etc_raise_correct_error_messages)
----------------------------------------------------------------------
TypeError: find expected at most 3 arguments, got 4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tests/run/test_unicode_string_tests.pxi", line 1370, in test_unicode.MixinStrUnicodeUserStringTest.test_find_etc_raise_correct_error_messages
self.assertRaisesRegex(TypeError, r'^find\(', s.find,
AssertionError: "^find\(" does not match "find expected at most 3 arguments, got 4"
======================================================================
FAIL: test_find_etc_raise_correct_error_messages (test_unicode.UnicodeTest.test_find_etc_raise_correct_error_messages)
----------------------------------------------------------------------
TypeError: find expected at most 3 arguments, got 4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tests/run/test_unicode_string_tests.pxi", line 1370, in test_unicode.MixinStrUnicodeUserStringTest.test_find_etc_raise_correct_error_messages
self.assertRaisesRegex(TypeError, r'^find\(', s.find,
AssertionError: "^find\(" does not match "find expected at most 3 arguments, got 4"
----------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment