Skip to content

CMake Build Matrix #106

CMake Build Matrix

CMake Build Matrix #106

Triggered via push April 11, 2024 09:06
Status Failure
Total duration 3h 13m 19s
Artifacts

build_cmake.yml

on: push
Ubuntu 20.04 ARM64 Clang 10
3h 13m
Ubuntu 20.04 ARM64 Clang 10
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Windows Latest MSVC
FAILED: src/gromacs/fileio/tests/CMakeFiles/fileio-test.dir/matio.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/fileio/tests\" -DTEST_TEMP_PATH=\"D:/a/gromacs/gromacs/build/src/gromacs/fileio/tests/Testing/Temporary\" -DTMPI_USE_VISIBILITY -I..\src\testutils\include -I..\src\include -Isrc\include -I..\src -I..\src\gromacs\utility\include -I..\api\legacy\include -Iapi\legacy\include -I..\src\gromacs\math\include -I..\src\gromacs\fileio\include -I..\src\external\thread_mpi\include -I..\src\external -I..\src\external\muparser -I..\src\external\googletest\googlemock\include -I..\src\external\googletest\googlemock -I..\src\external\googletest\googletest\include -I..\src\external\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /O2 /Ob2 /DNDEBUG -MD /wd4800 /wd4355 /wd4996 /wd4305 /wd4244 /wd4267 /wd4068 /permissive- /utf-8 -std:c++17 /showIncludes /Fosrc\gromacs\fileio\tests\CMakeFiles\fileio-test.dir\matio.cpp.obj /Fdsrc\gromacs\fileio\tests\CMakeFiles\fileio-test.dir\ /FS -c ..\src\gromacs\fileio\tests\matio.cpp ..\src\gromacs\fileio\tests\matio.cpp(119): error C2664: 'void gmx::TextWriter::writeFileFromString(const std::string &,const std::string &)': cannot convert argument 1 from 'const std::filesystem::path' to 'const std::string &' ..\src\gromacs\fileio\tests\matio.cpp(119): note: Reason: cannot convert from 'const std::filesystem::path' to 'const std::string' ..\src\gromacs\fileio\tests\matio.cpp(119): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ..\src\gromacs\utility\include\gromacs/utility/textwriter.h(82): note: see declaration of 'gmx::TextWriter::writeFileFromString' ..\src\gromacs\fileio\tests\matio.cpp(157): error C2664: 'FILE *fopen(const char *,const char *)': cannot convert argument 1 from 'const std::filesystem::path::value_type *' to 'const char *' ..\src\gromacs\fileio\tests\matio.cpp(157): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\stdio.h(213): note: see declaration of 'fopen' ..\src\gromacs\fileio\tests\matio.cpp(165): error C2664: 'FILE *fopen(const char *,const char *)': cannot convert argument 1 from 'const std::filesystem::path::value_type *' to 'const char *' ..\src\gromacs\fileio\tests\matio.cpp(165): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\stdio.h(213): note: see declaration of 'fopen' ..\src\gromacs\fileio\tests\matio.cpp(264): error C2664: 'FILE *fopen(const char *,const char *)': cannot convert argument 1 from 'const std::filesystem::path::value_type *' to 'const char *' ..\src\gromacs\fileio\tests\matio.cpp(264): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\stdio.h(213): note: see declaration of 'fopen' ..\src\gromacs\fileio\tests\matio.cpp(301): error C2664: 'FILE *fopen(const char *,const char *)': cannot convert argument 1 from 'const std::filesystem::path::value_type *' to 'const char *' ..\src\gromacs\fileio\tests\matio.cpp(301): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\stdio.h(213): note: see declaration of 'fopen' [399/504 1.2/sec] Linking CXX executable bin\tool-test.exe Creating library lib\tool-test.lib and object lib\tool-test.exp LINK : warning LNK4217: symbol '?TMPI_COMM_WORLD@@3PEAUtmpi_comm_@@ea (struct tmpi_comm_ * TMPI_COMM_WORLD)' defined in 'gromacs.lib(tmpi_malloc.cpp.obj)' is imported by 'testutils.lib(test_hardware_environment.cpp.obj)' in function '"public: __cdecl gmx::test::TestHardwareEnvironment::TestHa
Windows Latest MSVC
Process completed with exit code 1.