Skip to content

Implement saner init #2026

Implement saner init

Implement saner init #2026

Triggered via pull request September 29, 2023 16:17
Status Failure
Total duration 13m 54s
Artifacts 10

cmake.yml

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

Annotations

2 errors and 70 warnings
Windows x86_64
Process completed with exit code 1.
Windows ARM64
Process completed with exit code 1.
Linux ARM
openssl currently requires the following library from the system package
Linux ARM
format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t ***aka unsigned int***' [-Wformat=]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
passing argument 1 of 'c->own_key->free' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM
initialization from incompatible pointer type [-Wincompatible-pointer-types]
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 x86_64
openssl currently requires the following library from the system package
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
passing argument 1 of 'c->own_key->free' from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux x86_64: library/ziti_enroll.c#L109
assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Linux x86_64: library/ziti.c#L208
'config' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux x86_64: library/ziti.c#L208
'controller' is deprecated: ignored, will be removed [-Wdeprecated-declarations]
Linux ARM64
openssl currently requires the following library from the system package
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
passing argument 1 of 'c->own_key->free' from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64
initialization from incompatible pointer type [-Wincompatible-pointer-types]
Linux ARM64: library/ziti_enroll.c#L109
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]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types passing 'struct priv_key_s *' to parameter of type 'struct tlsuv_private_key_s *' [-Wincompatible-pointer-types]
MacOS arm64
incompatible pointer types initializing 'struct priv_key_s *' with an expression of type 'tlsuv_private_key_t' (aka 'struct tlsuv_private_key_s *') [-Wincompatible-pointer-types]
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#L109
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 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
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct openssl_ctx *' with an expression of type 'tls_context *' (aka 'struct tls_context_s *') [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types passing 'struct priv_key_s *' to parameter of type 'struct tlsuv_private_key_s *' [-Wincompatible-pointer-types]
MacOS x86_64
incompatible pointer types initializing 'struct priv_key_s *' with an expression of type 'tlsuv_private_key_t' (aka 'struct tlsuv_private_key_s *') [-Wincompatible-pointer-types]
MacOS x86_64: library/ziti_enroll.c#L109
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]
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#L1203
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#L1203
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#L845
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 x86_64: library/ziti_ctrl.c#L182
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows x86_64: library/ziti_enroll.c#L218
potentially uninitialized local variable 'tls' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
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#L1203
potentially uninitialized local variable 'service_name' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/zitilib.c#L1203
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#L845
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]
Windows ARM64: library/ziti_ctrl.c#L182
assignment within conditional expression [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]
Windows ARM64: library/ziti_enroll.c#L218
potentially uninitialized local variable 'tls' used [D:\a\ziti-sdk-c\ziti-sdk-c\build\library\ziti.vcxproj]

Artifacts

Produced during runtime
Name Size
ziti-prox-c-linux-arm Expired
2.29 MB
ziti-prox-c-linux-arm64 Expired
2.33 MB
ziti-prox-c-linux-x64 Expired
2.83 MB
ziti-prox-c-macOS-arm64 Expired
1.78 MB
ziti-prox-c-macOS-x64 Expired
1.98 MB
ziti-sdk-linux-arm Expired
3.23 MB
ziti-sdk-linux-arm64 Expired
3.35 MB
ziti-sdk-linux-x64 Expired
3.85 MB
ziti-sdk-macOS-arm64 Expired
2.49 MB
ziti-sdk-macOS-x64 Expired
2.67 MB