Test output: teeks99-dkr-mg6-g11 - numeric/ublas - test_tensor / gcc-6~gnu11
Rev 2b7c83edd2af574bf4a892389c61cee817fcb8c5 / Thu, 14 Nov 2024 21:17:50 +0000
Compile [2024-11-14 22:36:51 UTC]: fail


    "g++-6"   -fvisibility-inlines-hidden -std=gnu++11 -fPIC -m64 -pthread -O0 -fno-inline -Wall -fvisibility=hidden -Wall -Wno-unknown-pragmas -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-but-set-variable -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_TEST_DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_UBLAS_NO_EXCEPTIONS   -I".."  -c -o "/var/boost/run/results/boost/bin.v2/libs/numeric/ublas/test/tensor/test_tensor.test/gcc-6~gnu11/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/test_algorithms.o" "../libs/numeric/ublas/test/tensor/test_algorithms.cpp"

In file included from ../libs/numeric/ublas/test/tensor/test_algorithms.cpp:17:0:
../boost/numeric/ublas/tensor/extents.hpp: In member function 'boost::numeric::ublas::basic_extents<int_type>::size_type boost::numeric::ublas::basic_extents<int_type>::product() const':
../boost/numeric/ublas/tensor/extents.hpp:265:75: error: wrong number of template arguments (0, should be 1)
   return std::accumulate(_base.begin(), _base.end(), 1ul, std::multiplies<>());
                                                                           ^
In file included from /usr/include/c++/6/string:48:0,
                 from /usr/include/c++/6/bits/locale_classes.h:40,
                 from /usr/include/c++/6/bits/ios_base.h:41,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from ../libs/numeric/ublas/test/tensor/test_algorithms.cpp:13:
/usr/include/c++/6/bits/stl_function.h:187:12: note: provided for 'template<class _Tp> struct std::multiplies'
     struct multiplies : public binary_function<_Tp, _Tp, _Tp>
            ^~~~~~~~~~
In file included from ../libs/numeric/ublas/test/tensor/test_algorithms.cpp:18:0:
../boost/numeric/ublas/tensor/strides.hpp: In constructor 'boost::numeric::ublas::basic_strides<__int_type, __layout>::basic_strides(const boost::numeric::ublas::basic_extents<T>&)':
../boost/numeric/ublas/tensor/strides.hpp:98:6: error: expected '(' before 'constexpr'
   if constexpr (std::is_same<layout_type,first_order>::value){
      ^~~~~~~~~
../boost/numeric/ublas/tensor/strides.hpp:103:3: error: 'else' without a previous 'if'
   else {
   ^~~~
../boost/numeric/ublas/tensor/strides.hpp: At global scope:
../boost/numeric/ublas/tensor/strides.hpp:216:91: error: 'access' function uses 'auto' type specifier without trailing return type
 auto access(std::vector<size_type> const& i, basic_strides<size_type,layout_type> const& w)
                                                                                           ^
../boost/numeric/ublas/tensor/strides.hpp:216:91: note: deduced return type only available with -std=c++14 or -std=gnu++14
../boost/numeric/ublas/tensor/strides.hpp:236:112: error: 'access' function uses 'auto' type specifier without trailing return type
 auto access(std::size_t sum, basic_strides<std::size_t, layout_type> const& w, std::size_t i, size_types ... is)
                                                                                                                ^
../boost/numeric/ublas/tensor/strides.hpp:236:112: note: deduced return type only available with -std=c++14 or -std=gnu++14
../boost/numeric/ublas/tensor/strides.hpp: In function 'auto boost::numeric::ublas::detail::access(std::size_t, const boost::numeric::ublas::basic_strides<long unsigned int, layout_type>&, std::size_t, size_types ...)':
../boost/numeric/ublas/tensor/strides.hpp:239:5: error: expected '(' before 'constexpr'
  if constexpr (sizeof...(is) == 0)
     ^~~~~~~~~
../boost/numeric/ublas/tensor/strides.hpp:241:2: error: 'else' without a previous 'if'
  else
  ^~~~
../libs/numeric/ublas/test/tensor/test_algorithms.cpp: In member function 'void test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method()':
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:185:37: error: use of 'auto' in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
                                  [](auto const& l, auto const& r){return l + r; });
                                     ^~~~
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:185:52: error: use of 'auto' in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
                                  [](auto const& l, auto const& r){return l + r; });
                                                    ^~~~
