added honour_x0 interface for the algorithm bobyqa in the C api #231
Cirrus CI / ARM64 Debian
failed
Jul 14, 2025 in 3m 44s
Task Summary
Instruction cmake_test failed in 01:04
Details
✅ 00:09 clone
✅ 00:39 dependencies
✅ 01:49 test
❌ 01:04 cmake_test
-- Installing: /tmp/cirrus-ci-build/include/prima/mod/newuoa_mod.mod
-- Installing: /tmp/cirrus-ci-build/include/prima/prima.h
cmake --build . --target tests
[ 57%] Built target primaf
[ 65%] Built target primac
[ 66%] Building C object c/tests/CMakeFiles/data_c_exe.dir/data.c.o
[ 67%] Linking C executable data_c_exe
[ 67%] Built target data_c_exe
[ 68%] Building C object c/CMakeFiles/example_lincoa_c_exe.dir/examples/lincoa/lincoa_example.c.o
[ 69%] Linking C executable example_lincoa_c_exe
[ 69%] Built target example_lincoa_c_exe
[ 70%] Building Fortran object fortran/CMakeFiles/example_cobyla_fortran_1_exe.dir/examples/cobyla/cobyla_example_1.f90.o
[ 71%] Linking Fortran executable example_cobyla_fortran_1_exe
[ 71%] Built target example_cobyla_fortran_1_exe
[ 72%] Building Fortran object fortran/CMakeFiles/example_cobyla_fortran_2_exe.dir/examples/cobyla/cobyla_example_2.f90.o
[ 73%] Linking Fortran executable example_cobyla_fortran_2_exe
[ 73%] Built target example_cobyla_fortran_2_exe
[ 74%] Building Fortran object fortran/CMakeFiles/example_bobyqa_fortran_1_exe.dir/examples/bobyqa/bobyqa_example_1.f90.o
[ 75%] Linking Fortran executable example_bobyqa_fortran_1_exe
[ 75%] Built target example_bobyqa_fortran_1_exe
[ 76%] Building Fortran object fortran/CMakeFiles/example_bobyqa_fortran_2_exe.dir/examples/bobyqa/bobyqa_example_2.f90.o
[ 77%] Linking Fortran executable example_bobyqa_fortran_2_exe
[ 77%] Built target example_bobyqa_fortran_2_exe
[ 78%] Building Fortran object fortran/CMakeFiles/example_newuoa_fortran_1_exe.dir/examples/newuoa/newuoa_example_1.f90.o
[ 79%] Linking Fortran executable example_newuoa_fortran_1_exe
[ 79%] Built target example_newuoa_fortran_1_exe
[ 80%] Building Fortran object fortran/CMakeFiles/example_newuoa_fortran_2_exe.dir/examples/newuoa/newuoa_example_2.f90.o
[ 81%] Linking Fortran executable example_newuoa_fortran_2_exe
[ 81%] Built target example_newuoa_fortran_2_exe
[ 82%] Building Fortran object fortran/CMakeFiles/example_uobyqa_fortran_1_exe.dir/examples/uobyqa/uobyqa_example_1.f90.o
[ 83%] Linking Fortran executable example_uobyqa_fortran_1_exe
[ 83%] Built target example_uobyqa_fortran_1_exe
[ 84%] Building Fortran object fortran/CMakeFiles/example_uobyqa_fortran_2_exe.dir/examples/uobyqa/uobyqa_example_2.f90.o
[ 85%] Linking Fortran executable example_uobyqa_fortran_2_exe
[ 85%] Built target example_uobyqa_fortran_2_exe
[ 86%] Building Fortran object fortran/CMakeFiles/example_lincoa_fortran_1_exe.dir/examples/lincoa/lincoa_example_1.f90.o
[ 87%] Linking Fortran executable example_lincoa_fortran_1_exe
[ 87%] Built target example_lincoa_fortran_1_exe
[ 88%] Building Fortran object fortran/CMakeFiles/example_lincoa_fortran_2_exe.dir/examples/lincoa/lincoa_example_2.f90.o
[ 89%] Linking Fortran executable example_lincoa_fortran_2_exe
[ 89%] Built target example_lincoa_fortran_2_exe
[ 90%] Building C object c/CMakeFiles/example_cobyla_c_exe.dir/examples/cobyla/cobyla_example.c.o
[ 91%] Linking C executable example_cobyla_c_exe
[ 91%] Built target example_cobyla_c_exe
[ 92%] Building C object c/CMakeFiles/example_bobyqa_c_exe.dir/examples/bobyqa/bobyqa_example.c.o
/tmp/cirrus-ci-build/c/examples/bobyqa/bobyqa_example.c: In function 'main':
/tmp/cirrus-ci-build/c/examples/bobyqa/bobyqa_example.c:66:9: error: unused variable 'success' [-Werror=unused-variable]
66 | int success = (fabs(result.x[0] - 4.5) > 2e-2 || fabs(result.x[1] - 4) > 2e-2);
| ^~~~~~~
cc1: all warnings being treated as errors
gmake[3]: *** [c/CMakeFiles/example_bobyqa_c_exe.dir/build.make:76: c/CMakeFiles/example_bobyqa_c_exe.dir/examples/bobyqa/bobyqa_example.c.o] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:559: c/CMakeFiles/example_bobyqa_c_exe.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:200: CMakeFiles/tests.dir/rule] Error 2
gmake: *** [Makefile:192: tests] Error 2
Exit status: 2
Loading