* installing *source* package ‘triptych’ ...
** package ‘triptych’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.4’
using C++20
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/triptych/src'
/usr/local/clang18/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c cpp11.cpp -o cpp11.o
/usr/local/clang18/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c md.cpp -o md.o
In file included from md.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11.hpp:5:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/as.hpp:5:
In file included from /usr/local/clang18/bin/../include/c++/v1/memory:925:
In file included from /usr/local/clang18/bin/../include/c++/v1/__memory/allocate_at_least.h:13:
In file included from /usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:14:
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:3: warning: destructor called on non-final 'contribution_median' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   67 |   __loc->~_Tp();
      |   ^
/usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:316:10: note: in instantiation of function template specialization 'std::__destroy_at<contribution_median, 0>' requested here
  316 |     std::__destroy_at(__p);
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:926:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<contribution_median>>::destroy<contribution_median, void, void>' requested here
  926 |       __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
      |                       ^
/usr/local/clang18/bin/../include/c++/v1/vector:920:5: note: in instantiation of member function 'std::vector<contribution_median>::__base_destruct_at_end' requested here
  920 |     __base_destruct_at_end(this->__begin_);
      |     ^
/usr/local/clang18/bin/../include/c++/v1/vector:490:16: note: in instantiation of member function 'std::vector<contribution_median>::__clear' requested here
  490 |         __vec_.__clear();
      |                ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:86:7: note: in instantiation of member function 'std::vector<contribution_median>::__destroy_vector::operator()' requested here
   86 |       __rollback_();
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:137:10: note: in instantiation of member function 'std::__exception_guard_exceptions<std::vector<contribution_median>::__destroy_vector>::~__exception_guard_exceptions' requested here
  137 |   return __exception_guard<_Rollback>(std::move(__rollback));
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:1241:23: note: in instantiation of function template specialization 'std::__make_exception_guard<std::vector<contribution_median>::__destroy_vector>' requested here
 1241 |   auto __guard = std::__make_exception_guard(__destroy_vector(*this));
      |                       ^
./mdiag.h:255:44: note: in instantiation of member function 'std::vector<contribution_median>::vector' requested here
  255 |   std::vector<contribution_median> contribs{ {0.0, { 0 }} };
      |                                            ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:11: note: qualify call to silence this warning
   67 |   __loc->~_Tp();
      |           ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:3: warning: destructor called on non-final 'contribution_quant' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   67 |   __loc->~_Tp();
      |   ^
/usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:316:10: note: in instantiation of function template specialization 'std::__destroy_at<contribution_quant, 0>' requested here
  316 |     std::__destroy_at(__p);
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:926:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<contribution_quant>>::destroy<contribution_quant, void, void>' requested here
  926 |       __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
      |                       ^
/usr/local/clang18/bin/../include/c++/v1/vector:920:5: note: in instantiation of member function 'std::vector<contribution_quant>::__base_destruct_at_end' requested here
  920 |     __base_destruct_at_end(this->__begin_);
      |     ^
/usr/local/clang18/bin/../include/c++/v1/vector:490:16: note: in instantiation of member function 'std::vector<contribution_quant>::__clear' requested here
  490 |         __vec_.__clear();
      |                ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:86:7: note: in instantiation of member function 'std::vector<contribution_quant>::__destroy_vector::operator()' requested here
   86 |       __rollback_();
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:137:10: note: in instantiation of member function 'std::__exception_guard_exceptions<std::vector<contribution_quant>::__destroy_vector>::~__exception_guard_exceptions' requested here
  137 |   return __exception_guard<_Rollback>(std::move(__rollback));
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:1241:23: note: in instantiation of function template specialization 'std::__make_exception_guard<std::vector<contribution_quant>::__destroy_vector>' requested here
 1241 |   auto __guard = std::__make_exception_guard(__destroy_vector(*this));
      |                       ^
./mdiag.h:356:43: note: in instantiation of member function 'std::vector<contribution_quant>::vector' requested here
  356 |   std::vector<contribution_quant> contribs{ {0.0, {0, 0}} };
      |                                           ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:11: note: qualify call to silence this warning
   67 |   __loc->~_Tp();
      |           ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:3: warning: destructor called on non-final 'contribution_prob' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   67 |   __loc->~_Tp();
      |   ^
/usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:316:10: note: in instantiation of function template specialization 'std::__destroy_at<contribution_prob, 0>' requested here
  316 |     std::__destroy_at(__p);
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:926:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<contribution_prob>>::destroy<contribution_prob, void, void>' requested here
  926 |       __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
      |                       ^
/usr/local/clang18/bin/../include/c++/v1/vector:920:5: note: in instantiation of member function 'std::vector<contribution_prob>::__base_destruct_at_end' requested here
  920 |     __base_destruct_at_end(this->__begin_);
      |     ^
/usr/local/clang18/bin/../include/c++/v1/vector:490:16: note: in instantiation of member function 'std::vector<contribution_prob>::__clear' requested here
  490 |         __vec_.__clear();
      |                ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:86:7: note: in instantiation of member function 'std::vector<contribution_prob>::__destroy_vector::operator()' requested here
   86 |       __rollback_();
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:137:10: note: in instantiation of member function 'std::__exception_guard_exceptions<std::vector<contribution_prob>::__destroy_vector>::~__exception_guard_exceptions' requested here
  137 |   return __exception_guard<_Rollback>(std::move(__rollback));
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:1241:23: note: in instantiation of function template specialization 'std::__make_exception_guard<std::vector<contribution_prob>::__destroy_vector>' requested here
 1241 |   auto __guard = std::__make_exception_guard(__destroy_vector(*this));
      |                       ^
./mdiag.h:454:42: note: in instantiation of member function 'std::vector<contribution_prob>::vector' requested here
  454 |   std::vector<contribution_prob> contribs{ { 0.0, coef_int<2>{ 0, 0 } } };
      |                                          ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:11: note: qualify call to silence this warning
   67 |   __loc->~_Tp();
      |           ^
In file included from md.cpp:2:
./mdiag.h:468:25: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  468 |   coef_dbl<1> dbl_coef{ 0.0 };
      |                         ^~~
      |                         {  }
./mdiag.h:478:30: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  478 |     dbl_coef += coef_dbl<1>{ (rhs.knot - knot) * static_cast<double>(int_coef[0]) };
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              {                                                   }
./mdiag.h:485:30: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  485 |     dbl_coef += coef_dbl<1>{ (rhs.knot - knot) * static_cast<double>(int_coef[0]) };
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              {                                                   }
./mdiag.h:572:81: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  572 |   std::vector<contribution_mean> contribs{ {0.0, coef_int<1>{ 0 }, coef_dbl<1>{ 0.0 }} };
      |                                                                                 ^~~
      |                                                                                 {  }
In file included from md.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11.hpp:5:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/as.hpp:5:
In file included from /usr/local/clang18/bin/../include/c++/v1/memory:925:
In file included from /usr/local/clang18/bin/../include/c++/v1/__memory/allocate_at_least.h:13:
In file included from /usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:14:
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:3: warning: destructor called on non-final 'contribution_mean' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   67 |   __loc->~_Tp();
      |   ^
/usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:316:10: note: in instantiation of function template specialization 'std::__destroy_at<contribution_mean, 0>' requested here
  316 |     std::__destroy_at(__p);
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:926:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<contribution_mean>>::destroy<contribution_mean, void, void>' requested here
  926 |       __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
      |                       ^
/usr/local/clang18/bin/../include/c++/v1/vector:920:5: note: in instantiation of member function 'std::vector<contribution_mean>::__base_destruct_at_end' requested here
  920 |     __base_destruct_at_end(this->__begin_);
      |     ^
/usr/local/clang18/bin/../include/c++/v1/vector:490:16: note: in instantiation of member function 'std::vector<contribution_mean>::__clear' requested here
  490 |         __vec_.__clear();
      |                ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:86:7: note: in instantiation of member function 'std::vector<contribution_mean>::__destroy_vector::operator()' requested here
   86 |       __rollback_();
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:137:10: note: in instantiation of member function 'std::__exception_guard_exceptions<std::vector<contribution_mean>::__destroy_vector>::~__exception_guard_exceptions' requested here
  137 |   return __exception_guard<_Rollback>(std::move(__rollback));
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:1241:23: note: in instantiation of function template specialization 'std::__make_exception_guard<std::vector<contribution_mean>::__destroy_vector>' requested here
 1241 |   auto __guard = std::__make_exception_guard(__destroy_vector(*this));
      |                       ^
