Skip to content

ci: add build and unit tests workflow #24

ci: add build and unit tests workflow

ci: add build and unit tests workflow #24

GitHub Actions / Windows Unit Tests Results failed Feb 13, 2024 in 0s

1 fail, 23 pass in 0s

24 tests   - 1   23 ✅ +2   0s ⏱️ ±0s
 8 suites ±0    0 💤 ±0 
 1 files   ±0    1 ❌  - 3 

Results for commit 21ae1cc. ± Comparison against earlier commit 9a2a526.

Annotations

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Windows Unit Tests Results

debug_build_with_tests_coverage failed

unit-tests-results.xml [took 0s]
Raw output
failed ::debug_build_with_tests_coverage
thread 'debug_build_with_tests_coverage' panicked at C:\M\B\src\rustc-1.76.0-src\library\core\src\ops\function.rs:250:5:
Unexpected failure.
code=1
stderr=``````
CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy):
  The OLD behavior for policy CMP0114 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


Change Dir: \'C:/a/_temp/msys64/tmp/.tmpqpsj2F/target-llvm/build-final/CMakeFiles/CMakeTmp\'

Run Build Command(s): C:/a/_temp/msys64/mingw64/bin/ninja.exe -v cmTC_edea0
[1/2] C:\\a\\_temp\\msys64\\mingw64\\bin\\clang++.exe   -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping  -std=c++17 -MD -MT CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -MF CMakeFiles\\cmTC_edea0.dir\\getErrc.cpp.obj.d -o CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -c C:/a/_temp/msys64/tmp/.tmpqpsj2F/target-llvm/build-final/CMakeFiles/CMakeTmp/getErrc.cpp\r
[2/2] cmd.exe /C \"cd . && C:\\a\\_temp\\msys64\\mingw64\\bin\\clang++.exe -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping -fuse-ld=lld -Wl,--stack,16777216 -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -o cmTC_edea0.exe -Wl,--out-implib,libcmTC_edea0.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd .\"\r
FAILED: cmTC_edea0.exe \r
cmd.exe /C \"cd . && C:\\a\\_temp\\msys64\\mingw64\\bin\\clang++.exe -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping -fuse-ld=lld -Wl,--stack,16777216 -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -o cmTC_edea0.exe -Wl,--out-implib,libcmTC_edea0.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd .\"
ld.lld: error: could not open \'C:/a/_temp/msys64/mingw64/lib/clang/17/lib/windows/libclang_rt.profile-x86_64.a\': No such file or directory\r\r
clang++: error: linker command failed with exit code 1 (use -v to see invocation)\r\r
ninja: build stopped: subcommand failed.\r


CMake Warning:
  Manually-specified variables were not used by the project:

    CLANG_REPOSITORY_STRING
    CLANG_VENDOR


Error: Running ninja install failed
```
```
command=`"C:\\a\\era-compiler-llvm-builder\\era-compiler-llvm-builder\\target\\debug\\zkevm-llvm.exe" "build" "--enable-coverage" "--enable-tests" "--debug"`
code=1
stdout=<882 lines total>
```
/mingw64/bin/cmake
/mingw64/bin/clang
/mingw64/bin/clang++
/mingw64/bin/lld
/mingw64/bin/ninja
-- The C compiler identification is Clang 17.0.6
-- The CXX compiler identification is Clang 17.0.6
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: C:/a/_temp/msys64/mingw64/bin/clang.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/a/_temp/msys64/mingw64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/a/_temp/msys64/mingw64/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test LLVM_LIBSTDCXX_MIN
```
<822 lines omitted>
```
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Failed
-- Enabling additional flags: -DCMAKE_CXX_STANDARD=14
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Enabling additional flags: -DCMAKE_CXX_STANDARD=14
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- failed to compile
CMake Warning at C:/a/_temp/msys64/tmp/.tmpqpsj2F/llvm/third-party/benchmark/CMakeLists.txt:308 (message):
  Using std::regex with exceptions disabled is not fully supported


-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Configuring done (189.3s)
-- Generating done (2.8s)
-- Build files have been written to: C:/a/_temp/msys64/tmp/.tmpqpsj2F/target-llvm/build-final/NATIVE\r
ninja: build stopped: subcommand failed.\r
```

stderr=```
CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy):
  The OLD behavior for policy CMP0114 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


Change Dir: \'C:/a/_temp/msys64/tmp/.tmpqpsj2F/target-llvm/build-final/CMakeFiles/CMakeTmp\'

Run Build Command(s): C:/a/_temp/msys64/mingw64/bin/ninja.exe -v cmTC_edea0
[1/2] C:\\a\\_temp\\msys64\\mingw64\\bin\\clang++.exe   -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping  -std=c++17 -MD -MT CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -MF CMakeFiles\\cmTC_edea0.dir\\getErrc.cpp.obj.d -o CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -c C:/a/_temp/msys64/tmp/.tmpqpsj2F/target-llvm/build-final/CMakeFiles/CMakeTmp/getErrc.cpp\r
[2/2] cmd.exe /C \"cd . && C:\\a\\_temp\\msys64\\mingw64\\bin\\clang++.exe -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping -fuse-ld=lld -Wl,--stack,16777216 -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -o cmTC_edea0.exe -Wl,--out-implib,libcmTC_edea0.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd .\"\r
FAILED: cmTC_edea0.exe \r
cmd.exe /C \"cd . && C:\\a\\_temp\\msys64\\mingw64\\bin\\clang++.exe -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping -fuse-ld=lld -Wl,--stack,16777216 -fprofile-instr-generate=\"C:\\a\\_temp\\msys64\\tmp\\.tmpqpsj2F\\target-llvm\\build-final\\profiles\\%4m.profraw\" -fcoverage-mapping CMakeFiles/cmTC_edea0.dir/getErrc.cpp.obj -o cmTC_edea0.exe -Wl,--out-implib,libcmTC_edea0.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd .\"
ld.lld: error: could not open \'C:/a/_temp/msys64/mingw64/lib/clang/17/lib/windows/libclang_rt.profile-x86_64.a\': No such file or directory\r\r
clang++: error: linker command failed with exit code 1 (use -v to see invocation)\r\r
ninja: build stopped: subcommand failed.\r


CMake Warning:
  Manually-specified variables were not used by the project:

    CLANG_REPOSITORY_STRING
    CLANG_VENDOR


Error: Running ninja install failed
```


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace