* installing *source* package ‘CEC’ ... ** this is package ‘CEC’ version ‘0.11.3’ ** package ‘CEC’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 23.1.0-rc2’ make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang-trunk/CEC/src' /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cec_r.cpp -o cec_r.o In file included from cec_r.cpp:4: ./variable_starter.h:10:42: error: no template named 'function' in namespace 'std' 10 | using clustering_function = std::function | ~~~~~^ ./variable_starter.h:13:26: error: unknown type name 'clustering_function'; did you mean 'clustering_exception'? 13 | variable_starter(clustering_function &&cl_starter, vector centers_number) | ^~~~~~~~~~~~~~~~~~~ | clustering_exception ./exceptions.h:29:11: note: 'clustering_exception' declared here 29 | class clustering_exception : public cec_exception { | ^ In file included from cec_r.cpp:4: ./variable_starter.h:21:9: error: unknown type name 'clustering_function'; did you mean 'clustering_exception'? 21 | clustering_function cl_starter; | ^~~~~~~~~~~~~~~~~~~ | clustering_exception ./exceptions.h:29:11: note: 'clustering_exception' declared here 29 | class clustering_exception : public cec_exception { | ^ cec_r.cpp:51:26: error: no matching constructor for initialization of 'variable_starter' 51 | variable_starter var_start(std::move(cl_function), centers_par->var_centers); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./variable_starter.h:13:9: note: candidate constructor not viable: no known conversion from '__libcpp_remove_reference_t<(lambda at cec_r.cpp:46:28) &>' (aka '(lambda at cec_r.cpp:46:28)') to 'clustering_exception' for 1st argument 13 | variable_starter(clustering_function &&cl_starter, vector centers_number) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./variable_starter.h:8:11: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 8 | class variable_starter { | ^~~~~~~~~~~~~~~~ ./variable_starter.h:8:11: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 8 | class variable_starter { | ^~~~~~~~~~~~~~~~ cec_r.cpp:112:26: error: no matching constructor for initialization of 'variable_starter' 112 | variable_starter var_start(cl_function, centers_par->var_centers); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./variable_starter.h:13:9: note: candidate constructor not viable: no known conversion from '(lambda at cec_r.cpp:107:28)' to 'clustering_exception' for 1st argument 13 | variable_starter(clustering_function &&cl_starter, vector centers_number) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./variable_starter.h:8:11: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 8 | class variable_starter { | ^~~~~~~~~~~~~~~~ ./variable_starter.h:8:11: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 8 | class variable_starter { | ^~~~~~~~~~~~~~~~ 5 errors generated. make[1]: *** [/data/localhost/ripley/R/R-clang-trunk/etc/Makeconf:197: cec_r.o] Error 1 /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cec_starter.cpp -o cec_starter.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c init.cpp -o init.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c models/cov_utils.cpp -o models/cov_utils.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c params.cpp -o params.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c r_params.cpp -o r_params.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c r_result.cpp -o r_result.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c random.cpp -o random.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c split_starter.cpp -o split_starter.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c starter.cpp -o starter.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c variable_starter.cpp -o variable_starter.o In file included from variable_starter.cpp:1: ./variable_starter.h:10:42: error: no template named 'function' in namespace 'std' 10 | using clustering_function = std::function | ~~~~~^ ./variable_starter.h:13:26: error: unknown type name 'clustering_function'; did you mean 'clustering_exception'? 13 | variable_starter(clustering_function &&cl_starter, vector centers_number) | ^~~~~~~~~~~~~~~~~~~ | clustering_exception ./exceptions.h:29:11: note: 'clustering_exception' declared here 29 | class clustering_exception : public cec_exception { | ^ In file included from variable_starter.cpp:1: ./variable_starter.h:21:9: error: unknown type name 'clustering_function'; did you mean 'clustering_exception'? 21 | clustering_function cl_starter; | ^~~~~~~~~~~~~~~~~~~ | clustering_exception ./exceptions.h:29:11: note: 'clustering_exception' declared here 29 | class clustering_exception : public cec_exception { | ^ variable_starter.cpp:10:22: error: type 'clustering_exception' does not provide a call operator 10 | best(cl_starter(x, models_specs_subset)); | ^~~~~~~~~~ 4 errors generated. make[1]: *** [/data/localhost/ripley/R/R-clang-trunk/etc/Makeconf:197: variable_starter.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang-trunk/CEC/src' ERROR: compilation failed for package ‘CEC’ * removing ‘/data/localhost/ripley/R/packages/tests-clang-trunk/CEC.Rcheck/CEC’