Skip to content

#25 fixing build

#25 fixing build #129

Triggered via push February 4, 2026 19:07
Status Failure
Total duration 2m 17s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Building the binaries for Ubuntu Latest GCC
Process completed with exit code 1.
Building the binaries for Ubuntu Latest GCC
FAILED: tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.o ccache /usr/bin/g++ -I/home/runner/work/capable-cpp-template/capable-cpp-template/src -I/home/runner/work/capable-cpp-template/capable-cpp-template/build/generated -isystem /home/runner/work/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googletest/include -isystem /home/runner/work/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googletest -isystem /home/runner/work/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googlemock/include -isystem /home/runner/work/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googlemock -O0 -g -fprofile-arcs -ftest-coverage -O3 -DNDEBUG -MD -MT tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.o -MF tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.o.d -o tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.o -c /home/runner/work/capable-cpp-template/capable-cpp-template/src/template_class.cpp /home/runner/work/capable-cpp-template/capable-cpp-template/src/template_class.cpp: In member function ‘void TemplateClass::versionInfo()’: /home/runner/work/capable-cpp-template/capable-cpp-template/src/template_class.cpp:20:10: error: ‘cout’ is not a member of ‘std’ 20 | std::cout << "App version: " << APP_VERSION_STRING << "\n"; | ^~~~ /home/runner/work/capable-cpp-template/capable-cpp-template/src/template_class.cpp:8:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? 7 | #include "version.h" +++ |+#include <iostream> 8 | [5/12 87.4/sec] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [6/12 89.8/sec] Building CXX object tests/CMakeFiles/capable_template_app_test.dir/static_analyzer_test.cpp.o /home/runner/work/capable-cpp-template/capable-cpp-template/tests/static_analyzer_test.cpp: In function ‘bool mainFunction2()’: /home/runner/work/capable-cpp-template/capable-cpp-template/tests/static_analyzer_test.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type] 29 | } | ^ [7/12 6.5/sec] Building CXX object tests/CMakeFiles/capable_template_app_test.dir/template_class_test.cpp.o ninja: build stopped: subcommand failed.
Building the binaries for Windows Latest MinGW
Process completed with exit code 1.
Building the binaries for Windows Latest MinGW
FAILED: tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.obj ccache C:\mingw64\bin\g++.exe -ID:/a/capable-cpp-template/capable-cpp-template/src -ID:/a/capable-cpp-template/capable-cpp-template/build/generated -isystem D:/a/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googletest/include -isystem D:/a/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googletest -isystem D:/a/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googlemock/include -isystem D:/a/capable-cpp-template/capable-cpp-template/build/_deps/googletest-src/googlemock -O0 -g -fprofile-arcs -ftest-coverage -O3 -DNDEBUG -MD -MT tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.obj -MF tests\CMakeFiles\capable_template_app_test.dir\__\src\template_class.cpp.obj.d -o tests/CMakeFiles/capable_template_app_test.dir/__/src/template_class.cpp.obj -c D:/a/capable-cpp-template/capable-cpp-template/src/template_class.cpp D:/a/capable-cpp-template/capable-cpp-template/src/template_class.cpp: In member function 'void TemplateClass::versionInfo()': D:/a/capable-cpp-template/capable-cpp-template/src/template_class.cpp:20:10: error: 'cout' is not a member of 'std' 20 | std::cout << "App version: " << APP_VERSION_STRING << "\n"; | ^~~~ D:/a/capable-cpp-template/capable-cpp-template/src/template_class.cpp:8:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' 7 | #include "version.h" +++ |+#include <iostream> 8 | [2/12 1.3/sec] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj [3/12 2.0/sec] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj [4/12 2.6/sec] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj [5/12 3.0/sec] Building CXX object tests/CMakeFiles/capable_template_app_test.dir/static_analyzer_test.cpp.obj D:/a/capable-cpp-template/capable-cpp-template/tests/static_analyzer_test.cpp: In function 'bool mainFunction2()': D:/a/capable-cpp-template/capable-cpp-template/tests/static_analyzer_test.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type] 29 | } | ^ [6/12 2.8/sec] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj ninja: build stopped: subcommand failed.
Building the binaries for Ubuntu Latest GCC
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Building the binaries for Windows Latest MinGW
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/