Skip to content

Write UUID transformation more portably #12

Write UUID transformation more portably

Write UUID transformation more portably #12

Triggered via push September 5, 2024 09:22
Status Failure
Total duration 28m 37s
Artifacts

build_cmake.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors
macOS Latest Clang
FAILED: src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o ccache /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGMX_DOUBLE=0 -DGTEST_LANG_CXX11 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_CONFIG_H -DTEST_DATA_PATH=\"src/gromacs/hardware/tests\" -DTEST_TEMP_PATH=\"/Users/runner/work/gromacs/gromacs/build/src/gromacs/hardware/tests/Testing/Temporary\" -DTMPI_USE_VISIBILITY -I/Users/runner/work/gromacs/gromacs/src/testutils/include -I/Users/runner/work/gromacs/gromacs/src/include -I/Users/runner/work/gromacs/gromacs/build/src/include -I/Users/runner/work/gromacs/gromacs/src -I/Users/runner/work/gromacs/gromacs/src/gromacs/utility/include -I/Users/runner/work/gromacs/gromacs/api/legacy/include -I/Users/runner/work/gromacs/gromacs/build/api/legacy/include -I/Users/runner/work/gromacs/gromacs/src/gromacs/math/include -isystem /Users/runner/work/gromacs/gromacs/src/external/thread_mpi/include -isystem /Users/runner/work/gromacs/gromacs/src/external -isystem /Users/runner/work/gromacs/gromacs/src/external/muparser -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googlemock/include -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googlemock -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googletest/include -isystem /Users/runner/work/gromacs/gromacs/src/external/googletest/googletest -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -Wall -Wextra -Wpointer-arith -Wmissing-prototypes -Wdeprecated -Wno-deprecated-declarations -Wno-poison-system-directories -Wno-unused-function -Wno-unknown-pragmas -Wno-reserved-identifier -Wno-missing-field-initializers -fno-stack-check -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-source-uses-openmp -Wno-c++17-extensions -Wno-documentation-unknown-command -Wno-covered-switch-default -Wno-switch-enum -Wno-switch-default -Wno-extra-semi-stmt -Wno-weak-vtables -Wno-shadow -Wno-padded -Wno-reserved-id-macro -Wno-double-promotion -Wno-exit-time-destructors -Wno-global-constructors -Wno-documentation -Wno-format-nonliteral -Wno-used-but-marked-unused -Wno-float-equal -Wno-conditional-uninitialized -Wno-conversion -Wno-disabled-macro-expansion -Wno-unused-macros -Wno-unsafe-buffer-usage -Wno-zero-as-null-pointer-constant -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-member-function -MD -MT src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o -MF src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o.d -o src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.o -c /Users/runner/work/gromacs/gromacs/src/gromacs/hardware/tests/device_management.cpp ../src/gromacs/hardware/tests/device_management.cpp:144:46: error: no matching function for call to 'uint32FromBytes' result += gmx::formatString("%2.2x", uint32FromBytes<uuid.size()>(uuid, byteOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/gromacs/hardware/tests/device_management.cpp:112:10: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'N' uint32_t uint32FromBytes(const std::array<std::byte, N>& data, const std::size_t byteOffset) ^ ../src/gromacs/hardware/tests/device_management.cpp:149:46: error: no matching function for call to 'uint32FromBytes' result += gmx::formatString("%2.2x", uint32FromBytes<uuid.size()>(uuid, byteOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/gromacs/hardware/tests/device_management.cpp:112:10: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'N' uint32_t uint32FromBytes(const std::array<std::byte, N>& data, const std::size_t byteOffset) ^ ../src/gromacs/hardware/tests/device_management.cpp:154:46: error: no matching function for call to 'uint32FromBytes' result += gmx::formatStrin
macOS Latest Clang
Process completed with exit code 1.
Windows Latest MSVC
FAILED: src/gromacs/hardware/tests/CMakeFiles/hardware-test.dir/device_management.cpp.obj ccache C:\PROGRA~2\MICROS~2\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DGMX_DOUBLE=0 -DGTEST_LANG_CXX11 -DHAVE_CONFIG_H -DNOMINMAX -DTEST_DATA_PATH=\"src/gromacs/hardware/tests\" -DTEST_TEMP_PATH=\"D:/a/gromacs/gromacs/build/src/gromacs/hardware/tests/Testing/Temporary\" -DTMPI_USE_VISIBILITY -ID:\a\gromacs\gromacs\src\testutils\include -ID:\a\gromacs\gromacs\src\include -ID:\a\gromacs\gromacs\build\src\include -ID:\a\gromacs\gromacs\src -ID:\a\gromacs\gromacs\src\gromacs\utility\include -ID:\a\gromacs\gromacs\api\legacy\include -ID:\a\gromacs\gromacs\build\api\legacy\include -ID:\a\gromacs\gromacs\src\gromacs\math\include -external:ID:\a\gromacs\gromacs\src\external\thread_mpi\include -external:ID:\a\gromacs\gromacs\src\external -external:ID:\a\gromacs\gromacs\src\external\muparser -external:ID:\a\gromacs\gromacs\src\external\googletest\googlemock\include -external:ID:\a\gromacs\gromacs\src\external\googletest\googlemock -external:ID:\a\gromacs\gromacs\src\external\googletest\googletest\include -external:ID:\a\gromacs\gromacs\src\external\googletest\googletest -external:W0 /DWIN32 /D_WINDOWS /GR /EHsc /O2 /Ob2 /DNDEBUG -std:c++17 -MD /wd4800 /wd4355 /wd4996 /wd4305 /wd4244 /wd4267 /wd4068 /permissive- /utf-8 /showIncludes /Fosrc\gromacs\hardware\tests\CMakeFiles\hardware-test.dir\device_management.cpp.obj /Fdsrc\gromacs\hardware\tests\CMakeFiles\hardware-test.dir\ /FS -c D:\a\gromacs\gromacs\src\gromacs\hardware\tests\device_management.cpp ..\src\gromacs\hardware\tests\device_management.cpp(144): error C2672: 'uint32FromBytes': no matching overloaded function found ..\src\gromacs\hardware\tests\device_management.cpp(144): error C2975: 'N': invalid template argument for 'gmx::test::`anonymous-namespace'::uint32FromBytes', expected compile-time constant expression ..\src\gromacs\hardware\tests\device_management.cpp(111): note: see declaration of 'N' ..\src\gromacs\hardware\tests\device_management.cpp(149): error C2672: 'uint32FromBytes': no matching overloaded function found ..\src\gromacs\hardware\tests\device_management.cpp(149): error C2975: 'N': invalid template argument for 'gmx::test::`anonymous-namespace'::uint32FromBytes', expected compile-time constant expression ..\src\gromacs\hardware\tests\device_management.cpp(111): note: see declaration of 'N' ..\src\gromacs\hardware\tests\device_management.cpp(154): error C2672: 'uint32FromBytes': no matching overloaded function found ..\src\gromacs\hardware\tests\device_management.cpp(154): error C2975: 'N': invalid template argument for 'gmx::test::`anonymous-namespace'::uint32FromBytes', expected compile-time constant expression ..\src\gromacs\hardware\tests\device_management.cpp(111): note: see declaration of 'N' ..\src\gromacs\hardware\tests\device_management.cpp(159): error C2672: 'uint32FromBytes': no matching overloaded function found ..\src\gromacs\hardware\tests\device_management.cpp(159): error C2975: 'N': invalid template argument for 'gmx::test::`anonymous-namespace'::uint32FromBytes', expected compile-time constant expression ..\src\gromacs\hardware\tests\device_management.cpp(111): note: see declaration of 'N' ..\src\gromacs\hardware\tests\device_management.cpp(164): error C2672: 'uint32FromBytes': no matching overloaded function found ..\src\gromacs\hardware\tests\device_management.cpp(164): error C2975: 'N': invalid template argument for 'gmx::test::`anonymous-namespace'::uint32FromBytes', expected compile-time constant expression ..\src\gromacs\hardware\tests\device_management.cpp(111): note: see declaration of 'N' [183/513 1.0/sec] Building CXX object src\gromacs\hardware\tests\CMakeFiles\hardware-test.dir\mockhardwaretopology.cpp.obj [184/513 1.0/sec] Building CXX object src\gromacs\hardware\tests\CMakeFiles\hardware-test.dir\__\__\__\testutils\unittest_main.cpp.obj [185/513 1.0/sec] Building CXX object src\gromacs\math\tests\CMakeFiles\math-test.dir\boxmatrix.cpp.obj [186/513 1.0/sec] Building CXX object src\gromacs\math\tests\CMak
Windows Latest MSVC
Process completed with exit code 1.