../libs/numeric/ublas/test/tensor/test_algorithms.cpp: In member function 'void test_tensor_algorithms::test_tensor_algorithms_trans<value>::test_method()':
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:260:7: error: 'is_compound_v' is not a member of 'std'
   if(!std::is_compound_v<value_type>)
       ^~~
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:260:36: error: expected primary-expression before '>' token
   if(!std::is_compound_v<value_type>)
                                    ^
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:260:25: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   if(!std::is_compound_v<value_type>)
                         ^
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:260:37: error: expected primary-expression before ')' token
   if(!std::is_compound_v<value_type>)
                                     ^
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:277:7: error: 'is_compound_v' is not a member of 'std'
   if(!std::is_compound_v<value_type>)
       ^~~
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:277:36: error: expected primary-expression before '>' token
   if(!std::is_compound_v<value_type>)
                                    ^
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:277:25: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   if(!std::is_compound_v<value_type>)
                         ^
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:277:37: error: expected primary-expression before ')' token
   if(!std::is_compound_v<value_type>)
                                     ^
In file included from ../libs/numeric/ublas/test/tensor/test_algorithms.cpp:16:0:
../boost/numeric/ublas/tensor/algorithms.hpp: In instantiation of 'boost::numeric::ublas::accumulate(SizeType, const SizeType*, PointerIn, const SizeType*, ValueType, BinaryOp)::<lambda(SizeType, PointerIn, ValueType)> [with PointerIn = std::complex<float>*; ValueType = std::complex<float>; SizeType = long unsigned int; BinaryOp = test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]::<lambda(const int&, const int&)>]':
../boost/numeric/ublas/tensor/algorithms.hpp:211:27:   required from 'struct boost::numeric::ublas::accumulate(SizeType, const SizeType*, PointerIn, const SizeType*, ValueType, BinaryOp) [with PointerIn = std::complex<float>*; ValueType = std::complex<float>; SizeType = long unsigned int; BinaryOp = test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]::<lambda(const int&, const int&)>]::<lambda(long unsigned int, struct std::complex<float>*, struct std::complex<float>)>'
../boost/numeric/ublas/tensor/algorithms.hpp:211:9:   required from 'ValueType boost::numeric::ublas::accumulate(SizeType, const SizeType*, PointerIn, const SizeType*, ValueType, BinaryOp) [with PointerIn = std::complex<float>*; ValueType = std::complex<float>; SizeType = long unsigned int; BinaryOp = test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]::<lambda(const int&, const int&)>]'
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:184:32:   required from 'void test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]'
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:155:1:   required from 'static void test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker::run(boost::type<TestType>*) [with TestType = std::complex<float>]'
../boost/test/tree/test_case_template.hpp:70:52:   required from 'void boost::unit_test::ut_detail::test_case_template_invoker<TestCaseTemplate, TestType>::operator()() [with TestCaseTemplate = test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker; TestType = std::complex<float>]'
../boost/function/function_template.hpp:100:15:   [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../boost/function/function_template.hpp:757:7:   required from 'boost::function_n<R, T>::function_n(Functor, typename std::enable_if<(! std::is_integral<Functor>::value), int>::type) [with Functor = boost::unit_test::ut_detail::test_case_template_invoker<test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker, std::complex<float> >; R = void; T = {}; typename std::enable_if<(! std::is_integral<Functor>::value), int>::type = int]'
../boost/function/function_template.hpp:1084:27:   required from 'boost::function<R(T ...)>::function(Functor, typename std::enable_if<(! std::is_integral<Functor>::value), int>::type) [with Functor = boost::unit_test::ut_detail::test_case_template_invoker<test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker, std::complex<float> >; R = void; T = {}; typename std::enable_if<(! std::is_integral<Functor>::value), int>::type = int]'
../boost/test/tree/test_case_template.hpp:119:42:   required from 'void boost::unit_test::ut_detail::generate_test_case_4_type<Generator, TestCaseTemplate>::operator()(boost::mpl::identity<TestType>) [with TestType = std::complex<float>; Generator = boost::unit_test::ut_detail::template_test_case_gen<test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker, std::tuple<int, long int, float, double, std::complex<float> > >; TestCaseTemplate = test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker]'
../boost/test/tree/test_case_template.hpp:183:22:   required from 'void boost::unit_test::ut_detail::template_test_case_gen<TestCaseTemplate, C<parameter_pack ...>, typename std::enable_if<(! boost::mpl::is_sequence<C<parameter_pack ...> >::value)>::type>::for_each(F&) [with F = boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker, std::tuple<int, long int, float, double, std::complex<float> > >, test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker>; TestCaseTemplate = test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker; C = std::tuple; parameter_pack = {int, long int, float, double, std::complex<float>}; typename std::enable_if<(! boost::mpl::is_sequence<C<parameter_pack ...> >::value)>::type = void]'
../boost/test/tree/test_case_template.hpp:199:9:   required from 'boost::unit_test::ut_detail::template_test_case_gen<TestCaseTemplate, C<parameter_pack ...>, typename std::enable_if<(! boost::mpl::is_sequence<C<parameter_pack ...> >::value)>::type>::template_test_case_gen(boost::unit_test::const_string, boost::unit_test::const_string, std::size_t) [with TestCaseTemplate = test_tensor_algorithms::test_tensor_algorithms_accumulate_invoker; C = std::tuple; parameter_pack = {int, long int, float, double, std::complex<float>}; typename std::enable_if<(! boost::mpl::is_sequence<C<parameter_pack ...> >::value)>::type = void; boost::unit_test::const_string = boost::unit_test::basic_cstring<const char>; std::size_t = long unsigned int]'
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:155:1:   required from here
../boost/numeric/ublas/tensor/algorithms.hpp:218:12: error: no match for call to '(const test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]::<lambda(const int&, const int&)>) (std::complex<float>&, std::complex<float>&)'
     k = op ( k, *a );
         ~~~^~~~~~~~~
../boost/numeric/ublas/tensor/algorithms.hpp:218:12: note: candidate: int (*)(const int&, const int&) <conversion>
../boost/numeric/ublas/tensor/algorithms.hpp:218:12: note:   candidate expects 3 arguments, 3 provided
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:185:65: note: candidate: test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method()::<lambda(const int&, const int&)> [with value = std::complex<float>]
                                  [](auto const& l, auto const& r){return l + r; });
                                                                 ^
