Skip to content

Use std::string_view as key for collection::Collection #1134

Use std::string_view as key for collection::Collection

Use std::string_view as key for collection::Collection #1134

Triggered via push October 23, 2024 17:38
Status Failure
Total duration 25m 47s
Artifacts

ci.yml

on: push
Matrix: build-linux
Matrix: build-macos
Matrix: build-windows
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 76 warnings
Windows (x64, with lmdb): src/request_body_processor/multipart.cc#L762
'initializing': cannot convert from 'const char [20]' to 'const modsecurity::RequestBodyProcessor::Multipart::process_part_header::header_name_type' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, with lmdb): src/request_body_processor/multipart.cc#L762
expression did not evaluate to a constant [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, with lmdb)
Process completed with exit code 1.
macOS (with pcre2)
Process completed with exit code 2.
macOS (wo maxmind)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (wo ssdeep)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (wo libxml)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (wo lua)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (wo geoip)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (wo curl)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
Windows (x64, wo libxml)
The job was canceled because "windows-2022_x64_x86_64_6" failed.
Windows (x64, wo libxml): src/request_body_processor/multipart.cc#L762
'initializing': cannot convert from 'const char [20]' to 'const modsecurity::RequestBodyProcessor::Multipart::process_part_header::header_name_type' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo libxml): src/request_body_processor/multipart.cc#L762
expression did not evaluate to a constant [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo libxml)
The operation was canceled.
Windows (x64, wo lua)
The job was canceled because "windows-2022_x64_x86_64_6" failed.
Windows (x64, wo lua): src/request_body_processor/multipart.cc#L762
'initializing': cannot convert from 'const char [20]' to 'const modsecurity::RequestBodyProcessor::Multipart::process_part_header::header_name_type' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo lua): src/request_body_processor/multipart.cc#L762
expression did not evaluate to a constant [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo lua)
The operation was canceled.
Windows (x64, full)
The job was canceled because "windows-2022_x64_x86_64_6" failed.
Windows (x64, full): src/request_body_processor/multipart.cc#L762
'initializing': cannot convert from 'const char [20]' to 'const modsecurity::RequestBodyProcessor::Multipart::process_part_header::header_name_type' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, full): src/request_body_processor/multipart.cc#L762
expression did not evaluate to a constant [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, full)
The operation was canceled.
Windows (x64, wo maxmind)
The job was canceled because "windows-2022_x64_x86_64_6" failed.
Windows (x64, wo maxmind): src/request_body_processor/multipart.cc#L762
'initializing': cannot convert from 'const char [20]' to 'const modsecurity::RequestBodyProcessor::Multipart::process_part_header::header_name_type' [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo maxmind): src/request_body_processor/multipart.cc#L762
expression did not evaluate to a constant [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo maxmind)
The operation was canceled.
macOS (with parser generation)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (with parser generation)
The operation was canceled.
macOS (with lmdb)
The job was canceled because "macos-14_with_pcre2_--wit" failed.
macOS (with lmdb)
The operation was canceled.
Windows (x64, wo curl)
The job was canceled because "windows-2022_x64_x86_64_6" failed.
Windows (x64, wo curl)
The operation was canceled.
Linux (x32, clang, wo curl)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, clang, with lmdb)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, clang, wo lua)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, gcc, wo libxml)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, wo libxml)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, wo libxml)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Linux (x32, gcc, wo maxmind)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, wo maxmind)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, wo maxmind)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Linux (x32, clang, with pcre2)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, gcc, with lmdb)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, with lmdb)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, with lmdb)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Linux (x32, clang, wo maxmind)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, gcc, wo lua)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, wo lua)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, wo lua)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Linux (x32, clang, wo libxml)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, gcc, wo curl)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, wo curl)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, wo curl)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Linux (x32, gcc, with pcre2)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, with pcre2)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, with pcre2)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Linux (x32, clang, with parser generation)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x32, gcc, with parser generation)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x32, gcc, with parser generation)
‘%x’ directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=]
Linux (x32, gcc, with parser generation)
‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
Windows (x64, with lmdb)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco282c6c5a57524\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, with lmdb)
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco282c6c5a57524\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, with lmdb)
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco282c6c5a57524\b\build\Net\Net.vcxproj]
Windows (x64, with lmdb)
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco282c6c5a57524\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
macOS (with pcre2)
geoip has been deprecated because it has an archived upstream repository! It will be disabled on 2024-12-12.
macOS (with pcre2)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Windows (x64, wo libxml)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\pocoa78b843e6cb5d\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo libxml)
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\pocoa78b843e6cb5d\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo libxml)
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\pocoa78b843e6cb5d\b\build\Net\Net.vcxproj]
Windows (x64, wo libxml)
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\pocoa78b843e6cb5d\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
Windows (x64, wo lua)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco0055b0a0e2be7\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo lua)
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco0055b0a0e2be7\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo lua)
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco0055b0a0e2be7\b\build\Net\Net.vcxproj]
Windows (x64, wo lua)
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco0055b0a0e2be7\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
Windows (x64, full)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco3670ca30610a6\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, full)
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco3670ca30610a6\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, full)
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco3670ca30610a6\b\build\Net\Net.vcxproj]
Windows (x64, full)
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco3670ca30610a6\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
Windows (x64, wo maxmind)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco42fd71ee6c1d6\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo maxmind)
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco42fd71ee6c1d6\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo maxmind)
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco42fd71ee6c1d6\b\build\Net\Net.vcxproj]
Windows (x64, wo maxmind)
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\poco42fd71ee6c1d6\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
macOS (with parser generation)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
macOS (with parser generation)
geoip has been deprecated because it has an archived upstream repository! It will be disabled on 2024-12-12.
macOS (with lmdb)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
macOS (with lmdb)
geoip has been deprecated because it has an archived upstream repository! It will be disabled on 2024-12-12.
Linux (x64, gcc, wo curl)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, gcc, wo lua)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Windows (x64, wo curl)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\pocobb0abc12bd25b\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo curl)
'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\pocobb0abc12bd25b\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, wo curl)
'argument': conversion from 'std::streamoff' to 'DWORD', possible loss of data [C:\Users\runneradmin\.conan2\p\b\pocobb0abc12bd25b\b\build\Net\Net.vcxproj]
Windows (x64, wo curl)
'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\runneradmin\.conan2\p\b\pocobb0abc12bd25b\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
Linux (x64, gcc, wo ssdeep)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, gcc, wo geoip)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, gcc, wo maxmind)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, gcc, with lmdb)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, gcc, with pcre2)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, clang, wo curl)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, wo lua)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, gcc, wo libxml)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]
Linux (x64, clang, wo libxml)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, wo maxmind)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, with lmdb)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, with pcre2)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, wo geoip)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, with parser generation)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, clang, wo ssdeep)
ISO C++11 does not allow conversion from string literal to 'const header_name_type' (aka 'char *const') [-Wwritable-strings]
Linux (x64, gcc, with parser generation)
ISO C++ forbids converting a string constant to ‘header_name_type’ {aka ‘char*’} [-Wwrite-strings]