./mdiag.h:572:42: note: in instantiation of member function 'std::vector<contribution_mean>::vector' requested here
  572 |   std::vector<contribution_mean> contribs{ {0.0, coef_int<1>{ 0 }, coef_dbl<1>{ 0.0 }} };
      |                                          ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:11: note: qualify call to silence this warning
   67 |   __loc->~_Tp();
      |           ^
In file included from md.cpp:2:
./mdiag.h:573:67: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  573 |   contribution_mean baseline{ 0.0, coef_int<1>{ 0 }, coef_dbl<1>{ 0.0 } };
      |                                                                   ^~~
      |                                                                   {  }
./mdiag.h:525:39: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  525 |       constexpr coef_dbl<1> coef_y_a{ 0.0 };
      |                                       ^~~
      |                                       {  }
./mdiag.h:527:62: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  527 |         contribs.emplace_back(x[i], coef_neg_b, coef_dbl<1>{ y[i] - x[i] });
      |                                                              ^~~~~~~~~~~
      |                                                              {          }
./mdiag.h:548:62: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  548 |         contribs.emplace_back(x[i], coef_neg_b, coef_dbl<1>{ y[i] - x[i] });
      |                                                              ^~~~~~~~~~~
      |                                                              {          }
./mdiag.h:549:64: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  549 |         contribs.emplace_back(ref[i], coef_pos_b, coef_dbl<1>{ ref[i] - y[i] });
      |                                                                ^~~~~~~~~~~~~
      |                                                                {            }
./mdiag.h:588:25: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  588 |   coef_dbl<2> dbl_coef{ 0.0, 0.0 };
      |                         ^~~~~~~~
      |                         {       }
./mdiag.h:598:30: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  598 |     dbl_coef += coef_dbl<2>{ (rhs.knot - knot)* static_cast<double>(int_coef[0]), (rhs.knot - knot)* static_cast<double>(int_coef[1]) };
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              {                                                                                                       }
./mdiag.h:605:30: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  605 |     dbl_coef += coef_dbl<2>{ (rhs.knot - knot) * static_cast<double>(int_coef[0]), (rhs.knot - knot) * static_cast<double>(int_coef[1]) };
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              {                                                                                                         }
./mdiag.h:716:86: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  716 |   std::vector<contribution_expect> contribs{ {0.0, coef_int<2>{ 0, 0 }, coef_dbl<2>{ 0.0, 0.0 }} };
      |                                                                                      ^~~~~~~~
      |                                                                                      {       }
In file included from md.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11.hpp:5:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/as.hpp:5:
In file included from /usr/local/clang18/bin/../include/c++/v1/memory:925:
In file included from /usr/local/clang18/bin/../include/c++/v1/__memory/allocate_at_least.h:13:
In file included from /usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:14:
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:3: warning: destructor called on non-final 'contribution_expect' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   67 |   __loc->~_Tp();
      |   ^
/usr/local/clang18/bin/../include/c++/v1/__memory/allocator_traits.h:316:10: note: in instantiation of function template specialization 'std::__destroy_at<contribution_expect, 0>' requested here
  316 |     std::__destroy_at(__p);
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:926:23: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<contribution_expect>>::destroy<contribution_expect, void, void>' requested here
  926 |       __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
      |                       ^
/usr/local/clang18/bin/../include/c++/v1/vector:920:5: note: in instantiation of member function 'std::vector<contribution_expect>::__base_destruct_at_end' requested here
  920 |     __base_destruct_at_end(this->__begin_);
      |     ^
/usr/local/clang18/bin/../include/c++/v1/vector:490:16: note: in instantiation of member function 'std::vector<contribution_expect>::__clear' requested here
  490 |         __vec_.__clear();
      |                ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:86:7: note: in instantiation of member function 'std::vector<contribution_expect>::__destroy_vector::operator()' requested here
   86 |       __rollback_();
      |       ^