../libs/numeric/ublas/test/tensor/test_algorithms.cpp:185:65: note:   no known conversion for argument 1 from 'std::complex<float>' to 'const int&'
In file included from ../boost/numeric/ublas/tensor/algorithms.hpp:19:0,
                 from ../libs/numeric/ublas/test/tensor/test_algorithms.cpp:16:
/usr/include/c++/6/functional: At global scope:
/usr/include/c++/6/functional:1990:2: error: 'std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = boost::numeric::ublas::accumulate(SizeType, const SizeType*, PointerIn, const SizeType*, ValueType, BinaryOp) [with PointerIn = std::complex<float>*; ValueType = std::complex<float>; SizeType = long unsigned int; BinaryOp = test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]::<lambda(const int&, const int&)>]::<lambda(long unsigned int, std::complex<float>*, std::complex<float>)>; _Res = std::complex<float>; _ArgTypes = {long unsigned int, std::complex<float>*, std::complex<float>}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<std::complex<float>(long unsigned int, std::complex<float>*, std::complex<float>)>&]', declared using local type 'boost::numeric::ublas::accumulate(SizeType, const SizeType*, PointerIn, const SizeType*, ValueType, BinaryOp) [with PointerIn = std::complex<float>*; ValueType = std::complex<float>; SizeType = long unsigned int; BinaryOp = test_tensor_algorithms::test_tensor_algorithms_accumulate<value>::test_method() [with value = std::complex<float>]::<lambda(const int&, const int&)>]::<lambda(long unsigned int, std::complex<float>*, std::complex<float>)>', is used but never defined [-fpermissive]
  operator=(_Functor&& __f)
  ^~~~~~~~