Skip to content

Use std::string_view to return RegEx matches to avoid generating std:… #1049

Use std::string_view to return RegEx matches to avoid generating std:…

Use std::string_view to return RegEx matches to avoid generating std:… #1049

Triggered via push August 28, 2024 13:06
Status Failure
Total duration 44m 31s
Artifacts

ci.yml

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

Annotations

72 errors and 28 warnings
Linux (x32, clang, wo maxmind)
use of undeclared identifier 'VALID_HEX'; did you mean 'modsecurity::utils::string::VALID_HEX'?
Linux (x32, clang, wo maxmind)
Process completed with exit code 2.
Linux (x64, gcc, wo maxmind)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, wo libxml)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, wo lua)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, wo ssdeep)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, with lmdb)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, wo geoip)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, wo curl)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, wo geoip)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, wo lua)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, wo maxmind)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, wo curl)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, wo libxml)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, with pcre2)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, with parser generation)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, with parser generation)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, gcc, with parser generation)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, wo ssdeep)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, with pcre2)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x64, clang, with lmdb)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, with lmdb)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, with lmdb)
The operation was canceled.
Linux (x32, clang, wo curl)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, clang, wo curl)
A task was canceled.
Linux (x32, gcc, wo libxml)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, wo libxml)
The operation was canceled.
Linux (x32, clang, wo lua)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, clang, wo lua)
use of undeclared identifier 'VALID_HEX'; did you mean 'modsecurity::utils::string::VALID_HEX'?
Linux (x32, clang, wo lua)
The operation was canceled.
Linux (x32, clang, with parser generation)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, clang, with parser generation)
The operation was canceled.
Linux (x32, gcc, with pcre2)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, with pcre2)
The operation was canceled.
Linux (x32, gcc, wo maxmind)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, wo maxmind)
The operation was canceled.
Linux (x32, clang, with pcre2)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, wo lua)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, clang, with pcre2)
The operation was canceled.
Linux (x32, gcc, wo lua)
The operation was canceled.
Linux (x32, gcc, wo curl)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, gcc, wo curl)
The operation was canceled.
Linux (x32, clang, with lmdb)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, clang, with lmdb)
The operation was canceled.
Linux (x32, clang, wo libxml)
The job was canceled because "ubuntu-22_04_x32_i386__11" failed.
Linux (x32, clang, wo libxml)
The operation was canceled.
macOS (with lmdb)
use of undeclared identifier 'VALID_HEX'; did you mean 'modsecurity::utils::string::VALID_HEX'?
macOS (with lmdb)
Process completed with exit code 2.
macOS (wo maxmind)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (wo geoip)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (wo curl)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (wo ssdeep)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (wo lua)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (with pcre2)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (wo libxml)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (with parser generation)
The job was canceled because "macos-14_with_lmdb_--with" failed.
macOS (with parser generation)
The operation was canceled.
Windows (x64, wo lua): src/operators/pm.cc#L58
'VALID_HEX': identifier not found [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, wo lua)
Process completed with exit code 1.
Windows (x64, wo maxmind)
The job was canceled because "windows-2022_x64_x86_64_3" failed.
Windows (x64, wo maxmind)
The operation was canceled.
Windows (x64, with lmdb)
The job was canceled because "windows-2022_x64_x86_64_3" failed.
Windows (x64, with lmdb): src/operators/pm.cc#L58
'VALID_HEX': identifier not found [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, with lmdb)
The operation was canceled.
Windows (x64, full)
The job was canceled because "windows-2022_x64_x86_64_3" failed.
Windows (x64, full): src/operators/pm.cc#L58
'VALID_HEX': identifier not found [D:\a\ModSecurity\ModSecurity\build\win32\build\libModSecurity.vcxproj]
Windows (x64, full)
The operation was canceled.
Windows (x64, wo curl)
The job was canceled because "windows-2022_x64_x86_64_3" failed.
Windows (x64, wo curl)
The operation was canceled.
Windows (x64, wo libxml)
The job was canceled because "windows-2022_x64_x86_64_3" failed.
Windows (x64, wo libxml)
The operation was canceled.
cppcheck
Process completed with exit code 2.
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, 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=]
macOS (with lmdb)
geoip has been deprecated because it has an archived upstream repository! It will be disabled on 2024-12-12.
macOS (with parser generation)
geoip has been deprecated because it has an archived upstream repository! It will be disabled on 2024-12-12.
Windows (x64, wo lua)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco5023546b761dc\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\poco5023546b761dc\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\poco5023546b761dc\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\poco5023546b761dc\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\poco0ea0e4223c365\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\poco0ea0e4223c365\b\build\Data\PostgreSQL\DataPostgreSQL.vcxproj]
Windows (x64, with lmdb)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco41b7796049f97\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\poco41b7796049f97\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\poco41b7796049f97\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\poco41b7796049f97\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\poco63c8aae031bcf\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\poco63c8aae031bcf\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\poco63c8aae031bcf\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\poco63c8aae031bcf\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
Windows (x64, wo curl)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\pocod247d82bcbe08\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\pocod247d82bcbe08\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\pocod247d82bcbe08\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\pocod247d82bcbe08\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]
Windows (x64, wo libxml)
'=': conversion from 'Poco::Int64' to 'long', possible loss of data [C:\Users\runneradmin\.conan2\p\b\poco31b57843c4878\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\poco31b57843c4878\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\poco31b57843c4878\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\poco31b57843c4878\b\build\NetSSL_OpenSSL\NetSSL.vcxproj]