/usr/local/clang18/bin/../include/c++/v1/__utility/exception_guard.h:137:10: note: in instantiation of member function 'std::__exception_guard_exceptions<std::vector<contribution_expect>::__destroy_vector>::~__exception_guard_exceptions' requested here
  137 |   return __exception_guard<_Rollback>(std::move(__rollback));
      |          ^
/usr/local/clang18/bin/../include/c++/v1/vector:1241:23: note: in instantiation of function template specialization 'std::__make_exception_guard<std::vector<contribution_expect>::__destroy_vector>' requested here
 1241 |   auto __guard = std::__make_exception_guard(__destroy_vector(*this));
      |                       ^
./mdiag.h:716:44: note: in instantiation of member function 'std::vector<contribution_expect>::vector' requested here
  716 |   std::vector<contribution_expect> contribs{ {0.0, coef_int<2>{ 0, 0 }, coef_dbl<2>{ 0.0, 0.0 }} };
      |                                            ^
/usr/local/clang18/bin/../include/c++/v1/__memory/construct_at.h:67:11: note: qualify call to silence this warning
   67 |   __loc->~_Tp();
      |           ^
In file included from md.cpp:2:
./mdiag.h:717:72: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  717 |   contribution_expect baseline{ 0.0, coef_int<2>{ 0, 0 }, coef_dbl<2>{ 0.0, 0.0 } };
      |                                                                        ^~~~~~~~
      |                                                                        {       }
./mdiag.h:648:40: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  648 |       constexpr coef_dbl<2> coef_y_ab{ 0.0, 0.0 };
      |                                        ^~~~~~~~
      |                                        {       }
./mdiag.h:653:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  653 |         const auto coef_x_ab = x_lt_y ? coef_dbl<2>({ 0.0, y[i] - x[i] }) : coef_dbl<2>({ y[i] - x[i], 0.0 });
      |                                                       ^~~~~~~~~~~~~~~~
      |                                                       {               }
./mdiag.h:653:91: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  653 |         const auto coef_x_ab = x_lt_y ? coef_dbl<2>({ 0.0, y[i] - x[i] }) : coef_dbl<2>({ y[i] - x[i], 0.0 });
      |                                                                                           ^~~~~~~~~~~~~~~~
      |                                                                                           {               }
./mdiag.h:680:40: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  680 |       constexpr coef_dbl<2> coef_y_ab{ 0.0, 0.0 };
      |                                        ^~~~~~~~
      |                                        {       }
./mdiag.h:686:55: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  686 |         const auto coef_x_ab = x_lt_y ? coef_dbl<2>({ 0.0,  y[i] - x[i] }) : coef_dbl<2>({ y[i] - x[i], 0.0 });
      |                                                       ^~~~~~~~~~~~~~~~~
      |                                                       {                }
./mdiag.h:686:92: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  686 |         const auto coef_x_ab = x_lt_y ? coef_dbl<2>({ 0.0,  y[i] - x[i] }) : coef_dbl<2>({ y[i] - x[i], 0.0 });
      |                                                                                            ^~~~~~~~~~~~~~~~
      |                                                                                            {               }
./mdiag.h:687:59: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  687 |         const auto coef_ref_ab = ref_lt_y ? coef_dbl<2>({ 0.0, ref[i] - y[i] }) : coef_dbl<2>({ ref[i] - y[i], 0.0 });
      |                                                           ^~~~~~~~~~~~~~~~~~
      |                                                           {                 }
./mdiag.h:687:97: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  687 |         const auto coef_ref_ab = ref_lt_y ? coef_dbl<2>({ 0.0, ref[i] - y[i] }) : coef_dbl<2>({ ref[i] - y[i], 0.0 });
      |                                                                                                 ^~~~~~~~~~~~~~~~~~
      |                                                                                                 {                 }
27 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o triptych.so cpp11.o md.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/triptych/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/triptych/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/triptych/src'
installing to /data/gannet/ripley/R/packages/tests-clang/triptych.Rcheck/00LOCK-triptych/00new/triptych/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (triptych)