Skip to content

bump to v0.5.5

bump to v0.5.5 #268

Triggered via push September 7, 2024 13:40
Status Failure
Total duration 3m 57s
Artifacts 1

cmake.yml

on: push
Matrix: build
release
0s
release
Matrix: publish
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
Ubuntu Latest GCC
FAILED: tests/CMakeFiles/test-basic.dir/basic.cc.o /home/runner/work/cmdr-cxx/cmdr-cxx/ccache /usr/bin/g++-10 -DCMDR_ENABLE_ASSERTIONS=1 -DCMDR_ENABLE_PRECONDITION_CHECKS=1 -DCMDR_ENABLE_WRAPPER=1 -DCMDR_TEST_THREAD_POOL_DBGOUT=1 -DCMDR_UNIT_TEST=1 -I/home/runner/work/cmdr-cxx/cmdr-cxx/build/generated -I/home/runner/work/cmdr-cxx/cmdr-cxx -I/home/runner/work/cmdr-cxx/cmdr-cxx/libs/cmdr11/include -g -std=c++2a -fPIE -Wall -Wextra -pedantic -Werror -Wno-unknown-pragmas -D_DEBUG -DDEBUG=1 -Wshadow -DCMDR_CXX11_UNIT_TEST=1 -MD -MT tests/CMakeFiles/test-basic.dir/basic.cc.o -MF tests/CMakeFiles/test-basic.dir/basic.cc.o.d -o tests/CMakeFiles/test-basic.dir/basic.cc.o -c /home/runner/work/cmdr-cxx/cmdr-cxx/tests/basic.cc In file included from ../libs/cmdr11/include/cmdr11/cmdr_app.hh:20, from ../libs/cmdr11/include/cmdr11/cmdr11.hh:98, from ../libs/cmdr11/include/cmdr-cxx.hh:8, from ../tests/basic.cc:11: ../libs/cmdr11/include/cmdr11/cmdr_opts.hh: In lambda function: ../libs/cmdr11/include/cmdr11/cmdr_opts.hh:25:14: error: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Werror=deprecated] 25 | return [=](cmd &c) { | ^ ../libs/cmdr11/include/cmdr11/cmdr_opts.hh:25:14: note: add explicit ‘this’ or ‘*this’ capture ../libs/cmdr11/include/cmdr11/cmdr_opts.hh: In lambda function: ../libs/cmdr11/include/cmdr11/cmdr_opts.hh:128:14: error: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Werror=deprecated] 128 | return [=](cmd &c) { | ^ ../libs/cmdr11/include/cmdr11/cmdr_opts.hh:128:14: note: add explicit ‘this’ or ‘*this’ capture In file included from ../libs/cmdr11/include/cmdr11/cmdr11.hh:105, from ../libs/cmdr11/include/cmdr-cxx.hh:8, from ../tests/basic.cc:11: ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h: In lambda function: ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:154:63: error: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Werror=deprecated] 154 | _internal_actions.emplace(opt::Action::RequestHelpScreen, [=](opt::types::parsing_context &pc, int, char *[]) -> int { | ^ ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:154:63: note: add explicit ‘this’ or ‘*this’ capture ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h: In lambda function: ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:158:67: error: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Werror=deprecated] 158 | _internal_actions.emplace(opt::Action::RequestVersionsScreen, [=](opt::types::parsing_context &, int, char *[]) -> int { | ^ ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:158:67: note: add explicit ‘this’ or ‘*this’ capture In file included from ../libs/cmdr11/include/cmdr11/cmdr11.hh:105, from ../libs/cmdr11/include/cmdr-cxx.hh:8, from ../tests/basic.cc:11: ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h: In lambda function: ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:193:31: error: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Werror=deprecated] 193 | [=](opt::types::parsing_context &pc, int argc, char *argv[]) -> int { | ^ ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:193:31: note: add explicit ‘this’ or ‘*this’ capture ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h: In lambda function: ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:203:15: error: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Werror=deprecated] 203 | walk_args([=](opt::arg &a) { | ^ ../libs/cmdr11/include/cmdr11/cmdr_app_inl.h:203:15: note: add explicit ‘this’ or ‘*this’ capture In file included from ../libs/cmdr11/include/cmdr11/cmdr11.hh:108, from ../libs/cmdr11/include/cmdr-cxx.hh:8, from ../tests/basic.cc:11: ../libs/cmdr11/include/cmdr11/cmdr_impl.hh: In lambda function
Ubuntu Latest GCC
Process completed with exit code 1.
Windows Latest MSVC
FAILED: tests/CMakeFiles/test-visit-any.dir/visit_any.cc.obj D:\a\cmdr-cxx\cmdr-cxx\ccache.exe C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe /TP -DCMDR_ENABLE_ASSERTIONS=1 -DCMDR_ENABLE_PRECONDITION_CHECKS=1 -DCMDR_ENABLE_WRAPPER=1 -DCMDR_TEST_THREAD_POOL_DBGOUT=0 -DCMDR_UNIT_TEST=0 -ID:\a\cmdr-cxx\cmdr-cxx\build\generated -ID:\a\cmdr-cxx\cmdr-cxx -ID:\a\cmdr-cxx\cmdr-cxx\libs\cmdr11\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++20 /W4 /WX /D_CRT_SECURE_NO_WARNINGS -DNDEBUG=1 /utf-8 /DCMDR_CXX11_UNIT_TEST=1 /wd4800 /showIncludes /Fotests\CMakeFiles\test-visit-any.dir\visit_any.cc.obj /Fdtests\CMakeFiles\test-visit-any.dir\ /FS -c D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.cc D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(80): error C2220: the following warning is treated as an error D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(80): warning C4100: 'a': unreferenced formal parameter D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(80): note: the template instantiation context (the oldest one first) is D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.cc(37): note: see reference to class template instantiation 'study::streamer_any<std::ostream>' being compiled D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(59): note: while compiling class template member function 'study::streamer_any<std::ostream>::R &study::streamer_any<std::ostream>::any_visitors(void)' D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(89): note: see the first reference to 'study::streamer_any<std::ostream>::any_visitors' in 'study::streamer_any<std::ostream>::process' D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.cc(41): note: see the first reference to 'study::streamer_any<std::ostream>::process' in 'test_streamer_any' D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(61): note: see reference to function template instantiation 'std::pair<const std::type_index,std::function<void (std::ostream &,const std::any &)>> study::streamer_any<std::ostream>::to_any_visitor<void,study::streamer_any<std::ostream>::any_visitors::<lambda_1>>(const F &)' being compiled with [ F=study::streamer_any<std::ostream>::any_visitors::<lambda_1> ] Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9025 : overriding '/W3' with '/W4' [15/47 0.7/sec] C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tests\CMakeFiles\test-basic.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\link.exe tests\CMakeFiles\test-basic.dir\basic.cc.obj /out:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-basic.exe /implib:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-basic.lib /pdb:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-basic.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && C:\Windows\system32\cmd.exe /C "cd /D D:\a\cmdr-cxx\cmdr-cxx\build\tests && "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary D:/a/cmdr-cxx/cmdr-cxx/bin/dbg/test-basic.exe -installedDir C:/vcpkg/installed/x64-windows/debug/bin -OutVariable out"" [16/47 0.7/sec] C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tests\CMakeFiles\test-factory.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\link.exe tests\CMakeFiles\test-factory.dir\factory.cc.obj /out:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-factory.exe /implib:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-factory.lib /pdb:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-factory.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:c
Windows Latest MSVC
Process completed with exit code 1.
Ubuntu Latest GCC
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
macOS Latest Clang
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
macOS Latest Clang
p7zip 17.05 is already installed and up-to-date. To reinstall 17.05, run: brew reinstall p7zip
Windows Latest MSVC
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
macOS.7z
91.3 KB