Skip to content

C/C++ CI

C/C++ CI #2069

Manually triggered November 30, 2023 19:42
Status Failure
Total duration 19m 35s
Artifacts 6

cmake.yml

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

Annotations

4 errors and 70 warnings
MacOS x86_64
Process completed with exit code 1.
Windows x86_64
Process completed with exit code 1.
Windows ARM64
Process completed with exit code 1.
MacOS arm64
Process completed with exit code 1.
Linux x86_64
Restore cache failed: Dependencies file is not found in /__w/ziti-sdk-c/ziti-sdk-c. Supported file pattern: go.sum
Linux x86_64: library/ziti_enroll.c#L107
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/channel.c#L168
passing argument 2 of 'model_list_append' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti.c#L209
'config' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux x86_64: library/ziti.c#L215
'config' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux x86_64: library/ziti.c#L216
'config' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux x86_64: library/ziti.c#L627
'config' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux x86_64: library/ziti_ctrl.c#L490
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti_ctrl.c#L491
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti_ctrl.c#L652
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64
Restore cache failed: Dependencies file is not found in /__w/ziti-sdk-c/ziti-sdk-c. Supported file pattern: go.sum
Linux ARM64: library/ziti_enroll.c#L107
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L490
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L491
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L652
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L783
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti_ctrl.c#L802
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/message.c#L24
return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/channel.c#L168
passing argument 2 of 'model_list_append' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM64: library/ziti.c#L209
'config' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux ARM
Restore cache failed: Dependencies file is not found in /__w/ziti-sdk-c/ziti-sdk-c. Supported file pattern: go.sum
Linux ARM
format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t ***aka unsigned int***' [-Wformat=]
Linux ARM
format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t ***aka unsigned int***' [-Wformat=]
Linux ARM
format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t ***aka int***' [-Wformat=]
Linux ARM
format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t ***aka unsigned int***' [-Wformat=]
Linux ARM: library/utils.c#L412
passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM: library/utils.c#L465
passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM: library/ziti_enroll.c#L107
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux ARM: library/ziti_ctrl.c#L93
format '%ld' expects argument of type 'long int', but argument 10 has type 'uint64_t ***aka long long unsigned int***' [-Wformat=]
Linux ARM: library/ziti_ctrl.c#L93
format '%ld' expects argument of type 'long int', but argument 11 has type 'uint64_t ***aka long long unsigned int***' [-Wformat=]
MacOS x86_64
Restore cache failed: Dependencies file is not found in /Users/runner/work/ziti-sdk-c/ziti-sdk-c. Supported file pattern: go.sum
MacOS x86_64: library/utils.c#L412
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS x86_64: library/utils.c#L465
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS x86_64: library/ziti_enroll.c#L107
assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
MacOS x86_64: library/ziti_ctrl.c#L329
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS x86_64: library/ziti_ctrl.c#L329
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS x86_64: library/ziti_ctrl.c#L357
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS x86_64: library/ziti_ctrl.c#L357
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS x86_64: library/ziti_ctrl.c#L490
initializing 'string' (aka 'char *') with an expression of type 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
MacOS x86_64: library/ziti_ctrl.c#L491
initializing 'string' (aka 'char *') with an expression of type 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Windows x86_64
Restore cache failed: Dependencies file is not found in D:\a\ziti-sdk-c\ziti-sdk-c. Supported file pattern: go.sum
Windows x86_64: tests/integ/CMakeLists.txt#L4
expect not found: integration testing is not enabled
Windows x86_64
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows x86_64
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows x86_64: library/zitilib.c#L1238
potentially uninitialized local variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/zitilib.c#L1238
potentially uninitialized local pointer variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/connect.c#L849
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/internal_model.c#L272
potentially uninitialized local variable 'bits' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/model_support.c#L952
'_cmp_tag': not all control paths return a value [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/model_support.c#L1062
potentially uninitialized local variable 'rc' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64
Restore cache failed: Dependencies file is not found in D:\a\ziti-sdk-c\ziti-sdk-c. Supported file pattern: go.sum
Windows ARM64: tests/integ/CMakeLists.txt#L4
expect not found: integration testing is not enabled
Windows ARM64
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows ARM64
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\_deps\tlsuv-build\tlsuv.vcxproj]
Windows ARM64: library/zitilib.c#L1238
potentially uninitialized local variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/zitilib.c#L1238
potentially uninitialized local pointer variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/connect.c#L849
unreachable code [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/internal_model.c#L272
potentially uninitialized local variable 'bits' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/model_support.c#L952
'_cmp_tag': not all control paths return a value [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/model_support.c#L1062
potentially uninitialized local variable 'rc' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
MacOS arm64
Restore cache failed: Dependencies file is not found in /Users/runner/work/ziti-sdk-c/ziti-sdk-c. Supported file pattern: go.sum
MacOS arm64: library/utils.c#L412
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS arm64: library/utils.c#L465
incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'const time_t *' (aka 'const long *') [-Wincompatible-pointer-types]
MacOS arm64: library/ziti_enroll.c#L107
assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
MacOS arm64: library/ziti_ctrl.c#L329
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS arm64: library/ziti_ctrl.c#L329
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS arm64: library/ziti_ctrl.c#L357
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS arm64: library/ziti_ctrl.c#L357
format specifies type 'long' but the argument has type 'unsigned long long' [-Wformat]
MacOS arm64: library/ziti_ctrl.c#L490
initializing 'string' (aka 'char *') with an expression of type 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
MacOS arm64: library/ziti_ctrl.c#L491
initializing 'string' (aka 'char *') with an expression of type 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]

Artifacts

Produced during runtime
Name Size
ziti-prox-c-linux-arm Expired
2.49 MB
ziti-prox-c-linux-arm64 Expired
2.58 MB
ziti-prox-c-linux-x64 Expired
2.96 MB
ziti-sdk-linux-arm Expired
3.46 MB
ziti-sdk-linux-arm64 Expired
3.63 MB
ziti-sdk-linux-x64 Expired
4.02 MB